Author |
Message |
AllstateTelecom Brekeke Junior Member
Joined: 30 Aug 2011 Posts: 9
Location: Jupiter, FL
|
Posted: Thu Oct 20, 2011 7:43 am Post subject: Make a user follow a specified rule path? |
|
|
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/networkpatterns.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 |
|
Back to top |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
Posted: Thu Oct 20, 2011 9:38 am Post subject: |
|
|
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 |
|
Back to top |
|
AllstateTelecom Brekeke Junior Member
Joined: 30 Aug 2011 Posts: 9
Location: Jupiter, FL
|
Posted: Thu Oct 20, 2011 2:08 pm Post subject: |
|
|
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? |
|
Back to top |
|
Laurie Brekeke Master Guru
Joined: 07 Jan 2008 Posts: 245
|
|
Back to top |
|
|