Preferred SMSC Connection - pattern matching on number of digits. | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through October 31, 2007 ⬆ |
◄ ► |
Author | Message | |||
Frank Grygus New member Username: Fgrygus Post Number: 2 Registered: 08-2007 |
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 |
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 |
That did it! Thanks again Bryce. |