Random CID Not Working

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Random CID Not Working

Postby zenithbsolutions » Tue Aug 13, 2019 4:27 pm

Hi,

I have a vicidial standalone installation from vicibox 8.1.2 ISO

Vicidial Version
------------------------
VERSION: 2.14-711a
BUILD: 190607-1525
© 2019 ViciDial Group

Asterisk Version
------------------------
Asterisk 13.21.1

I have 10 DID numbers and need to set this series of 10 DID numbers as CIDs for outbound calling.

The dial plan set as shown below

exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,2,Set(Callerid(num)=${RAND(50005001,50005010)})
exten => _9X.,3,Dial(SIP/VOIP/${EXTEN:1},,Tto)
exten => _9X.,4,Hangup()

I have set the Campaign CID to one of the DID numbers.
Custom CallerID is set to N

But, when I try to dial an outbound call the CID is only showing the number that was assigned in the Campaign CID and its not displaying the random cids from the dial plan.

Kindly help me or guide me to resolve this issue.

Thank you.
zenithbsolutions
 
Posts: 95
Joined: Tue Aug 25, 2015 2:17 am

Re: Random CID Not Working

Postby ambiorixg12 » Tue Aug 13, 2019 8:59 pm

Set the Campaign CallerID option to blank and try
ambiorixg12
 
Posts: 220
Joined: Tue Sep 17, 2013 10:35 pm

Re: Random CID Not Working

Postby zenithbsolutions » Wed Aug 14, 2019 3:16 am

Hi,

If we set the Campaign Caller ID blank at the calle end it is showing the CID as : asterisk
zenithbsolutions
 
Posts: 95
Joined: Tue Aug 25, 2015 2:17 am

Re: Random CID Not Working

Postby Vince-0 » Wed Aug 14, 2019 4:56 pm

asterisk is the callerid(name) part, your rand dialplan maybe not being allowed by voip provider?
Vince-0
 
Posts: 264
Joined: Fri Mar 02, 2012 4:27 pm
Location: South Africa

Re: Random CID Not Working

Postby ambiorixg12 » Wed Aug 14, 2019 5:54 pm

zenithbsolutions wrote:Hi, If we set the Campaign Caller ID blank at the calle end it is showing the CID as : asterisk


I learned CID name it is used by VICIdial and it cant be changed, CID number can be changed, this is a working example

exten=>_1nxxnxxxxxx,1,Noop(catching the caller id ${CALLERID(num)})

same=>n,Set(cid=${RAND(50005001,50005010)})

same=>n,Set(CALLERID(num)=${cid})

same=>n,Dial(SIP/carriername/${EXTEN})
ambiorixg12
 
Posts: 220
Joined: Tue Sep 17, 2013 10:35 pm

Re: Random CID Not Working

Postby ghernandez » Thu Aug 15, 2019 2:37 pm

zenithbsolutions wrote:Hi,

I have a vicidial standalone installation from vicibox 8.1.2 ISO

Vicidial Version
------------------------
VERSION: 2.14-711a
BUILD: 190607-1525
© 2019 ViciDial Group

Asterisk Version
------------------------
Asterisk 13.21.1

I have 10 DID numbers and need to set this series of 10 DID numbers as CIDs for outbound calling.

The dial plan set as shown below

exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,2,Set(Callerid(num)=${RAND(50005001,50005010)})
exten => _9X.,3,Dial(SIP/VOIP/${EXTEN:1},,Tto)
exten => _9X.,4,Hangup()

I have set the Campaign CID to one of the DID numbers.
Custom CallerID is set to N

But, when I try to dial an outbound call the CID is only showing the number that was assigned in the Campaign CID and its not displaying the random cids from the dial plan.

Kindly help me or guide me to resolve this issue.

Thank you.






Here this layout will work for you. enjoy!!






exten => _2525X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _2525X.,n,Gosub(pickCallerIDnum,cell${RAND(1,3)},1)
exten => _2525X.,n,Dial(SIP/1${EXTEN:4}@ADDCARRIER,,tTo)
exten => _2525X.,n,Hangup

exten => XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => XXXXXXXXXX,2,Gosub(pickCallerIDnum,cell${RAND(1,3)},1)
exten => XXXXXXXXXX,3,Dial(SIP/1${EXTEN}@ADDCARRIER,,tTo)
exten => XXXXXXXXXX,4,Hangup



[pickCallerIDnum]

exten => cell1,1,Set(CALLERID(num)=Phone Number)
same => n,Return
exten => cell2,1,Set(CALLERID(num)=Phone Number)
same => n,Return
exten => cell3,1,Set(CALLERID(num)=Phone Number)
same => n,Return
ghernandez
 
Posts: 8
Joined: Thu Jul 04, 2019 7:01 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 24 guests