01-08-2013 10:11 AM - edited 03-14-2019 11:05 AM
Hello All,
I am looking to do a script that takes the callerid of the inbound caller and routes it to 3 different groups (east, west, central) based on the area code the call is from.
Anyone have any samples i could look at?
I know i can get a list of area codes for each state on the web.
How would i do the reference in the script. Will it need to check a prebuilt database?
thanks!
Solved! Go to Solution.
01-10-2013 01:53 PM
Strange, the issue occurs on mine as well. No worries, simply change the line to:
"/AreaCodes/AreaCode[@area=" + AreaCode +]"
I tested it locally and it works fine.
HTH
Tanner
01-10-2013 01:57 PM
I just tried it bit when i click OK or apply after changing it i get this message
Unable to parse expression; Couldn't repair and continue parsing on token #RBRACKET "]" (line 1: col:42)
01-10-2013 02:00 PM
I figured it out. was missing a " in there after the AreaCode +
it looks like it works!!
thanks for the help. Now going to try different area codes as well
04-23-2013 03:59 AM
Hi,
I have tried creating the XML file as
When i type the line as
"/AreaCodes/AreaCode[@area=" + AreaCode +"]"
I get the error.
Can you please help?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide