I am having an issue with my dial plan. .
I have the following set as my dial plan entry under carriers
exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@voicenetwork-out,,tTo)
exten => _91XXXXXXXXXX,3,Hangup
exten => _91XXXXXXXXXX,1,Answer
exten => _91XXXXXXXXXX,2,Dial($9{TRUNKloop}/${EXTEN:1},,tTo)
exten => _91XXXXXXXXXX,3,Hangup
exten => _9011X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9011X.,2,Dial(SIP/${EXTEN:1}@voicenetwork-out,,tTo)
exten => _9011X.,3,Hangup
From the Agent Screen, When clicking on manual Dial, putting 011 as the Dial Code and 447547641304 as the number, i get connected without any issue.
However if i load it as a lead, the dialer will attempt to add a 1 in front of the number for some reason. Please take a look at the log below.
Asterisk Call Logs :
-- Executing [8600052@default:1] MeetMe("Local/8600052@default-bbc1,2", "8600052|F") in new stack
== Starting Local/8600052@default-bbc1,1 at default,91011447547641304,1 failed so falling back to exten 's'
== Starting Local/8600052@default-bbc1,1 at default,s,1 still failed so falling back to context 'default'
-- Sent into invalid extension 's' in context 'default' on Local/8600052@default-bbc1,1
-- Executing [i@default:1] Playback("Local/8600052@default-bbc1,1", "invalid") in new stack
Any help would be greatly appreciated.