<div dir="ltr">will accounting module help here?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 6 Apr 2024 at 13:04, Prathibha B <<a href="mailto:prathibhab.tvm@gmail.com">prathibhab.tvm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div dir="auto">When will the dialog status be in unconfirmed state? I've checked it the initial state of the call before getting any response. It returns Early state if the state is trying. But never returns unconfirmed state.</div>
<div id="m_-8260705359295919981ms-outlook-mobile-signature" dir="auto">
<div><br>
</div>
Sent from <a href="https://aka.ms/AAb9ysg" target="_blank">Outlook for Android</a></div>
<hr style="display:inline-block;width:98%">
<div id="m_-8260705359295919981divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Prathibha B <<a href="mailto:prathibhab.tvm@gmail.com" target="_blank">prathibhab.tvm@gmail.com</a>><br>
<b>Sent:</b> Saturday, April 6, 2024 10:36:05 AM<br>
<b>To:</b> OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br>
<b>Subject:</b> Re: [OpenSIPS-Users] external applications</font>
<div> </div>
</div>
<div>
<div dir="ltr">PFA </div>
<br>
<div>
<div dir="ltr">On Sat, 6 Apr 2024 at 07:14, Prathibha B <<a href="mailto:prathibhab.tvm@gmail.com" target="_blank">prathibhab.tvm@gmail.com</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div dir="auto">If someone attempts to make a call and cancels it, I need to maintain a log of those calls for reporting purposes.</div>
<div id="m_-8260705359295919981x_m_-5865595619565204375ms-outlook-mobile-signature" dir="auto">
<div><br>
</div>
Sent from <a href="https://aka.ms/AAb9ysg" target="_blank">Outlook for Android</a></div>
<hr style="display:inline-block;width:98%">
<div id="m_-8260705359295919981x_m_-5865595619565204375divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Users <<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>> on
behalf of Ben Newlin <<a href="mailto:Ben.Newlin@genesys.com" target="_blank">Ben.Newlin@genesys.com</a>><br>
<b>Sent:</b> Friday, April 5, 2024 7:36:52 PM<br>
<b>To:</b> OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br>
<b>Subject:</b> Re: [OpenSIPS-Users] external applications</font>
<div> </div>
</div>
<div lang="EN-US">
<div>
<p><span style="font-size:11pt">If you are executing that as the first command in the main route block the dialog will not have been created yet. The $DLG_status variable is only valid after the dialog has been created either by a call to create_dialog or by
using another module that requires and auto-creates a dialog.</span></p>
<p><span style="font-size:11pt"> </span></p>
<p><span style="font-size:11pt">Additionally, $DLG_status is documented to only be available for sequential requests, and only after calling loose_route (or match_dialog or topology_hiding_match, I believe).</span></p>
<p><span style="font-size:11pt"> </span></p>
<p><span style="font-size:11pt"><a href="https://opensips.org/docs/modules/3.4.x/dialog.html#pv_DLG_status" target="_blank">https://opensips.org/docs/modules/3.4.x/dialog.html#pv_DLG_status</a></span></p>
<p><span style="font-size:11pt"><a href="https://opensips.org/docs/modules/3.4.x/dialog.html#func_create_dialog" target="_blank">https://opensips.org/docs/modules/3.4.x/dialog.html#func_create_dialog</a></span></p>
<p><span style="font-size:11pt"> </span></p>
<p><span style="font-size:11pt">I still don’t understand why you need some event to capture the start of the call. Even if you are not creating the dialog directly, your routing script has to have some sort of logic that is specific to a new call. Whatever
you are trying to “capture” can be captured there.</span></p>
<p><span style="font-size:11pt"> </span></p>
<p><span style="font-size:11pt">If you cannot identify the path a new call will take through your script, I don’t think anyone here will be able to help you much, at least not without the entire script.</span></p>
<p><span style="font-size:11pt"> </span></p>
<p><span style="font-size:11pt;font-family:Calibri,sans-serif;color:black">Ben Newlin</span><span style="font-size:11pt"></span></p>
<p><span style="font-size:11pt"> </span></p>
<div id="m_-8260705359295919981x_m_-5865595619565204375x_mail-editor-reference-message-container">
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p style="margin-bottom:12pt"><b><span style="font-size:12pt;color:black">From: </span>
</b><span style="font-size:12pt;color:black">Users <<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>> on behalf of Prathibha B <<a href="mailto:prathibhab.tvm@gmail.com" target="_blank">prathibhab.tvm@gmail.com</a>><br>
<b>Date: </b>Friday, April 5, 2024 at 3:42 AM<br>
<b>To: </b>OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br>
<b>Subject: </b>Re: [OpenSIPS-Users] external applications</span></p>
</div>
<div>
<div>
<div>
<table border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none">
<tbody>
<tr>
<td style="border:1pt solid rgb(182,0,0);background:white;padding:0.75pt">
<p><b><span style="font-size:12pt;font-family:Calibri,sans-serif;color:rgb(182,0,0)"> EXTERNAL EMAIL - Please use caution with links and attachments </span></b></p>
</td>
</tr>
</tbody>
</table>
</div>
<p><span style="font-size:12pt;font-family:Helvetica"> </span></p>
<div align="center" style="text-align:center"><span style="font-size:12pt;font-family:Helvetica">
<hr size="0" width="100%" align="center">
</span></div>
</div>
<p><span style="font-size:12pt">route {<br>
if($DLG_status == 1) <br>
xlog("UNCONFIRMED\n");</span></p>
<div>
<p><span style="font-size:12pt">}</span></p>
</div>
</div>
<p><span style="font-size:12pt"> </span></p>
<div>
<div>
<p><span style="font-size:12pt">On Fri, 5 Apr 2024 at 13:09, Prathibha B <<a href="mailto:prathibhab.tvm@gmail.com" target="_blank">prathibhab.tvm@gmail.com</a>> wrote:</span></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<p><span style="font-size:12pt">I am not getting $DLG_status = UNCONFORMED at the start of the call. Can someone help?</span></p>
</div>
<p><span style="font-size:12pt"> </span></p>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
<span>-- </span><br>
<div dir="ltr">
<div dir="ltr">
<div>Regards,</div>
<div>B.Prathibha<br>
</div>
</div>
</div>
</div>
</div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,</div><div>B.Prathibha<br></div></div></div>