[Asterisk-Users] Dialling 9 for an outside line
richard
richardm at mhsoftware.co.uk
Sun Jan 2 10:03:13 MST 2005
C F wrote:
> You can do something like this:
> [directdial]
> ignorepat => 9
> exten => 9,1,Dial(Zap/1/)
> this will give the channel 1 on zap, it justs gives you the Dial tone
> on it and then you can dial.
> or you can do this:
> [localdial]
> ignorepat => 9
> exten => _9NXXXXXX,1,Dial(Zap/1/w${EXTEN:1})
> this will dial the seven digits entered by the caller on zap channel 1
> while droping the 9, and waiting half a second before starting to dial
> (needed for the dial tone).
Thanks for the reply, but for some reason, after entering both of the
above examples, I just get a congestion tone regardless of whether I
just dial 9 on it's own, or 9 and then a complete number.
Richard
More information about the asterisk-users
mailing list