[Asterisk-Users] route outgoing call

Altus Snyman altus at stormcorp.co.za
Tue Feb 22 00:07:43 MST 2005


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







More information about the asterisk-users mailing list