Hi,
How can I setup a custom dial plan in vicidial / asterisk?
For US I have a diplan entry as below.
exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@voip,,tTo)
exten => _91XXXXXXXXXX,3,Hangup
I can use it as
exten => _91X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91X.,2,Dial(SIP/${EXTEN:1}@voip,,tTo)
exten => _91X.,3,Hangup
where X. accepts any length of numbers.
I have seen some custom dial plans using (for US)
exten => _68681X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _68681X.,2,Dial(SIP/${EXTEN:1}@voip,,tTo)
exten => _68681X.,3,Hangup
or (for UK)
exten => _787844X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _787844X.,2,Dial(SIP/${EXTEN:1}@voip,,tTo)
exten => _787844X.,3,Hangup
Where 6868 is for US and 7878 is for UK which they customarily created and still successfully make the calls to US & UK.
How can I achieve it? Did they modified it in any asterisk config file and suggest me a sample config if possible. Thank you.