Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
How to bar IDD calls
Author Message
michaelkoh
Brekeke Member


Joined: 13 Sep 2007
Posts: 16

PostPosted: Wed Oct 10, 2007 10:51 pm    Post subject: How to bar IDD calls Reply with quote

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
View user's profile
bespineda
Brekeke Newbie


Joined: 11 Oct 2007
Posts: 3

PostPosted: Thu Oct 11, 2007 3:45 am    Post subject: Reply with quote

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
View user's profile Yahoo Messenger
michaelkoh
Brekeke Member


Joined: 13 Sep 2007
Posts: 16

PostPosted: Sun Oct 21, 2007 6:42 am    Post subject: Reply with quote

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
View user's profile
Andrea
Brekeke Addict


Joined: 04 Apr 2007
Posts: 36

PostPosted: Fri Oct 26, 2007 1:55 pm    Post subject: Reply with quote

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
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke PBX Forum All times are GMT - 7 Hours
Page 1 of 1