[asterisk-dev] Asterisk crash on Park with applicationmap

Alistair Cunningham acunningham at integrics.com
Fri May 5 04:52:32 MST 2006


Doug Lytle wrote:
> Alistair Cunningham wrote:
>> Asterisk 1.2.6 and 1.2.7.1 consistently crash if you have the 
>> following in features.conf:
>>
>> [general]
>> parkext => *7
>> parkpos => 701-799
>>
>> [applicationmap]
>> park_caller => **,callee,Park
>> park_called => **,caller,Park
>>
>> Then in a Perl FastAGI script do $agi->set_variable( 
>> '__DYNAMIC_FEATURES', 'park_caller#park_called' ); then have the 
>> caller press ** during the call. They hear the 701, then hang up, and 
>> Asterisk crashes within a second of them hanging up. I'm not sure if 
>> this is relevant or not:
>>
>> May  5 11:38:50 WARNING[12862]: pbx.c:2354 __ast_pbx_run: Channel 
>> 'SIP/212.248.181.59-0841ae38' sent into invalid extension '701' in 
>> context 'parkedcalls', but no invalid handler
> Your parkpos shows that it's in context general, not in parkedcalls.
> 
> Maybe an include needs to be added some place?
> 
> Doug

Doug,

You're right, I'm confusing two issues. We've also tried with this:

[general]
parkext => *7
parkpos => 701-799
context => parkedcalls

[applicationmap]
park_caller => **,callee,Park
park_called => **,caller,Park

which doesn't give the invalid extension, but does still crash Asterisk. 
The last few lines of the debug are the same, except for the lines 
quoted above.

We've tried a few more calls, and all crashed Asterisk except one which 
didn't crash Asterisk, but did block it to all new calls.



More information about the asterisk-dev mailing list