Hi guys
I have 2 sip carriers that require the following patterns:
Carrier 1: 01(10 digits)
Carrier 2: 52(10 digits)
My lists were uploaded using the pattern of carrier 1: [01(10 digits)] so in order to use carrier 2 I need some logic in the dial plan to replace the 01 by 52 but honestly I don't know how to do it.
could you help me with the instruction?
I use Dial Prefix with 8 or 9 to choose the carrier
Carrier 1
exten => _952X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _952X.,2,Dial(${SIPTRUNK}/${EXTEN:3},,tTor)
exten => _952X.,3,Hangup
Carrier 2
exten => _852X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _852X.,2,Dial(${SIPTRUNK_iVOICE}/${EXTEN:3},,tTor)
exten => _852X.,3,Hangup
Thanks