1. Brekeke Product Name and version:
Brekeke SIP Server , Version 2.4.3.0
2. Java version:
6.11
3. OS type and the version:
windows server 2008
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:
I want to restrict a user with i.e. the number 8770123[1-9] to only dial to users that are in the same number range (ending at 1-9) or that equal the 6-digit number in between (so stripped from 8 and [1-9].
If the user selects any number outside this range it should be forwarded to a specific number i.e. 200 which will play an error message.
Can anyone help me setting up a proper dialplan ( I am not using the PBX version, only sip server basic) or point me to an example similar to my problem?
Dialplan restricted group of users
Moderator: Brekeke Support Team
dial plan 1
matching
$request = ^INVITE
From = sip:.[0-9]{6}[1-9]@
To = sip:(.[0-9]{6}[1-9])@
deploy:
To = sip:%1@
dial plan 2
matching
$request = ^INVITE
To = sip:.+@
deploy
To = sip:200@
create dial plan rules in order shown above put first dial plan on top of the second one
the dial plan rules will route the call to user registered on Brekeke
matching
$request = ^INVITE
From = sip:.[0-9]{6}[1-9]@
To = sip:(.[0-9]{6}[1-9])@
deploy:
To = sip:%1@
dial plan 2
matching
$request = ^INVITE
To = sip:.+@
deploy
To = sip:200@
create dial plan rules in order shown above put first dial plan on top of the second one
the dial plan rules will route the call to user registered on Brekeke
I also wanted to restrict call. The user with the same 5 digits prefix only can call the same 5 digits prefix. Example 600011 can call 600012 to 600019. I try the dial plan as follows:
dial plan 1
matching
$request = ^INVITE
From = sip:[0-9]{5}[1-9]@
To = sip:([0-9]{5}[1-9])@
deploy:
To = sip:%1@
Any dial plan master can help?
dial plan 1
matching
$request = ^INVITE
From = sip:[0-9]{5}[1-9]@
To = sip:([0-9]{5}[1-9])@
deploy:
To = sip:%1@
Any dial plan master can help?