Hello Everyone, I have a situation with a VICIdial cluster here. But first my Hardware and version details.
1 x Web+DB (Bare Metal)
3 x Asterisk Only (Bare Metal)
Installed with ViciBox v.9.0.3 iso (200630-2117)
VERSION: 2.14-783a
BUILD: 210103-0856
The client is running voice broadcast campaign currently. Uptil now, they have been using a single caller ID everyday with a unique voice recording. They have planned to use 5 different caller IDs with 5 different call back audios, but through a single campaign in automated mode. To put that in centext, here is the layout.
DID Numbers: 1111111111, 2222222222, 3333333333, 4444444444, 5555555555
Voice recordings: 1111111111.wav, 2222222222.wav, 3333333333.wav, 4444444444.wav, 5555555555.wav
The single campaign has to be setup in such a way that it chooses one of those 5 DIDs as caller ID on every specific call, And then it chooses the related Voice file as "Answering Machine Messege" and "Survey First Audio File"
Here is the progress I have made till now. My dialplan is here..
exten => _5555X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _5555X.,n,Gosub(pickCallerIDnum,cell${RAND(1,5)},1)
exten => _5555X.,n,Dial(sip/${EXTEN:4}@voip,55,o)
exten => _5555X.,n,Hangup()
[pickCallerIDnum]
exten => cell1,1,Set(CALLERID(num)=1111111111)
same => n,Return
exten => cell2,1,Set(CALLERID(num)=2222222222)
same => n,Return
exten => cell3,1,Set(CALLERID(num)=3333333333)
same => n,Return
exten => cell4,1,Set(CALLERID(num)=4444444444)
same => n,Return
exten => cell5,1,Set(CALLERID(num)=5555555555)
same => n,Return
I tried playing around with DYN variables with no luck. All suggestions are welcomed and greatly appreciated.