[Asterisk-Users] ignorepat doesn't work

The Traveller traveler at xs4all.nl
Wed Jul 9 06:07:09 MST 2003


Hi bk,

On Wed, Jul 09, 2003 at 17:16:55 +0900, BK [address only for mailing lists] wrote:

> Hi
> 
> in order to keep the dial tone after pressing 9 for 'outside line' I 
> have this in my extensions.conf
> 
> [localpstn]
> ignorepat => 9
> exten => _9[123456789]XXXXXXX,1,Dial,${PSTN}/${EXTEN:1}
> exten => _9[123456789]XXXXXXX,2,Congestion
> 
> this is properly included in the handsets' context but the dial tone 
> disappears after pressing 9.
> 
> am I missing something?

I had the same problem here and discovered that "ignorepat" only works if
it's placed in the actual incoming context of your channels and not if
it's included from another context.  Not sure if this is a bug or a feature.
So, try placing the "ignorepat" in your handset-contexts instead.


    Grtz,

      Oliver



More information about the asterisk-users mailing list