[asterisk-bugs] [Asterisk 0016382]: SIP OPTIONS qualify message forever
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Feb 11 05:44:39 CST 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16382
======================================================================
Reported By: lftsy
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16382
Category: Channels/chan_sip/General
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
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-02-11 05:44 CST
======================================================================
Summary: 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
======================================================================
----------------------------------------------------------------------
(0117985) lftsy (reporter) - 2010-02-11 05:44
https://issues.asterisk.org/view.php?id=16382#c117985
----------------------------------------------------------------------
And here is some gdb debug commands that I have found on
http://www.voip-info.org/tiki-index.php?page=Asterisk%20debugging
(SCREEN):root at pul-lav-vp-ast-03:[~]# gdb /usr/sbin/asterisk 3947
...
...
Reading symbols from /usr/lib/asterisk/modules/app_queue.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_queue.so
Reading symbols from /usr/lib/asterisk/modules/format_vox.so...done.
Loaded symbols for /usr/lib/asterisk/modules/format_vox.so
Reading symbols from /usr/lib/asterisk/modules/codec_alaw.so...done.
Loaded symbols for /usr/lib/asterisk/modules/codec_alaw.so
Reading symbols from /usr/lib/asterisk/modules/app_url.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_url.so
Reading symbols from /usr/lib/asterisk/modules/app_mp3.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_mp3.so
Reading symbols from /usr/lib/asterisk/modules/codec_ulaw.so...done.
Loaded symbols for /usr/lib/asterisk/modules/codec_ulaw.so
0x0000003addc0d2cb in read () from /lib64/libpthread.so.0
(gdb)
(gdb) bt
https://issues.asterisk.org/view.php?id=0 0x0000003addc0d2cb in read () from
/lib64/libpthread.so.0
https://issues.asterisk.org/view.php?id=1 0x00000000004b9ad0 in read_char
(el=0x1add0f10, cp=0x7fff0c034d8f "")
at read.c:298
https://issues.asterisk.org/view.php?id=2 0x00000000004b4a90 in el_getc
(el=0x1add0f10, cp=0x7fff0c034d8f "") at
read.c:350
https://issues.asterisk.org/view.php?id=3 0x00000000004b4ef0 in el_gets
(el=0x1add0f10, nread=0x7fff0c03536c) at
read.c:243
https://issues.asterisk.org/view.php?id=4 0x0000000000426fb9 in main
(argc=<value optimized out>, argv=0x1) at
asterisk.c:3212
(gdb)
Issue History
Date Modified Username Field Change
======================================================================
2010-02-11 05:44 lftsy Note Added: 0117985
======================================================================
More information about the asterisk-bugs
mailing list