Change CallerID based on area code

All installation and configuration problems and questions

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

Change CallerID based on area code

Postby oach » Mon Jul 09, 2012 7:48 pm

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.
oach
 
Posts: 15
Joined: Mon Nov 15, 2010 5:52 pm

Re: Change CallerID based on area code

Postby williamconley » Mon Jul 09, 2012 11:29 pm

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Change CallerID based on area code

Postby oach » Tue Jul 10, 2012 9:08 am

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.
oach
 
Posts: 15
Joined: Mon Nov 15, 2010 5:52 pm

Re: Change CallerID based on area code

Postby williamconley » Tue Jul 10, 2012 6:36 pm

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. :)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 134 guests