Custom caller ID per area code randomness

All installation and configuration problems and questions

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

Custom caller ID per area code randomness

Postby dspaan » Mon Nov 20, 2017 2:55 am

Hi Matt,

I have a question about this feature. The help text says:

CAMPAIGN CID AREACODES

If the System Setting for Areacode CIDs is enabled and the Campaign setting for Use Custom CallerID is set to AREACODE then you have the ability to define Areacode CIDs that will be used when outbound calling to leads in this specific campaign. You can add multiple callerIDs per areacode and you can activate and deactivate them each in real time. If more than one callerID is active for a specific areacode then the system will use the callerid that has been used the least number of times today. If no callerIDs are active for the areacode then the campaign CallerID or list override CallerID will be used. An areacode in this section can be from 2 to 5 digits in length, and if a shorter defined areacode overlaps with a longer areacode then the longer areacode will be used. For example, if the areacodes 31 and 312 are both defined and active for a campaign, then areacode 312 would be used for phone number 3125551212.


So if i set 2 CID's for 1 areacode and that a number in that area is dialed twice in one day it will use a different CID for each call.
But suppose that number is dialed once a day will this method use the same CID each day or will it be random?
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: Custom caller ID per area code randomness

Postby mflorell » Mon Nov 20, 2017 7:52 am

The counters reset every day, so it will most likely dial the same one first on the second day since there is no random generator on the query that pulls it.
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Custom caller ID per area code randomness

Postby dspaan » Mon Nov 20, 2017 8:43 am

Ah, that's a shame.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: Custom caller ID per area code randomness

Postby blackbird2306 » Mon Nov 20, 2017 5:25 pm

and another important thing to know. The "count" is only area code based not lead based. For example:
1st call: 718xxx area code1 - lead1 --> CID1 dialed (CID1 count 1)
2nd call: 718xxx area code1 -lead2 --> CID2 dialed (CID2 count 1)
but then:
3rd call: 718xxx area code1 - lead1 --> AGAIN CID1 dialed
and not what you would expect CID2, because it was CID1 for lead1 first time of call!!!

and next if you don't want the daily reset of the counter you should comment out the part in "bin\ADMIN_keepalive_ALL.pl" starting at line 1111:
Code: Select all
// $stmtA = "update vicidial_campaign_cid_areacodes SET call_count_today=0;";
// if($DBX){print STDERR "\n|$stmtA|\n";}
// $affected_rows = $dbhA->do($stmtA);
// if($DB){print STDERR "\n|$affected_rows vicidial_campaign_cid_areacodes call counts reset|\n";}
// if ($teodDB) {$event_string = "vicidial_campaign_cid_areacodes records reset: $affected_rows";   &teod_logger;}
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
blackbird2306
 
Posts: 409
Joined: Mon Jun 23, 2014 5:31 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot] and 90 guests