Complex "To" Matching Patterns

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
dstu
Posts: 72
Joined: Mon Feb 06, 2006 3:56 am

Complex "To" Matching Patterns

Post by dstu »

1. Brekeke Product Name and version:
SIP Server

2. Java version:
1.5.0_04

3. OS type and the version:
1.5.3.0/172

4. UA (phone), gateway or other hardware/software involved:

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :
5

6. Your problem:
Hello,

I need to create complex "To" patterns to include in a single line the following separate lines:

Code: Select all

To=sip:22222.{0,2}@
To=sip:23232.{0,2}@
To=sip:24242.{0,2}@
To=sip:25262.{0,2}@
To=sip:26262.{0,2}@
and

Code: Select all

To=sip:959(1866.{7})@
To=sip:959(1877.{7})@
To=sip:959(11866.{7})@
To=sip:959(11877.{7})@
Is that possible? If yes, can you please tell me how?

Thanks,

David
janP
Posts: 336
Joined: Sun Nov 25, 2007 2:55 pm

Post by janP »

You can write...
To=sip:22222.{0,2}@|To=sip:23232.{0,2}@|To=sip:24242.{0,2}@|To=sip:25262.{0,2}@|To=sip:26262.{0,2}@
Post Reply