Summary: | ASTERISK-05867: NoCDR() and agi->exec('SetAMAFlags', 'omit') used together cause Asterisk to crash | ||
Reporter: | unknown | Labels: | |
Date Opened: | 2005-12-18 18:34:08.000-0600 | Date Closed: | 2005-12-18 22:40:40.000-0600 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_agi |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Setting NoCDR() in an extension before sending a call to an AGI script with $agi->exec('SetAMAFlags', 'omit'); causes Asterisk to crash. I know I should have set one or the other and not both but an error like this should not completely crash asterisk. ****** ADDITIONAL INFORMATION ****** extensions.conf exten => _X.,1,NoCDR() exten => _X.,2,Agi(did.php) In did.php I have " $agi->exec('SetAMAFlags', 'omit'); " When a call goes through extensions.conf with agi debug enabled I get >AGI Rx << EXEC SetAMAFlags omit > -- AGI Script Executing Application: (SetAMAFlags) Options: (omit) >sip2*CLI> >Disconnected from Asterisk server >Executing last minute cleanups | ||
Comments: | By: Tilghman Lesher (tilghman) 2005-12-18 22:40:19.000-0600 Fixed in the 1.2 tree, merged to trunk. |