Make a user follow a specified rule path?

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
AllstateTelecom
Posts: 9
Joined: Tue Aug 30, 2011 6:54 pm
Location: Jupiter, FL

Make a user follow a specified rule path?

Post by AllstateTelecom »

1. Brekeke Product Name and version:
Brekeke SIP Server 2.4.8.6/286.3

2. Java version:
1.7.0

3. OS type and the version:
Linux 2.6.18-238.19.1.el5

4. UA (phone), gateway or other hardware/software involved:
Snom One PBX, Audio Codes Gateway

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

6. Your problem:

Is there a way to make a specified user follow a specified rule.

For instance, I have a rule that sends calls out through one provider, and then a I have a rule that sends calls out through another provider. I'm trying to set it so that I can have a couple specific users follow one rule, and the rest of the users follow another rule. I'm guessing this can be done in the dialplan but I cannot seem to figure out how to do it.

Thanks,
Brian
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

if the users which need to apply the same rule have the same prefix (such as 2xxx for these users id) in user id which is different from the other users
in current dial plan rule for one provider "Matching Patterns" add a line like
matching patterns
$request = ^INVITE
From = sip:2.+@
...

or if these users' call are from the same IP address
then user $addr = in current dial plan rule
AllstateTelecom
Posts: 9
Joined: Tue Aug 30, 2011 6:54 pm
Location: Jupiter, FL

Post by AllstateTelecom »

Nothing is the same between the users. Is there a way to have user groups? Can I set up a rule for a specific user?
Laurie
Posts: 245
Joined: Mon Jan 07, 2008 12:25 pm

Post by Laurie »

Have you read the DialPlan tutorial document?
http://www.brekeke-sip.com/download/bss ... lan_en.pdf

It will help you because it gives you many routing tips.
Post Reply