Just guessing but look for something like this.....
This is from an old config of mine...
[trunkint]
;
; International long distance through trunk
;
exten => _9011.,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _9011.,2,Congestion
[trunkld]
;
; Long distance context accessed through trunk
;
exten => _91NXXNXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91NXXNXXXXXX,2,Congestion
[trunklocal]
;
; Local seven-digit dialing accessed through trunk interface
;
exten => _9XXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _9XXXXXXX,2,Congestion
exten => _9480NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _9480NXXXXXX,2,Congestion
exten => _9602NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _9602NXXXXXX,2,Congestion
exten => _9623NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _9623NXXXXXX,2,Congestion
[trunktollfree]
;
; Long distance context accessed through trunk interface
;
exten => _91800NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91800NXXXXXX,2,Congestion
exten => _91888NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91888NXXXXXX,2,Congestion
exten => _91877NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91877NXXXXXX,2,Congestion
exten => _91866NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91866NXXXXXX,2,Congestion
[tofwdiax]
exten => _7.,1,SetCallerId,${FWDCIDNAME}
exten =>
_7.,2,Dial(IAX2/${FWDNUMBER}:${FWDPASSWORD}@iax2.fwdnet.net/${EXTEN:3},6
0,r)
exten => _7.,3,Congestion
Note that I had a context for _9XXXXXXX
That meant if 9 and some nubmer dial my variables there...
Check the WiKi at www.voip-info.org and you can see more on Dial Plan
Cheers,
Wiley
________________________________
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Michael Di
Martino
Sent: Thursday, April 14, 2005 2:48 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] dial plan
I have just inherited a Asterisk box which is configured as follows.
10 internal Sip Phones
3 Pots Lines
1 voip provider (SIP)
Call come in over the pots lines however Outbound goes out thru the VOIP
provider.
However looking at the configs I cannot figure out what controls how
call are sent out.
In other words where in the config files does it determine that all
outbound
calls go to the VoIP provider?
Thanks in advance.
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20050414/3820aa5b/attachment.htm