Forums Read-only archive

Outbound Call Restrictions

3 posts · Brekeke PBX Forum

voipsistemas Original post
I need to restrict a group of extensions to be able to make cel phone calls.
In our country the mobile operators has the following prefixes: 0412 / 0416 / 0414

Any idea how to address this issue?

Do I need to make a Calling Group that contacins all the extensioens with restrictions? how may I address this issue at the ARS?

Thanks for your cooperation.
slaider
Use Dialplan

Matching Patterns

$request=^INVITE
$geturi (From)=(sip:Number@.+)
$geturi (To)=sip:(NumberToBlock.+)@

Deploy Patterns

$action=406

Bye
hope
also can use ARS

create a new ARS and create an OUT pattern in it like following:

Matching Patterns

To: sip:041(.*)@
User: ^caller'sUserNumber$

Deploy Patterns
To: !