<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.3 (Unix)">
        
        
        <style type="text/css">
        <!--
                @page { size: 8.5in 11in; margin: 0.79in }
                P { margin-bottom: 0.08in }
        -->
        </style>
<p style="margin-bottom: 0in;">Hello,</p>
<p style="margin-bottom: 0in;">
</p>
<p style="margin-bottom: 0in;">I am using OpenSIPs-1.5.1 version. And
I want to use DIALOG module functionality.<br>I have gone through the module
documentations, and did the configuration.<br>
</p>
<p style="margin-bottom: 0in;">When I make a call, the dialog should
be created and the dialog entry should be inserted into the database.
My call is <b>working</b> fine. I have tested with SIPp as well as with
Grandsteam phones.<br>But the <b>dialog details is not inserted
in my database</b>. Here in log I can see, that the dialog is created and
then <b>destroyed</b> as well. Again its created and destroyed.<br>
</p>
<p style="margin-bottom: 0in;">At the time of making a call, I have
started the wireshark, to see whether there is any error msg or not
!! (something 400 ...) But there also, no error.<br>
</p>
<p style="margin-bottom: 0in;">Can you please suggest me the solution
of this ?<br>
</p>
<p style="margin-bottom: 0in;">Below is my opensips.cfg file and
opensips Log details.</p>
<p style="margin-bottom: 0in;">
</p>
<p style="margin-bottom: 0in;">Opensips.cfg<br>****************</p>
<p style="margin-bottom: 0in;">
</p>
<p style="margin-bottom: 0in;">loadmodule "dialog.so"<br>modparam("dialog",
"dlg_flag",1 )<br>modparam("dialog",
"enable_stats", 1)<br>modparam("dialog",
"bye_on_timeout_flag", 6 )<br>modparam("dialog",
"dlg_match_mode", 1)<br>
</p>
<p style="margin-bottom: 0in;">modparam("dialog", "db_url",
"mysql://<a href="http://opensips:opensipsrw@127.0.0.1/opensips">opensips:opensipsrw@127.0.0.1/opensips</a>")<br>modparam("dialog",
"db_mode",1)<br>modparam("dialog",
"table_name", "dialog")<br>modparam("dialog",
"from_uri_column", "from_uri")<br>modparam("dialog",
"from_tag_column", "from_tag")<br>modparam("dialog",
"to_uri_column", "to_uri")<br>modparam("dialog",
"to_tag_column", "to_tag")<br>modparam("dialog",
"h_id_column", "hash_id")<br>modparam("dialog",
"state_column", "state")<br>
</p>
<p style="margin-bottom: 0in;">
</p>
<p style="margin-bottom: 0in;">route<br>{<br>if (is_method("INVITE"))<br>{<br>xdbg("\n\n----
Invite ----\n\n");<br>setflag(4);<br>if( (create_dialog()))<br>{<br>#
set_dlg_profile("caller");<br>xlog("L_INFO",
" ------------------------------------------\n");<br>xlog("L_INFO",
"\n Dialog status :: $DLG_status \n");<br>xlog("L_INFO",
"\n Dialog count :: $DLG_count \n");<br>xlog("L_INFO",
"\n---- successfully created the dialog ----\n\n");<br>xlog("L_INFO",
"\n------------------------------------------\n\n");<br>}
</p>
<br><p style="margin-bottom: 0in;"><br></p><p style="margin-bottom: 0in;">
</p>
<p style="margin-bottom: 0in;">
</p>
<p style="margin-bottom: 0in;">Opensips LOG<br>******************<br>Aug 24 12:58:57 [3590]
DBG:dialog:build_new_dlg: new dialog 0x2aaaad54d240
(c=<a href="mailto:f66285722c9082d6dda627f748f1d7c3@192.168.1.23">f66285722c9082d6dda627f748f1d7c3@192.168.1.23</a>,f=<a href="http://sip:10000@192.168.1.30:3300">sip:10000@192.168.1.30:3300</a>,t=<a href="http://sip:2222@192.168.1.30:3300">sip:2222@192.168.1.30:3300</a>,ft=66d7b491a6e6a760)
on hash 2315<br>Aug 24 12:58:57 [3590]
DBG:core:parse_headers: flags=400<br>Aug 24 12:58:57 [3590]
DBG:dialog:populate_leg_info: route_set , contact
<a href="http://sip:10000@192.168.1.23:5062">sip:10000@192.168.1.23:5062</a>, cseq 4182 andbind_addr
udp:<a href="http://192.168.1.30:3300">192.168.1.30:3300</a><br>Aug 24 12:58:57 [3590]
DBG:dialog:dlg_set_leg_info: set leg 0 for 0x2aaaad54d240:
tag=<66d7b491a6e6a760> rr=<> ct=<<a href="http://sip:10000@192.168.1.23:5062">sip:10000@192.168.1.23:5062</a>> cseq=<4182><br>Aug 24 12:58:57 [3590]
DBG:dialog:link_dlg: ref dlg 0x2aaaad54d240 with 3 -> 3<br>Aug 24 12:58:57 [3590]
DBG:rr:add_rr_param: adding (;did=b09.97872922) 0x7817f8<br>------------------------------------------
</p>
<p style="margin-bottom: 0in;"> Dialog status :: 1<br>Dialog count :: 0<br>---- successfully created the dialog
----<br>------------------------------------------
</p>
<p style="margin-bottom: 0in;">
</p>
<p style="margin-bottom: 0in;">
</p>
<p style="margin-bottom: 0in;">.
</p>
<p style="margin-bottom: 0in;">Aug 24 12:58:57 [3590]
DBG:core:forward_request: orig. len=1294, new_len=1442, proto=1<br>Aug 24 12:58:57 [3590]
DBG:dialog:unref_dlg: unref dlg 0x2aaaad54d240 with 1 -> 2<br>Aug 24 12:58:57 [3590]
DBG:dialog:next_state_dlg: unref dlg 0x2aaaad54d240 with 1 -> 1<br>Aug 24 12:58:57 [3590]
DBG:dialog:next_state_dlg: dialog 0x2aaaad54d240 changed from state 1
to state 5, due event 1<br>Aug 24 12:58:57 [3590]
DBG:dialog:dlg_onreply: dialog 0x2aaaad54d240 failed (negative reply)<br>Aug 24 12:58:57 [3590]
DBG:dialog:unref_dlg: unref dlg 0x2aaaad54d240 with 1 -> 0<br>Aug 24 12:58:57 [3590]
DBG:dialog:unref_dlg: ref <=0 for dialog 0x2aaaad54d240<br>Aug 24 12:58:57 [3590]
DBG:dialog:destroy_dlg: destroing dialog 0x2aaaad54d240<br>Aug 24 12:58:57 [3590]
DBG:dialog:destroy_dlg: dlg expired or not in list - dlg
0x2aaaad54d240 [2315:580024441] with clid
'<a href="mailto:f66285722c9082d6dda627f748f1d7c3@192.168.1.23">f66285722c9082d6dda627f748f1d7c3@192.168.1.23</a>' and tags
'66d7b491a6e6a760' ''
</p>
<p style="margin-bottom: 0in;">Thank you for your attention.</p><p style="margin-bottom: 0in;">-Urmi<br>
</p>
<p style="margin-bottom: 0in;"><br>
</p>