[OpenSIPS-Users] BUG: Shutdown timeout

M.Khaled W Chehab kchehab at icucall.com
Fri Jul 19 14:47:58 CEST 2013


I checked the call capture for the  call that crashes my opensips and it was
due to:

 

The user send a second invite with the same URI  and  same call-ID in the
same second after  it  send  an ACK for  the 200 ok.

 How can I block the second invite in a call ,I tried to use    the below
function but  it didn't works please advice 

       if (has_totag()) {

 

       if (is_method("INVITE")) {

                                   if (t_check_trans()) {

                                   xlog("has to tag and t_check trans
t_relay---$ci \n");

                                   #t_relay();

                                   }

                                   xlog("INVITE  ---has to tag ---$ci\n");

                                   send_reply("403","Multi Invites");

                            exit;

                     }

 

Please advice

Regards

 

 

 

From: users-bounces at lists.opensips.org
[mailto:users-bounces at lists.opensips.org] On Behalf Of M.Khaled W Chehab
Sent: Friday, July 19, 2013 10:58 AM
To: users at lists.opensips.org
Subject: [OpenSIPS-Users] BUG: Shutdown timeout

 

Hello,

 

 

My opensips stops suddenly with the below error in log file, how to find and
fix this bug  

 

2013-07-18T21:28:41.301961+00:00 opensips opensips[14336]: ERROR:tm:t_check:
reply cannot be parsed

2013-07-18T21:33:37.056151+00:00 opensips opensips[14333]: --Debug Customer
IP:xx.xx.xx.xx-----Permission Denied for INVITE from
sip:213659236535 at xx.xx.xx.xx to sip:962776482222 at xx.xx.xx.xx
275579741-0-4233428028 at 62.190.146.31

2013-07-18T21:33:37.757086+00:00 opensips opensips[14323]: --Debug Customer
IP:xx.xx.xx.xx-----Permission Denied for INVITE from
sip:213659236535 at xx.xx.xx.xx to sip:962776482222 at xx.xx.xx.xx
161768799-0-1203493098 at 62.190.146.30

2013-07-18T22:21:50.702682+00:00 opensips opensips[14318]: --Debug Customer
IP:xx.xx.xx.xx-----Permission Denied for INVITE from
sip:213696613227 at xx.xx.xx.xx to sip:962776483333 at xx.xx.xx.xx
161798679-0-1206385818 at 62.190.146.30

2013-07-18T22:21:51.165865+00:00 opensips opensips[14320]: --Debug Customer
IP:xx.xx.xx.xx-----Permission Denied for INVITE from
sip:213696613227 at xx.xx.xx.xx to sip:962776483333 at xx.xx.xx.xx
275610902-0-4236321928 at 62.190.146.31

2013-07-18T22:22:48.351683+00:00 opensips opensips[14320]: --Debug Customer
IP:xx.xx.xx.xx-----Permission Denied for INVITE from
sip:213696613227 at xx.xx.xx.xx to sip:962776483333 at xx.xx.xx.xx
161799195-0-1206443498 at 62.190.146.30

2013-07-18T22:22:48.983005+00:00 opensips opensips[14344]: --Debug Customer
IP:xx.xx.xx.xx-----Permission Denied for INVITE from
sip:213696613227 at xx.xx.xx.xx to sip:962776483333 at xx.xx.xx.xx
275611430-0-4236379748 at 62.190.146.31

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 '162005786-0-1234838388 at 62.190.146.30' and tags
'sansay321252821rdb4676' '4089d96837c81bfcf1773f74421dd1cd'

2013-07-19T06:17:28.673757+00:00 opensips opensips[14309]:
CRITICAL:core:sig_alarm_abort: BUG - shutdown timeout triggered, dying...

 

 

Please advice

Regards

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130719/f953b34c/attachment-0001.htm>


More information about the Users mailing list