cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
574
Views
0
Helpful
3
Replies

Script for Routing based on area code

ftsao49
Level 5
Level 5

Does anyone have a good script for routing based on area code, without using database dips? I have an IPCC Express enhanced installation and need to route calls to different extension based on area code. I tried to convert the collected calling num from a string to an integer so I can do some computations based on the number, but am getting an error when the string goes beyong 5 digits. So any ideas would be welcome.

3 Replies 3

adignan
Level 8
Level 8

The attached script will get the ANI, strip out the Area Code, and convert the Area Code to an integer. As for the routing portion, if you have access to the Java steps you will have access to the database steps and that will be the easiest way to route calls based on area code.

please rate posts.

andy -

Hi Andy,

Can you repost this script?

Thanks,

Doug

try this..

MAB

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: