<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
<br>
On 12/15/11 1:32 AM, Gnaneshwar Gatla wrote:
<blockquote
cite="mid:B51808793DDBAC44B808544F56FE437C03BC44FDEE@MAILSTORE.ith.local"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have come across this behavior in
Kamailio 3.1.5 version.<o:p></o:p></p>
<p class="MsoNormal">The proxy is behind a Firewall and uses the
advertised IP to communicate to sipclients.<o:p></o:p></p>
<p class="MsoNormal">I have used the “dlg_match_mode”, as the
record_route_preset() does not include the DID during call
initiation.<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in">modparam("dialog",
"dlg_match_mode", 2)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m also using pua_dialoginfo to notify
users about the “Event:dialog”. I have used the attached patch
to make pua_dialog info aware of the dialog<o:p></o:p></p>
<p class="MsoNormal">I see that the dialog is being created, and
the pua_dialoginfo publishes with state “trying” and
“confirmed”. <o:p></o:p></p>
<p class="MsoNormal">When the call is cancelled/408 request is
generated, the pua_dialoginfo generates the xml with
state=terminated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But when the call is answered, the dialog
module updates the dialog to state=4, according to the
documentation mentioned below state=4 --> Terminated.</p>
</div>
</blockquote>
in which documentation says state=4 is terminated? The one for the
new dialog design? If yes, that is not yet implemented. In current
dialog module, the state=4 is CONFIRMED.<br>
<br>
I checked the logs and the bye is processed by the dialog module,
but there is no callback to pua_dialoginfo executed. You mention
above about a patch to pua_dialogninfo, but it is not attached, only
test.zip which has the debug logs. Can you send the patch or be sure
it does not break registering the callbacks for pua_dialoginfo?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote
cite="mid:B51808793DDBAC44B808544F56FE437C03BC44FDEE@MAILSTORE.ith.local"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal">I’m not aware of the event types that fires
the state to termination (I have not found the documentation
about events in the dialog module).<o:p></o:p></p>
<p class="MsoNormal">When a BYE is received to the same call,
the BYE is processed and the dialog is cleared from the
memory. But the pua_dialoginfo never gets the callback for the
termination and the xml is never updated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have attached a log for a call, please
find the attached document.<o:p></o:p></p>
<p class="MsoNormal">I have come across a documentation about
dialog module:<o:p></o:p></p>
<p class="MsoNormal"><a class="moz-txt-link-freetext" href="http://www.kamailio.org/dokuwiki/doku.php/modules-new-design:dialog-module-design">http://www.kamailio.org/dokuwiki/doku.php/modules-new-design:dialog-module-design</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards<o:p></o:p></p>
<p class="MsoNormal">Gnaneshwar<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
</body>
</html>