[asterisk-users] Possible bug (or feature?) in extension matching and parking feature

Sebastian Arcus shop at open-t.co.uk
Sun Feb 26 04:32:17 CST 2012


I wanted a custom extension to match miss-dialled numbers in my 
dialplan. I've included the following:

exten => _X.,1,Answer()
exten => 
_X.,n,Playback(extension_not_found_please_make_sure_you_dial_nine_in_front_of_external_numbers)
exten => _X.,n,Hangup()

However, this has the curious side effect of making the parking 
extensions (located at 700, 701-720 - as per defaults) invisible. For 
some reason Asterisk doesn't seem to include those extensions on an even 
footing with extensions in the local context when extensions matching, 
although they are included with "include => parkedcalls". I can't park 
calls by transferring them to 700, I can't reach calls parked with the 
one step dialling sequence (which continues to work) any more.

My understanding is the * would match the most specific extension first 
- but it would appear that this doesn't apply to parking extensions. All 
other extensions work fine when using the custom extension above.

I'm running Asterisk 10.1.2



More information about the asterisk-users mailing list