<div dir="ltr"><div>Khalid, this does not make sense to result in opensips crash. I guess the problem is something else. You need to enable crash dump and send backtrace of it.<br><br></div>Thank you.<br><br></div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Fri, Jul 19, 2013 at 2:47 PM, M.Khaled W Chehab <span dir="ltr">&lt;<a href="mailto:kchehab@icucall.com" target="_blank">kchehab@icucall.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="color:#1f497d">I checked the call </span><span style="color:#1f497d">capture for </span><span style="color:#1f497d">the </span><span style="color:#1f497d"> call that </span><span style="color:#1f497d">crashe</span><span style="color:#1f497d">s</span><span style="color:#1f497d"> my opensips and it was due to:<u></u><u></u></span></p>

<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">The user send a second</span><span style="color:#1f497d"> invite with the same URI </span><span style="color:#1f497d"> and  same call-ID in the same second</span><span style="color:#1f497d"> after  it  send </span><span style="color:#1f497d"> an ACK for  the 200 ok</span><span style="color:#1f497d">.</span><span style="color:#1f497d"><u></u><u></u></span></p>

<p class="MsoNormal"><span style="color:#1f497d"> </span><span style="color:#1f497d"> </span><span style="color:#1f497d">How can I block the second invite in a call ,I tr</span><span style="color:#1f497d">ied</span><span style="color:#1f497d"> to use </span><span style="color:#1f497d">   the below function but  it didn’t works please advice </span><span style="color:#1f497d"><u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">       if (has_totag()) {<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">       if (is_method(&quot;INVITE&quot;)) {<u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none">

<span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">                                   if (t_check_trans()) {<u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">                                   xlog(&quot;has to tag and t_check trans t_relay---$ci \n&quot;);<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">                                   #t_relay();<u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none">

<span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">                                   }<u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">                                   xlog(&quot;INVITE  ---has to tag ---$ci\n&quot;);<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">                                   send_reply(&quot;403&quot;,&quot;Multi Invites&quot;);<u></u><u></u></span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">                            exit;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;">                     }</span><span style="color:#1f497d"><u></u><u></u></span></p>

<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">Please advice<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">Regards<u></u><u></u></span></p>

<div class="im"><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>

<div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [mailto:<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>] <b>On Behalf Of </b>M.Khaled W Chehab<br>

<b>Sent:</b> Friday, July 19, 2013 10:58 AM<br><b>To:</b> <a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a><br><b>Subject:</b> [OpenSIPS-Users] BUG: Shutdown timeout<u></u><u></u></span></p>

</div></div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">Hello,<u></u><u></u></p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">

My opensips stops suddenly with the below error in log file, how to find and fix this bug  <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">2013-07-18T21:28:41.301961+00:00 opensips opensips[14336]: ERROR:tm:t_check: reply cannot be parsed<u></u><u></u></p>

<p class="MsoNormal">2013-07-18T21:33:37.056151+00:00 opensips opensips[14333]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from <a>sip:213659236535@xx.xx.xx.xx</a> to <a>sip:962776482222@xx.xx.xx.xx</a>  <a href="mailto:275579741-0-4233428028@62.190.146.31" target="_blank">275579741-0-4233428028@62.190.146.31</a><u></u><u></u></p>

<p class="MsoNormal">2013-07-18T21:33:37.757086+00:00 opensips opensips[14323]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from <a>sip:213659236535@xx.xx.xx.xx</a> to <a>sip:962776482222@xx.xx.xx.xx</a>  <a href="mailto:161768799-0-1203493098@62.190.146.30" target="_blank">161768799-0-1203493098@62.190.146.30</a><u></u><u></u></p>

<p class="MsoNormal">2013-07-18T22:21:50.702682+00:00 opensips opensips[14318]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from <a>sip:213696613227@xx.xx.xx.xx</a> to <a>sip:962776483333@xx.xx.xx.xx</a>  <a href="mailto:161798679-0-1206385818@62.190.146.30" target="_blank">161798679-0-1206385818@62.190.146.30</a><u></u><u></u></p>

<p class="MsoNormal">2013-07-18T22:21:51.165865+00:00 opensips opensips[14320]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from <a>sip:213696613227@xx.xx.xx.xx</a> to <a>sip:962776483333@xx.xx.xx.xx</a>  <a href="mailto:275610902-0-4236321928@62.190.146.31" target="_blank">275610902-0-4236321928@62.190.146.31</a><u></u><u></u></p>

<p class="MsoNormal">2013-07-18T22:22:48.351683+00:00 opensips opensips[14320]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from <a>sip:213696613227@xx.xx.xx.xx</a> to <a>sip:962776483333@xx.xx.xx.xx</a>  <a href="mailto:161799195-0-1206443498@62.190.146.30" target="_blank">161799195-0-1206443498@62.190.146.30</a><u></u><u></u></p>

<p class="MsoNormal">2013-07-18T22:22:48.983005+00:00 opensips opensips[14344]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from <a>sip:213696613227@xx.xx.xx.xx</a> to <a>sip:962776483333@xx.xx.xx.xx</a>  <a href="mailto:275611430-0-4236379748@62.190.146.31" target="_blank">275611430-0-4236379748@62.190.146.31</a><u></u><u></u></p>

<p class="MsoNormal">2013-07-19T06:16:26.873502+00:00 opensips opensips[14453]: CRITICAL:dialog:unref_dlg: bogus ref -1 with cnt 1 for dlg 0x7f93a95e8878 [4011:185119809] with clid &#39;<a href="mailto:162005786-0-1234838388@62.190.146.30" target="_blank">162005786-0-1234838388@62.190.146.30</a>&#39; and tags &#39;sansay321252821rdb4676&#39; &#39;4089d96837c81bfcf1773f74421dd1cd&#39;<u></u><u></u></p>

<p class="MsoNormal">2013-07-19T06:17:28.673757+00:00 opensips opensips[14309]: CRITICAL:core:sig_alarm_abort: BUG - shutdown timeout triggered, dying...<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">

<u></u> <u></u></p><p class="MsoNormal">Please advice<u></u><u></u></p><p class="MsoNormal">Regards<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div><br>_______________________________________________<br>


Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Mit freundlichen Grüßen</span></div><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Muhammad Shahzad</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">------------------------------</span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">-----</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">CISCO Rich Media Communication Specialist (CRMCS)</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">CISCO Certified Network Associate (CCNA)</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Cell: +49 176 99 83 10 85</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">MSN: </span><a href="mailto:shari_786pk@hotmail.com" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)" target="_blank">shari_786pk@hotmail.com</a><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Email: </span><a href="mailto:shaheryarkh@googlemail.com" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)" target="_blank">shaheryarkh@googlemail.com</a>
</div>