[Home]

Summary:ASTERISK-06986: Asterisk crashes in chan_h323 with a loop in dialpan
Reporter:Claus Holt Futtrup (clausf)Labels:
Date Opened:2006-05-17 02:03:41Date Closed:2006-05-18 14:43:14
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_h323
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) core_file.txt
Description:Able to crash asterisk when creating a loop in the dialplan as follows.

exten => _X.,1,Dial(H323/${EXTEN}@<IP OF THE SAME ASTERISK BOX>/${CALLERIDNUM})
exten => _X.,2,Hangup
exten => t,3,Hangup

The crash will occur within 3 minutes after starting the loop.

I've attach a transscript from gdb with the core file
Comments:By: Andrey S Pankov (casper) 2006-05-17 16:00:09

How many calls do you have when it crashes?
You may just get out of available resources...

By: Claus Holt Futtrup (clausf) 2006-05-17 16:37:17

could be, I'll check.. The amount calls is around 200..

By: Kevin P. Fleming (kpfleming) 2006-05-18 14:43:14

This is not a bug. There are tons of ways to crash Asterisk by doing silly things that shouldn't be expected to work, and this same method can be used over SIP, IAX2 and Zap (if you have enough channels).