Caller ID

All installation and configuration problems and questions

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

Caller ID

Postby chasejordan1 » Tue Mar 25, 2014 11:16 am

I have 12 different campaigns and we change the caller ID every few hours, but it is a very daunting task, is there a way I can change the caller ID with a MySQL command, say one command for all active campaigns or something.
chasejordan1
 
Posts: 182
Joined: Fri Mar 07, 2008 11:57 am

Re: Caller ID

Postby chasejordan1 » Tue Mar 25, 2014 11:39 am

Ok so here is my "fix" if there is a better way please let me know, also the caller ID's are real Caller ID's. (not the ones show)

00 8 * * * mysql asterisk -u cron -pxxxxxx -e "UPDATE vicidial_campaigns SET campaign_cid='666666669'"
30 8 * * * mysql asterisk -u cron -pxxxxxx -e "UPDATE vicidial_campaigns SET campaign_cid='666666667'"
00 9 * * * mysql asterisk -u cron -pxxxxxx -e "UPDATE vicidial_campaigns SET campaign_cid='666666664'"
chasejordan1
 
Posts: 182
Joined: Fri Mar 07, 2008 11:57 am

Re: Caller ID

Postby striker » Sat Mar 29, 2014 9:20 am

if all your campaigns uses same Carrier and dialplan then u can use the dialplan to have callerid set

sample
exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,2,Set(CALLERID(num)=yourcalleridnumber)
exten => _9X.,3,Dial(SIP/${EXTEN:4}@VOIPs,,TtoRr)
exten => _9X.,4,Hangup
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am


Return to Support

Who is online

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