[Asterisk-Users] route outgoing call

Julian J. M. julianjm at gmail.com
Tue Feb 22 01:45:03 MST 2005


http://www.voip-info.org/wiki-Asterisk+config+extensions.conf+sorting


On Tue, 22 Feb 2005 09:07:43 +0200, Altus Snyman <altus at stormcorp.co.za> wrote:
> Good day all
> I registered at a few sip server in different countries
> Now I want to route outgoing calls for that country threw that sip
> server and all the others there my own pstn,ZAP card.I already
> registered asterisk with them.
> How would my extensions.conf look.This is what I have but no matter what
> it still goes there my server.We dial 9+countrycode to get to that
> country.So on the pbx 0944... will go to the UK.
> Here is what I have.Please help me correct this
> 
> ignorepat => 0
> 
> ;----UK
> exten => _0944.,1,Dial(SIP/0${EXTEN:1}@mysipprovider-out,50)
> exten => _0944.,2,Congestion
> ;----USA
> .....
> .....
> ;--Germany
> .....
> .....
> ;--All other
> exten => _0.,1,Dial(Zap/1/${EXTEN:1})
> exten => _0.,2,Dial(Zap/2/${EXTEN:1})
> exten => _0.,3,Congestion
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list