[asterisk-users] Dialplan Priorities and Sort Order...
Alex Samad
alex at samad.com.au
Tue May 19 19:00:59 CDT 2009
On Tue, May 19, 2009 at 02:05:47PM -0400, M Hulber wrote:
> What you have here should work just fine except:
>
> exten => _1866NXXXXXX,1,Dial(ZAP/g1/${EXTEN}) -- note the change from n to 1.
>
> I also don't understand why you have an "Answer" after your Dial statements.
>
> I would do this:
Hi
I am new to asterisk and still trying to get head around dialplan. can
I clarify what is happening in this plan
in context general-outbound, you are including pri_outbound (all its
rules are placed at the bottom because its an include this its rules are
sorted bellow the rules in the context, similarly the order of include
is important)
Why do you use busy after the dial ?
>
>
> ; Outbound via POTS
> [general-outbound]
>
> include => pri_outbound
>
> exten => _1800NXXXXXX,1,Dial(ZAP/g1/${EXTEN})
> exten => _1800NXXXXXX,n,Busy
> exten => _1800NXXXXXX,n,Hangup
>
> exten => _1866NXXXXXX,1,Dial(ZAP/g1/${EXTEN})
> exten => _1866NXXXXXX,n,Busy
> exten => _1866NXXXXXX,n,Hangup
>
> exten => h,1,Hangup
>
> ; Outbound via PRI
> [pri_outbound]
> exten => _X.,1,Dial(ZAP/g0/${EXTEN})
> exten => _X.,n,Busy
> exten => _X.,n,Hangup
>
> exten => h,1,Hangup
>
> Tim Nelson wrote:
[snip]
--
The best you get is an even break.
-- Franklin Adams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20090520/3f7a4922/attachment.pgp
More information about the asterisk-users
mailing list