[cisco-voip] need to route call base on there area code

James Grace jgrace at digitelusa.net
Mon Apr 3 15:25:29 EDT 2006


Thank you very much.

 

So what im trying to do is 

 

Get digits string  (we are asking for 10 digits ) to varable ten_dig_number 

Then

Set areacode(var) = ten_dig_number.substring(1,3)  

 

But the set step is not populating the areacode  

I guess my formula is wrong on the set areacode

 

 

  _____  

From: Hillman, David J. [mailto:DHillman at tsocorp.com] 
Sent: Monday, April 03, 2006 11:00 AM
To: James Grace; ask-icd-ivr-support at external.cisco.com
Subject: RE: need to route call base on there area code 

 

Here is a sample script.

 

  _____  

From: James Grace [mailto:jgrace at digitelusa.net] 
Sent: Sunday, April 02, 2006 12:04 AM
To: ask-icd-ivr-support at external.cisco.com
Subject: need to route call base on there area code 

Trying to create for if statement base on area code.  We are doing a get
digit string for the 10 digits.  And now I guess we need some type of set
statement to do something like take the first 3 # and set it to variable
areacode.  And then I will do a if statement at that point.  But im not sure
how to do the set statement 

 

James D. Grace 

CCNP CCNA MCSE MCDBA

Sr. System Engineer / Professional Svc.

Digitel Corporation

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/cisco-voip/attachments/20060403/3859e3bd/attachment.html 


More information about the cisco-voip mailing list