[asterisk-bugs] [Asterisk 0016382]: [patch] SIP OPTIONS qualify message forever

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Oct 14 08:54:43 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16382 
====================================================================== 
Reported By:                lftsy
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   16382
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Target Version:             1.4.38
Asterisk Version:           SVN 
JIRA:                       SWP-478 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-12-03 10:04 CST
Last Modified:              2010-10-14 08:54 CDT
====================================================================== 
Summary:                    [patch] SIP OPTIONS qualify message forever
Description: 
Hello, I have a trouble with different Asterisk versions (1.4.26, 1.4.27,
1.4.27.1). When I use the steps below, Asterisk starts to send SIP OPTIONS
to the previous IP/port used by a SIP realtime peer (that has been pruned)
and will keep trying to send SIP OPTIONS pings forever, event if the peer
is connected with a new IP/port address.

I have just checked with my old Asterisk 1.2.27 with the same sip.conf and
I do not have the problem, the SIP OPTIONS stops once register timer has
expired.

During my experience to reproduce the bug, I have been able to have 10
IP/port currently pinged by the Asterisk server for one single peer.
And the only way to stop it is to restart Asterisk...

Thank you for your attention!
Marc Leurent
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0016764 Sip Channels Colapse
related to          0015716 [patch] chan_sip fails to destroy chann...
related to          0015627 [patch] Asterisk runs out of sockets
related to          0017643 [patch] dialplan reload deadlocks in as...
related to          0017779 [patch] tcptls.c:350 Unable to connect ...
====================================================================== 

---------------------------------------------------------------------- 
 (0128018) zerohalo (reporter) - 2010-10-14 08:54
 https://issues.asterisk.org/view.php?id=16382#c128018 
---------------------------------------------------------------------- 
No joy:

Core was generated by `asterisk -g'.
Program terminated with signal 11, Segmentation fault.
https://issues.asterisk.org/view.php?id=0  0x00d453a9 in
__ast_pthread_mutex_lock (filename=0xda2bf4
"chan_sip.c", lineno=8598, func=0xda85bc "sip_poke_peer_s",
    mutex_name=0xda85cc "&(foundpeer)->_lock", t=0x5c) at
/usr/src/asterisk/asterisk-1.4.37-rc1/include/asterisk/lock.h:360
360             int canlog = strcmp(filename, "logger.c") & t->track;
https://issues.asterisk.org/view.php?id=0  0x00d453a9 in
__ast_pthread_mutex_lock (filename=0xda2bf4
"chan_sip.c", lineno=8598, func=0xda85bc "sip_poke_peer_s",
    mutex_name=0xda85cc "&(foundpeer)->_lock", t=0x5c) at
/usr/src/asterisk/asterisk-1.4.37-rc1/include/asterisk/lock.h:360
https://issues.asterisk.org/view.php?id=1  0x00d65752 in sip_poke_peer_s
(data=0x9786e40) at chan_sip.c:8598
https://issues.asterisk.org/view.php?id=2  0x0810f8d3 in ast_sched_runq
(con=0x96a0500) at sched.c:363
https://issues.asterisk.org/view.php?id=3  0x00d92993 in do_monitor (data=0x0)
at chan_sip.c:17405
https://issues.asterisk.org/view.php?id=4  0x081214b2 in dummy_start
(data=0x96a0050) at utils.c:856
https://issues.asterisk.org/view.php?id=5  0x00952832 in start_thread () from
/lib/libpthread.so.0
https://issues.asterisk.org/view.php?id=6  0x0033be0e in clone () from
/lib/libc.so.6 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-14 08:54 zerohalo       Note Added: 0128018                          
======================================================================




More information about the asterisk-bugs mailing list