Link to home
Start Free TrialLog in
Avatar of Yasir Arfat
Yasir ArfatFlag for Canada

asked on

Asterisk Dialing Plan

Hello We are using Vicidial version 2.6-381a with Asterisk 1.4.44-VICI, I am trying to set up my dialplan entry so we can call out from Canada to Irland and Trinidad, our current Dialplan allow us to call only witin north america but not outside,
Here I have the country and area codes that need to be called out from Canada
Irland 353-287-xxx-xxxx
Trinidad 868-788-xxxx

Here I have my Dailplan that i have made up to call out but no luck can someone please guide me correct dialplan please

exten => _9353NXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91868NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9353NXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@modulis-outbound2)
exten => _91868NXXXXXX,2,Dial(SIP/${EXTEN:1}@modulis-outbound2)
exten => _9353NXXXXXXXXX,3,Hangup
exten => _91868NXXXXXX,3,Hangup


Here is the call_log but no luck (last 4 digits of phone number being modified to xxxx)

[Nov 1 13:48:07] == Using SIP RTP CoS mark 5
[Nov 1 13:48:07] -- Executing [1868788xxxx@defaultlog:1] AGI("SIP/298-00017de5", "agi-NVA_recording.agi,BOTH------Y---Y---Y") in new stack
[Nov 1 13:48:07] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-NVA_recording.agi
[Nov 1 13:48:07] -- AGI Script Executing Application: (Monitor) Options: (wav,/var/spool/asterisk/monitor/MIX/20171101134807_298_1868788xxxx)
[Nov 1 13:48:07] -- <SIP/298-00017de5>AGI Script agi-NVA_recording.agi completed, returning 0
[Nov 1 13:48:07] -- Executing [1868788xxxx@defaultlog:2] Goto("SIP/298-00017de5", "default,1868788xxxx,1") in new stack
[Nov 1 13:48:07] -- Goto (default,1868788xxxx,1)
[Nov 1 13:48:07] -- Executing [1868788xxxx@default:1] Dial("SIP/298-00017de5", "SIP/1868788xxxx@nexco-outbound,,To") in new stack
[Nov 1 13:48:07] == Using SIP RTP CoS mark 5
[Nov 1 13:48:07] -- Called SIP/1868788xxxx@nexco-outbound
[Nov 1 13:48:07] -- SIP/nexco-outbound-00017de6 answered SIP/298-00017de5
[Nov 1 13:48:07] > 0x7f4ae821a087 -- Probation passed - setting RTP source address to 192.168.2.105:57068
[Nov 1 13:48:07] > 0x7f4ae80ca542 -- Probation passed - setting RTP source address to 65.39.174.166:15516
[Nov 1 13:48:37] -- Executing [h@default:1] AGI("SIP/298-00017de5", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----30-----30") in new stack
[Nov 1 13:48:37] -- <SIP/298-00017de5>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... -30-----30 completed, returning 0
[Nov 1 13:48:37] == Spawn extension (default, 1868788xxxx, 1) exited non-zero on 'SIP/298-00017de5'
ASKER CERTIFIED SOLUTION
Avatar of Yasir Arfat
Yasir Arfat
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial