Description: Vicidial - Goautodial Auto Dial not working in PRI Trunks, but manual dial works fine.
In vicidial or goautodial auto dial calls are not landing to agents while using PRI trunk , but manual call works
Workaround :
Option 1: Set the Correct callerid in campaing, ask your PRI vendor for the correct digits to be set as callerid for eg: last 4 digit of your PRI pilot no or last 8digit or last 10 digit or 11 digit.
Option 2:
Get the actual callerid of your PRI line
Use the below dialplan in carrier
exten => _9X.,1,Set(CALLERID(num)=Your Number)
exten => _9X.,n,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,n,Set(_Missing_CLID1=${CALLERID(all)})
exten => _9X.,n,Dial(${TRUNK}/${EXTEN:1},30,tToR)
exten => _9X.,n,Hangup()
also change the default dialplan under extensions.conf
exten => 8368,1,Playback(sip-silence)
exten => 8368,n,Set(CALLERID(all)=${Missing_CLID1})
exten => 8368,n,AGI(agi://127.0.0.1:4577/call_log)
exten => 8368,n,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----LB)
exten => 8368,n,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----LB)
exten => 8368,n,Hangup()
Credit to Pankaj post in goautodial
https://goautodial.org/boards/3/topics/9339?r=9584#message-9584