[Asterisk-Users] Dial Plan Sequencing
Andrew Thompson
asteriskuser at aktzero.com
Wed Nov 12 14:06:16 MST 2003
That is just beautiful...
Would you mind if it got into the wiki, or onto a webpage here or there?
-----
Andrew Thompson
----- Original Message -----
From: "Carlton J. O'Riley" <CORILEY at comcast.net>
To: <asterisk-users at lists.digium.com>
Sent: Wednesday, November 12, 2003 3:48 PM
Subject: RE: [Asterisk-Users] Dial Plan Sequencing
Here is what I have which uses IAXTEL for 800 calling and VOIP for long
distance with a fall back to my PSTN line. I don't have any issues as far
as 1800 numbers being grabbed before the long distance numbers. My internal
context is for all extensions inside the house, whereas the fax doesn't use
VOIP at all. Don't know if this will help or not:
[longdistance]
exten => _1NXXXXXXXXX,1,Dial(${VP_CONN}/${EXTEN}@voicepulseconn)
exten => _1NXXXXXXXXX,2,Dial(${OUTGOING}/${EXTEN})
exten => _1NXXXXXXXXX,3,Congestion
[longdistance-novoip]
exten => _1NXXXXXXXXX,1,Dial(${OUTGOING}/${EXTEN})
exten => _1NXXXXXXXXX,2,Congestion
[tollfree]
exten => _1800NXXXXXX,1,Dial(${IAXTEL}/${EXTEN}@iaxtel)
exten => _1800NXXXXXX,2,Dial(${OUTGOING}/${EXTEN})
exten => _1888NXXXXXX,1,Dial(${IAXTEL}/${EXTEN}@iaxtel)
exten => _1888NXXXXXX,2,Dial(${OUTGOING}/${EXTEN})
exten => _1877NXXXXXX,1,Dial(${IAXTEL}/${EXTEN}@iaxtel)
exten => _1877NXXXXXX,2,Dial(${OUTGOING}/${EXTEN})
exten => _1866NXXXXXX,1,Dial(${IAXTEL}/${EXTEN}@iaxtel)
exten => _1866NXXXXXX,2,Dial(${OUTGOING}/${EXTEN})
[tollfree-iax]
exten => _91800NXXXXXX,1,Dial(${IAXTEL}/${EXTEN:1}@iaxtel)
exten => _91888NXXXXXX,1,Dial(${IAXTEL}/${EXTEN:1}@iaxtel)
exten => _91877NXXXXXX,1,Dial(${IAXTEL}/${EXTEN:1}@iaxtel)
exten => _91866NXXXXXX,1,Dial(${IAXTEL}/${EXTEN:1}@iaxtel)
[local]
include => emergency
include => operator
include => info
exten => _703NXXXXXX,1,Dial(${OUTGOING}/${EXTEN})
exten => _202NXXXXXX,1,Dial(${OUTGOING}/${EXTEN})
exten => _301NXXXXXX,1,Dial(${OUTGOING}/${EXTEN})
exten => _571NXXXXXX,1,Dial(${OUTGOING}/${EXTEN})
[emergency]
exten => 911,1,Dial(${OUTGOING}/${EXTEN})
[operator]
exten => 0,1,Dial(${OUTGOING}/${EXTEN})
[info]
exten => 411,1,Dial(${OUTGOING}/${EXTEN})
[fax]
include => house
include => local
include => longdistance-novoip
include => international-novoip
[internal]
include => house
include => local
include => iaxtel
include => fwd-out
include => iconnect
include => tollfree
include => longdistance
include => international
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list