Re: [asterisk-users] Dialplan Priorities and Sort Order...

2009-05-21 Thread M Hulber
It is already a macro, not sure about passing an array of numbers. Alex Samad wrote: On Wed, May 20, 2009 at 03:16:34PM -0400, M Hulber wrote: Alex Samad wrote: On Tue, May 19, 2009 at 02:05:47PM -0400, M Hulber wrote: [snip] I left the busy after dial

Re: [asterisk-users] Dialplan Priorities and Sort Order...

2009-05-20 Thread M Hulber
Alex Samad wrote: On Tue, May 19, 2009 at 02:05:47PM -0400, M Hulber wrote: What you have here should work just fine except: exten = _1866NXX,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

Re: [asterisk-users] Dialplan Priorities and Sort Order...

2009-05-20 Thread Alex Samad
On Wed, May 20, 2009 at 03:16:34PM -0400, M Hulber wrote: Alex Samad wrote: On Tue, May 19, 2009 at 02:05:47PM -0400, M Hulber wrote: [snip] I left the busy after dial because this is what the original poster had. In this case, if the channel does not get hungup then the

[asterisk-users] Dialplan Priorities and Sort Order...

2009-05-19 Thread Tim Nelson
Greetings! I'm hoping someone can help me with what should be the most basic of problems. Essentially, I want to have certain calls on an Asterisk 1.2.25 (Yes I know its old, upgrade, etc... its on my roadmap) install go out a couple of analog lines and all other calls go out a PRI. The analog

Re: [asterisk-users] Dialplan Priorities and Sort Order...

2009-05-19 Thread Danny Nicholas
Of Tim Nelson Sent: Tuesday, May 19, 2009 10:38 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Dialplan Priorities and Sort Order... Greetings! I'm hoping someone can help me with what should be the most basic of problems. Essentially, I want to have certain

Re: [asterisk-users] Dialplan Priorities and Sort Order...

2009-05-19 Thread Martin
Can you clarify ? Do you want the calls first go through analogs and when they're all in use then through the PRI ? Is that why you're putting the priority 101 in the PRI context ? Martin On Tue, May 19, 2009 at 10:37 AM, Tim Nelson tnel...@rockbochs.com wrote: Greetings! I'm hoping someone

Re: [asterisk-users] Dialplan Priorities and Sort Order...

2009-05-19 Thread Danny Nicholas
: [asterisk-users] Dialplan Priorities and Sort Order... ok, if 18xx are to go through analog lines and the rest through PRI then it's simply exten = _18XXNXX,1,Dial(zap/g1/${EXTEN}) exten = _18XXNXX,n,Hangup exten = _1[2-79]XXNXX,1,Dial(zap/g0/${EXTEN}) exten = _1[2-79]XXNXX,n,Hangup

Re: [asterisk-users] Dialplan Priorities and Sort Order...

2009-05-19 Thread Tim Nelson
. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tim Nelson Sent: Tuesday, May 19, 2009 10:38 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Dialplan Priorities and Sort

Re: [asterisk-users] Dialplan Priorities and Sort Order...

2009-05-19 Thread Martin
-boun...@lists.digium.com] On Behalf Of Tim Nelson Sent: Tuesday, May 19, 2009 10:38 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Dialplan Priorities and Sort Order... Greetings! I'm hoping someone can help me with what should be the most basic

Re: [asterisk-users] Dialplan Priorities and Sort Order...

2009-05-19 Thread Tim Nelson
Only calls that match the digit map specified, 1800/1866/etc should go out analog(g1). All other calls should go out the PRI(g0). Thanks! --Tim - Martin asteriskl...@callthem.info wrote: Can you clarify ? Do you want the calls first go through analogs and when they're all in use then

Re: [asterisk-users] Dialplan Priorities and Sort Order...

2009-05-19 Thread Tim Nelson
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tim Nelson Sent: Tuesday, May 19, 2009 10:38 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Dialplan Priorities and Sort Order... Greetings! I'm hoping someone can help me with what

Re: [asterisk-users] Dialplan Priorities and Sort Order...

2009-05-19 Thread Jeff LaCoursiere
- Non-Commercial Discussion Subject: [asterisk-users] Dialplan Priorities and Sort Order... Greetings! I'm hoping someone can help me with what should be the most basic of problems. Essentially, I want to have certain calls on an Asterisk 1.2.25 (Yes I know its old, upgrade, etc... its on my

Re: [asterisk-users] Dialplan Priorities and Sort Order...

2009-05-19 Thread M Hulber
What you have here should work just fine except: exten = _1866NXX,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: ; Outbound via POTS [general-outbound] include = pri_outbound exten =

Re: [asterisk-users] Dialplan Priorities and Sort Order...

2009-05-19 Thread Alex Samad
On Tue, May 19, 2009 at 02:05:47PM -0400, M Hulber wrote: What you have here should work just fine except: exten = _1866NXX,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