Page 1 of 1

+1 and 1 DIDS both not working

PostPosted: Fri Nov 19, 2021 12:30 pm
by JagdeepSingh
hello everyone
pls help me any option in vicidial both working +1xxxxxxxxxx and 1xxxxxxxxxx DIDS same time

Re: +1 and 1 DIDS both not working

PostPosted: Sat Nov 20, 2021 1:20 am
by striker
i think the latest vicidial supports + character while creating DID under inbound .

make sure your trunkinbound context under extensions.conf should look like below


[trunkinbound]
; DID call routing process
; exten => _XXXXXXXXXX,1,AGI(agi-DID_route.agi) ; use this one instead of the one below if you are having delay issues, and match to number of received digits
exten => _X.,1,AGI(agi-DID_route.agi)
exten => _X.,n,Hangup()

; If you have DIDs that arrive with a plus sign at the beginning then uncomment
exten => _+X.,1,AGI(agi-DID_route.agi)
exten => _+X.,n,Hangup()



If you have DIDs that arrive with a plus and 1 at the beginning that you want to filter out, then uncomment
;exten => _+1X.,1,Goto(trunkinbound,${EXTEN:1},1)

Re: +1 and 1 DIDS both not working

PostPosted: Sat Nov 20, 2021 1:21 am
by striker
use any one these not both together. but +1X will take priority

; If you have DIDs that arrive with a plus sign at the beginning then uncomment
exten => _+X.,1,AGI(agi-DID_route.agi)
exten => _+X.,n,Hangup()


If you have DIDs that arrive with a plus and 1 at the beginning that you want to filter out, then uncomment
;exten => _+1X.,1,Goto(trunkinbound,${EXTEN:1},1)