Author |
Message |
michaelkoh Brekeke Member
Joined: 13 Sep 2007 Posts: 16
|
Posted: Wed Oct 10, 2007 10:51 pm Post subject: How to bar IDD calls |
|
|
1. Brekeke Product Name and version:
2. Java version:
3. OS type and the version:
4. UA (phone), gateway or other hardware/software involved:
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :
6. Your problem:
To dial a local number(62529313) is 962529313.
To dial a oversea (0016032529313) is 90016032529313
How do I bar 1 user from making the 2nd call? |
|
Back to top |
|
bespineda Brekeke Newbie
Joined: 11 Oct 2007 Posts: 3
|
Posted: Thu Oct 11, 2007 3:45 am Post subject: |
|
|
you can bar a specific user from the dial-plan, from the matching pattern from=100 (100 being the user) and on the deploy put in action=603 |
|
Back to top |
|
michaelkoh Brekeke Member
Joined: 13 Sep 2007 Posts: 16
|
Posted: Sun Oct 21, 2007 6:42 am Post subject: |
|
|
bespineda wrote: |
you can bar a specific user from the dial-plan, from the matching pattern from=100 (100 being the user) and on the deploy put in action=603 |
Shouldn't I put 9001 at the action?
By putting 9001 at the action, it means this pattern is allowed or barred? Can you please explain? Thank you. |
|
Back to top |
|
Andrea Brekeke Addict
Joined: 04 Apr 2007 Posts: 36
|
Posted: Fri Oct 26, 2007 1:55 pm Post subject: |
|
|
Hi,
You should not set a user number in action.
$action = 603 means the error response 603 (Decline) will be returned to the caller.
Example (to ban the user 9001 to call international call):
Matching Patterns | $request = ^INVITE To = sip:9(.{10,})@ From = sip:9001@
| Deploy Patterns | $action = 603
|
Good luck,
Andrea |
|
Back to top |
|
|