Author |
Message |
raulbmjr Brekeke Newbie
Joined: 19 Mar 2008 Posts: 3
|
Posted: Mon Mar 24, 2008 2:58 am Post subject: dial rules guessing |
|
|
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/networkpatterns.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!!! |
|
Back to top |
|
jelly Brekeke Talented
Joined: 20 Jun 2007 Posts: 62
|
Posted: Mon Mar 24, 2008 10:54 am Post subject: |
|
|
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
|
|
|
Back to top |
|
|