[asterisk-bugs] [Asterisk 0018855]: Asterisk hangs when generating SIP calls with sipp

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 21 04:18:00 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18855 
====================================================================== 
Reported By:                nbhatti
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18855
Category:                   Core/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.16.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-02-21 03:59 CST
Last Modified:              2011-02-21 04:18 CST
====================================================================== 
Summary:                    Asterisk hangs when generating SIP calls with sipp
Description: 
Hello, I have the following specs:

=============
Linux voip 2.6.32-4-pve https://issues.asterisk.org/view.php?id=1 SMP Wed Dec 15
14:04:31 CET 2010 x86_64
GNU/Linux

# cat /etc/debian_version 
6.0

# ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 16382
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 19096
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) unlimited
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

=============

Asterisk 1.6.2.16.1
and also have tried with 1.8.2.3, both reported the same results.

Asterisk hangs when I try to generate calls with sipp. I am using simple
UAC testing with a max call limit of 20, sipp -sn uac -d 2000 -s 2005
192.168.1.100 -l 20. After a few seconds Asterisk simply hangs. (or if
there is any better word to describe the situation). In this state, it
won't accept any SIP calls, now core or sip command will work through CLI.
Even, core restart now won't result in any action. The only solution would
be a kill -9. I reproduced this many times same environment. My asterisk
configuration is very simple and minimal.

======================
cat sip_additional.conf 
[sipp]
type=friend
context=sipp
host=dynamic
port=6000
user=sipp
canreinvite=no
disallow=all
allow=ulaw

======================
cat extensions.conf 
[sipp]
exten => 2005,1,Answer
exten => 2005,2,SetMusicOnHold(default)
exten => 2005,3,WaitMusicOnHold(10)
exten => 2005,4,Hangup

======================
cat sip.conf 
[general]
context=from-sip-external
callerid=Unknown
notifyhold=yes
tos_sip=cs3
tos_audio=ef
tos_video=af41
alwaysauthreject=yes
useragent=MyAgent(1.0)
disallow=all
allow=g723
allow=g729
callevents=no
jbenable=no
maxexpiry=3600
defaultexpiry=120
minexpiry=60
allowguest=yes
srvlookup=no
registerattempts=0
registertimeout=6
g726nonstandard=no
t38pt_udptl=no
videosupport=no
maxcallbitrate=384
canreinvite=no
rtptimeout=7
notifyhold=yes
rtpkeepalive=0
notifyringing=yes
checkmwi=10
rtpholdtimeout=50
nat=yes
tcpenable=no
preferred_codec_only=yes
language=en

===============

If someone would like to login at the time of crash if this is not
reproducible on your machine, I am help with that as well. Let me know if
any more information is required.
====================================================================== 

---------------------------------------------------------------------- 
 (0132222) alecdavis (manager) - 2011-02-21 04:18
 https://issues.asterisk.org/view.php?id=18855#c132222 
---------------------------------------------------------------------- 
You'll need to recompile with the Compiler Flags DON'T_OPTIMIZE and
DEBUG_THREADS enabled from make menuselect.

Then once locked up from the CLI you shold be able enter 'core show
locks'

Pleae then submit the output as an attached text file. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-21 04:18 alecdavis      Note Added: 0132222                          
======================================================================




More information about the asterisk-bugs mailing list