dial rules guessing

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
raulbmjr
Posts: 3
Joined: Wed Mar 19, 2008 1:02 am

dial rules guessing

Post by raulbmjr »

1. Brekeke Product Name and version: 2.1.6.6

2. Java version:

3. OS type and the version: windows xp

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

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

6. Your problem:

How can I call to different sip provider if call originates from the following example:

Any calls starting 1xxxxxx -> should route to 202.163.211.23

Any calls starting 6xxxxxx -> should route to 203.170.89.5

I'm having problem on the following rules with an error "404 not found"

[Matching Patterns]
$request=^INVITE
To=sip:(1.+)@
To=sip:(6.+)@

[Deploy Patterns]
To=sip:%1@202.163.211.23
To=sip:%2@203.170.89.5

Would appreciate so much your advise!!!
jelly
Posts: 62
Joined: Wed Jun 20, 2007 9:54 am

Post by jelly »

Try to use two dial plans with different priority.

----------------------------------------------
[Matching Patterns]
$request=^INVITE
To=sip:(1.+)@


[Deploy Patterns]
To=sip:%1@202.163.211.23

-----------------------------------------------
[Matching Patterns]
$request=^INVITE
To=sip:(6.+)@

[Deploy Patterns]
To=sip:%1@203.170.89.5
Post Reply