1. Brekeke Product Name and version: 1.5
2. Java version: 1.5
3. OS type and the version: Redhat Linux 9.0
4. UA (phone), gateway or other hardware/software involved: Quintum, X-lite
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html : 1
6. Your problem:
My X-lite register 9123 to OSS, and I have a hunt number 9x in Quintum Gateway. Therefore my dial plan in OSS is
Matching Patterns Deploy Patterns
$request = ^INVITE To=sip:9%1@xxx.xxx.xxx.xxx
$To= sip:9(.+)@
If I call 9123, the OSS cannot route the call to my x-lite. It will route the call to Quintum Gateway. Can OSS support longer match pattern? and How can I solve the issue? Please advise.
Thank you.
Dial Plan issue
Moderator: Brekeke Support Team
Hi
Use $registered in Matching Pattern.
If it returns "true", the UAS is registered.
Anyway.. OSS version 1.5 is super old version.
Try the latest Brekeke SIP Server.
http://www.brekeke.com/download/download_sip_2_0.php
Use $registered in Matching Pattern.
If it returns "true", the UAS is registered.
Anyway.. OSS version 1.5 is super old version.
Try the latest Brekeke SIP Server.
http://www.brekeke.com/download/download_sip_2_0.php
-
- Posts: 29
- Joined: Wed Sep 20, 2006 6:44 pm
HI,
Thank you for your suggestion. I tried the below dial plan:-
Matching Patterns
$request=^INVITE
$registered("9123")=true
Deploy Patterns
To=sip:9123@
If i put this Dial Plan in high Priority, then all the call will be routed to the x-lite, even if i call 9124, 9125 (seem the DINS will be changed to 9123 and routed to the dentination).
Thank you for your suggestion. I tried the below dial plan:-
Matching Patterns
$request=^INVITE
$registered("9123")=true
Deploy Patterns
To=sip:9123@
If i put this Dial Plan in high Priority, then all the call will be routed to the x-lite, even if i call 9124, 9125 (seem the DINS will be changed to 9123 and routed to the dentination).
think it simple..
let you try the dialplan below..
you don't need any other dialplan rules..
---------------------------------
Matching Patterns
$request = ^INVITE
$To= sip:9(.+)@
$registered = false
Deploy Patterns
To = sip:9%1@xxx.xxx.xxx.xxx (Gateway's IP address)
---------------------------------
if a dialed number is not registered, the call will be sent to the gateway.
let you try the dialplan below..
you don't need any other dialplan rules..
---------------------------------
Matching Patterns
$request = ^INVITE
$To= sip:9(.+)@
$registered = false
Deploy Patterns
To = sip:9%1@xxx.xxx.xxx.xxx (Gateway's IP address)
---------------------------------
if a dialed number is not registered, the call will be sent to the gateway.