Avatar of Yasir Arfat
Yasir Arfat
Flag 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'
LinuxCiscoIP TelephonyVoice Over IPTelecommunications

Avatar of undefined
Last Comment
Yasir Arfat

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Yasir Arfat

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes