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
signature.asc
Description: Digital signature
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users