Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Complex "To" Matching Patterns
Author Message
dstu
Brekeke Talented


Joined: 06 Feb 2006
Posts: 72

PostPosted: Thu Apr 24, 2008 4:23 am    Post subject: Complex "To" Matching Patterns Reply with quote

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/networkpatterns.html :
5

6. Your problem:
Hello,

I need to create complex "To" patterns to include in a single line the following separate lines:
Code:
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:

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
Back to top
View user's profile
janP
Brekeke Master Guru


Joined: 25 Nov 2007
Posts: 336

PostPosted: Thu Apr 24, 2008 3:32 pm    Post subject: Reply with quote

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}@
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1