On Tue, 19 May 2009, Tim Nelson wrote:

Not all 18xx are to go out the analog lines on g1. Only, 1866 and 1800. The second part makes sense. Now do the two groups below continue to go into their own contexts and one included by the other or should they both go into the same context?

You would not need multiple contexts unless you want to exclude some phones from using one of the sets of lines.

Cheers,

j


--Tim

----- "Martin" <asteriskl...@callthem.info> wrote:
ok, if 18xx are to go through analog lines and the rest through PRI
then it's simply

exten => _18XXNXXXXXX,1,Dial(zap/g1/${EXTEN})
exten => _18XXNXXXXXX,n,Hangup

exten => _1[2-79]XXNXXXXXX,1,Dial(zap/g0/${EXTEN})
exten => _1[2-79]XXNXXXXXX,n,Hangup()

Martin

On Tue, May 19, 2009 at 11:00 AM, Danny Nicholas <da...@debsinc.com>
wrote:
> The first _1866 line should start a new segment of the dialplan.
 The way
> this should work is 1800 and 1866 go out on zap /g1; anything else
falls
> into zap/g0.
>
> -----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 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 roadmap) install go
out a
> couple of analog lines and all other calls go out a PRI. The analog
lines
> are setup in Zaptel group 1 and the PRI channels are in Zaptel group
0. Here
> is my relevant config:
>
> ; Outbound via POTS
> [general-outbound]
> exten => _1800NXXXXXX,1,Dial(ZAP/g1/${EXTEN})
> exten => _1800NXXXXXX,n,Answer
> exten => _1800NXXXXXX,n,Busy
> exten => _1800NXXXXXX,n,Hangup
> exten => _1866NXXXXXX,n,Dial(ZAP/g1/${EXTEN})
> exten => _1866NXXXXXX,n,Answer
> exten => _1866NXXXXXX,n,Busy
> exten => _1866NXXXXXX,n,Hangup
> include => pri_outbound
>
> ; Outbound via PRI
> [pri_outbound]
> exten => _X.,101,Dial(ZAP/g0/${EXTEN})
> exten => _X.,102,Answer
> exten => _X.,103,Busy
> exten => _X.,104,Hangup
>
> I certainly cannot be the only one who wants this sort of setup...
correct?
> Is it the way I'm including the other context, the dial patterns,
the
> priorities, etc? I'm not opposed to combining it into a single
context, I
> just started it out with this way. All hints are appreciated. (Pun
> intended.. :-) )
>
> --Tim
>
> _______________________________________________
> -- 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
>
>
> _______________________________________________
> -- 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
>

_______________________________________________
-- 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

_______________________________________________
-- 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
_______________________________________________
-- 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

Reply via email to