How to bar IDD calls

Discuss any topic about Brekeke PBX.

Moderator: Brekeke Support Team

Post Reply
michaelkoh
Posts: 16
Joined: Thu Sep 13, 2007 8:52 pm

How to bar IDD calls

Post by michaelkoh »

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/ ... terns.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?
bespineda
Posts: 3
Joined: Thu Oct 11, 2007 2:57 am

Post by bespineda »

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
michaelkoh
Posts: 16
Joined: Thu Sep 13, 2007 8:52 pm

Post by michaelkoh »

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.
Andrea
Posts: 36
Joined: Wed Apr 04, 2007 11:41 am

Post by Andrea »

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
Post Reply