[Home]

Summary:ASTERISK-07805: Asterisk crahes and exits when attempting to extract IAX information from a SIP call.
Reporter:admott (admott)Labels:
Date Opened:2006-09-23 00:46:05Date Closed:2006-09-24 08:58:01
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Dialplan is as follows:

exten => _1XXX,1,Set(IPADDR=${IAXPEER(CURRENTCHANNEL)})
exten => _1XXX,2,DeadAGI(script.agi,${EXTEN},${IPADDR})

Dialing into this via a single SIP call causes Asterisk to totally crash and exit.  I can reproduce this bug consistenly and have seen it through several versions.

****** ADDITIONAL INFORMATION ******

This bug applies to Asterisk v1.2.12.1 and earlier code.
Comments:By: Jason Parker (jparker) 2006-09-23 01:32:59

Which line actually causes the crash?

By: admott (admott) 2006-09-23 10:04:01

My apologies.  I should have isolated... I replaced the DeadAGI command with a NoOp and it still died.  So it's clearly the Set operation that is causing the problem.

By: Russell Bryant (russell) 2006-09-24 08:58:01

Fixed in the 1.2 branch, 1,4 branch, and the trunk in revisions 43552, 43553, and 43554.

Thanks!