methodvon
2006-Jul-03 13:53 UTC
[Asterisk-Users] Trouble Setting Up International Dialing in extensions.conf
I am having trouble setting up international dialing. I have an asterisk server connected to a PRI at our collocation. I have this setup in my extensions.conf file, yet I still cannot get connected to international calls. [OUTBOUND] exten => _9011.,1,SetCIDNum(XXX-XXX-XXXX|a) exten => _9011.,2,SetCIDName("Some Company"|a) exten => _9011.,3,Dial(Zap/g1/${EXTEN:1},60) exten => _9011.,4,Playback(invalid) When I called the support line at my collocation, they mentioned that I am not setting the call type correctly in the D channel, but I am not real familiar with PRI lines. Where does this need to be setup. Also, I am not sure what this portion "${EXTEN:1}" means from my above extensions.conf file, is this the root cause? Any pointers or real world examples on how to get international dialing working in Asterisk would be much appreciated. Thanks Von
methodvon
2006-Jul-03 13:59 UTC
[Asterisk-Users] Trouble Setting Up International Dialing in extensions.conf
Also, This is the information that displays on the console: -- Accepting AUTHENTICATED call from XXX.XXX.XXX.XXX, requested format 4, actual format = 4 -- Executing SetCIDNum("IAX2/watson@watson/6", "XXX-XXX-XXXX|a") in new stack -- Executing SetCIDName("IAX2/watson@watson/6", ""SOME COMPANY"|a") in new stack -- Executing Dial("IAX2/watson@watson/6", "Zap/g1/01141227304888|60") in new stack -- Called g1/01141227304888 -- Channel 0/1, span 1 got hangup -- Hungup 'Zap/1-1' == No one is available to answer at this time I am having trouble setting up international dialing. I have an asterisk server connected to a PRI at our collocation. I have this setup in my extensions.conf file, yet I still cannot get connected to international calls. [OUTBOUND] exten => _9011.,1,SetCIDNum(XXX-XXX-XXXX|a) exten => _9011.,2,SetCIDName("Some Company"|a) exten => _9011.,3,Dial(Zap/g1/${EXTEN:1},60) exten => _9011.,4,Playback(invalid) When I called the support line at my collocation, they mentioned that I am not setting the call type correctly in the D channel, but I am not real familiar with PRI lines. Where does this need to be setup. Also, I am not sure what this portion "${EXTEN:1}" means from my above extensions.conf file, is this the root cause? Any pointers or real world examples on how to get international dialing working in Asterisk would be much appreciated. Thanks Von