Page 1 of 1

Change CallerID based on area code

PostPosted: Mon Jul 09, 2012 7:48 pm
by oach
Hi All,

I have found the following on the boards: viewtopic.php?t=6406. I am not a perl guy but can get by. I guess I don't understand the flow of the page and how it changes what the user will see on their phone. We have multiple area code changes that we want to implement and want to change that value based on location, so a particular area codes will be changed while others will be a default. A group of area codes for one metro area might be changed to a single area code close by. Hopefully this makes sense. But I need to know where in the script (http://download.vicidial.com/vicidial/t ... ve_CID.agi) mentioned on that page, I need to make the appropriate changes.

Going further, I don't understand how the script could take a list that isn't for one specific spot (FL) and use it across metro areas. For instance, Miami would go to one or more numbers, New York would do the same, while Cleveland would only have one number representing, while anything else would just be generic.

Thank you for your time and help.

Re: Change CallerID based on area code

PostPosted: Mon Jul 09, 2012 11:29 pm
by williamconley
1) Welcome to the party! 8-)

2) when you post, please post your entire configuration including (but not limited to) your installation method and vicidial version with build.

this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "from scratch" you must post your operating system and should also post the .iso version from which you installed your original operating system. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600

3)

Left Menu: Campaigns
(choose your campaign)
Top Menu: Detail
Top Menu again: AC-CID

If your version has that, you are good to go. Choose CID by area code. No PHP/PERL/AGI needed.

Re: Change CallerID based on area code

PostPosted: Tue Jul 10, 2012 9:08 am
by oach
Thank you for leading my towards the light.

We are using old versions of the software as we have our own layer built on top: VicidialNOW CE 1.3: Vicidial 2.0.5 1rc1, Asterisk 1.2.30.2 (http://vicidialnow.blogspot.com/2009/11 ... eased.html) across five servers (all HP G4p), no digium, no extra software (outside of what is bundled w/ VicidialNOW). Specs of a HP G4p: (2) Intel Xeon 3.6GHz CPUs 2MB L2 cache, 6GB ECC memory. These machines are dedicated machines that we have on site.

Please let me know if anything else is needed in order to aid in understanding our setup and solving the issue.

Re: Change CallerID based on area code

PostPosted: Tue Jul 10, 2012 6:36 pm
by williamconley
1) I've never used "that" method. We generally use a dialplan entry which checks with either an "onboard" berkeley database (in asterisk) or an agi script version. Either of these methods allows for a table to be created with Area Code/CID pairs that are then matched and set within the dialplan.

2) You'd likely do a LOT better to just upgrade. It's not that hard, really. Then you'd have this feature AND a bunch of others. :)