Preferred SMSC Connection - pattern matching on number of digits.

Preferred SMSC Connection - pattern matching on number of digits. SearchSearch
Author Message
Frank Grygus
New member
Username: Fgrygus

Post Number: 2
Registered: 08-2007
Posted on Tuesday, August 21, 2007 - 05:59 pm:   

Hi, how can I setup a "Preferred SMSC Connection for" route by number for digits using an expression variable or place holders for digits.

I have experience using the '%' sign in digit analysis and translation tables. So I am think of something like:
1) %10 will represent any 10 digit number.
2) 214%7 will represent any 10 digit number that starts with 214.
3) +1%10 will represent the RFC complient NAR number.

Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7450
Registered: 10-2002
Posted on Monday, September 10, 2007 - 10:51 pm:   

Hi Frank,

Apologies for the delay in response.

The pattern matching logic uses the ? character to match any one digit. * matches 0 or more digits.

So ...

1) ?????????? will represent any 10 digit number.
2) 214??????? will represent any 10 digit number that starts with 214.
3) +1?????????? will represent the RFC complient NAR number.
Frank Grygus
New member
Username: Fgrygus

Post Number: 5
Registered: 08-2007
Posted on Wednesday, September 12, 2007 - 04:31 pm:   

That did it! Thanks again Bryce.