<div dir="ltr">Thank you Daniel, everything is cleared now. <br></div><div class="gmail_extra"><br><div class="gmail_quote">On 9 November 2016 at 13:43, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>during the early state of a dialog (like trying, ringing, ...),
there can be many outgoing branches of the initial INVITE (think
about a call going to a user which has two sip phones registered
for same account). It's the reason dialog waits to see which
branch is responding from callee side.</p>
<p>Also, it's not mandatory that all 1xx responses have a Contact
header.</p>
<p>Anyhow, you can implement your own logic of storing dialog
attributes in a custom database table using sqlops module, doing
insert/update/delete at various events: initial invite, receiving
a 1xx response as well as for 2xx and 3xx+, cancel, bye ...</p>
<p>Cheers,<br>
Daniel<br>
</p><div><div class="h5">
<br>
<div class="m_220829467269678036moz-cite-prefix">On 09/11/16 05:51, Aqs Younas wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<p dir="ltr">Greetings list,<br>
I am using dialog aur dispatcher modules for calls distribution
across multiple gateways. I am able to get number of active
dialogs against a gateway but could not get early dialogs going
on particular gateway.</p>
<p dir="ltr">Dialog information is inserted in database only for
state 4. Also, I tried to use dlg_list command to get early
dialogs. I see call statistics but "callee_contact::" is empty
untill call is answered. </p>
<p dir="ltr">for ringing I am getting this. </p>
<p dir="ltr">root@debian:/usr/local/<wbr>kamailio/sbin# ./kamctl fifo
dlg_list<br>
dialog:: hash=3443:9422<br>
state:: 2<br>
ref_count:: 1<br>
timestart:: 0<br>
timeout:: 0<br>
callid:: GGjl58SQ32LXQB1dV2-CBA..<br>
from_uri:: <a class="m_220829467269678036moz-txt-link-freetext">sip:1015@192.168.10.39:5060;<wbr>transport=UDP</a><br>
from_tag:: 652ee907<br>
caller_contact::
<a class="m_220829467269678036moz-txt-link-freetext">sip:1015@192.168.10.41:55842;<wbr>transport=UDP</a><br>
caller_cseq:: 1<br>
caller_route_set::<br>
caller_bind_addr:: udp:<a href="http://192.168.10.39:5060" target="_blank">192.168.10.39:5060</a><br>
callee_bind_addr::<br>
to_uri:: <a class="m_220829467269678036moz-txt-link-freetext">sip:1010@192.168.10.39:5060;<wbr>transport=UDP</a><br>
to_tag::<br>
callee_contact::<br>
callee_cseq::<br>
callee_route_set::</p>
<p dir="ltr">callee_contact:: is empty. </p>
<p dir="ltr">Is there any way to get early dialog info againts a
gateway.? Or any way to insert early dialog into database with
callee_contact not empty?</p>
<p dir="ltr">Best Regards, <br>
Aqs Younas</p>
<br>
<fieldset class="m_220829467269678036mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="m_220829467269678036moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a class="m_220829467269678036moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre class="m_220829467269678036moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="m_220829467269678036moz-txt-link-freetext" href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a class="m_220829467269678036moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/<wbr>miconda</a>
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - <a class="m_220829467269678036moz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
</font></span></div>
<br>______________________________<wbr>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br></div>