[asterisk-bugs] [Asterisk 0018855]: Asterisk hangs when generating SIP calls with sipp
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Feb 21 07:40:18 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 07:40 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.
======================================================================
----------------------------------------------------------------------
(0132236) loloski (reporter) - 2011-02-21 07:40
https://issues.asterisk.org/view.php?id=18855#c132236
----------------------------------------------------------------------
[sipp]
exten => 9999,1,Progress
same => n,Ringing
same => n,Answer
same => n,MusicOnHold(default,10)
same => n,Hangup
Another interesting bit, if you include a class MusicOnHold(default,10)
the problem can also been observed, but omitting the class the problem is
gone.
Regards
Issue History
Date Modified Username Field Change
======================================================================
2011-02-21 07:40 loloski Note Added: 0132236
======================================================================
More information about the asterisk-bugs
mailing list