Help on dialplan manual + autodialing
Posted: Sun Sep 20, 2020 11:00 am
Hi guys im currently confused on my dialplan.
im trying to separate the auto dialing carrier and manual dialing carrier.
Trying to autodialing, the prefix on campaign is 9, so in asterisk I see the dial command is 9 which is correct,
but when im trying to manual dialing, it is still using the 9 prefix.
in manual dial form
dial code is 1
then the phone number 10 digits.
dial plan entry on TRUNKA:
;this is for manual dialing
exten => _1XXXXXXX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1XXXXXXX.,3,Dial(${TRUNKB}/1${EXTEN:1},,tTor)
exten => _1XXXXXXX.,4,Hangup
;this is for auto dialing with failover
exten => _91XXXXXXX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXX.,2,Dial(${TRUNKA}/1${EXTEN:2},,tTor)
exten => _91XXXXXXX.,3,Dial(${TRUNKB}/1${EXTEN:2},,tTor)
exten => _91XXXXXXX.,4,Hangup
dial plan entry is empty on TRUNKB
im trying to separate the auto dialing carrier and manual dialing carrier.
Trying to autodialing, the prefix on campaign is 9, so in asterisk I see the dial command is 9 which is correct,
but when im trying to manual dialing, it is still using the 9 prefix.
in manual dial form
dial code is 1
then the phone number 10 digits.
dial plan entry on TRUNKA:
;this is for manual dialing
exten => _1XXXXXXX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1XXXXXXX.,3,Dial(${TRUNKB}/1${EXTEN:1},,tTor)
exten => _1XXXXXXX.,4,Hangup
;this is for auto dialing with failover
exten => _91XXXXXXX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXX.,2,Dial(${TRUNKA}/1${EXTEN:2},,tTor)
exten => _91XXXXXXX.,3,Dial(${TRUNKB}/1${EXTEN:2},,tTor)
exten => _91XXXXXXX.,4,Hangup
dial plan entry is empty on TRUNKB