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}:[EMAIL PROTECTED]/${EXTEN:3},60,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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Di Martino
Sent: Thursday, April 14, 2005 2:48 PM
To: [email protected]
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
 


 

 
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to