Jump to content

restrict outgoing call


sbsconseil

Recommended Posts

hi

 

Please I need to restrict outgoing call for snom one

 

- all outgoing calls except local and urgence

- all outgoing calls except local, gsm and urgence

- all outgoing calls except extension snom one and urgence

 

local = 2 digit indicatif 01, 02, 03, 04, 05 and 8 number ex : 01 47 88 00 00

gsm = 2 digit indicatif 06, 07 and 8 number Ex : 06 81 93 33 12

 

Thank You

Link to comment
Share on other sites

Are you really using Delta Aurigids (4.5.0.1075)? Can you check the Admin->Status page?

 

We tested on this version and with the configuration you have every call should be "Pas permis"

 

Here is something you can do to restrict local = 2 digit indicatif 01, 02, 03, 04, 05

 

Example:

 

Pref---------------- Trunk------------------------Pattern------------------------- Replacement

150------------------Not Allowed------------ ^(0[1-5]*)@.*-----------------<leave it empty>

 

 

But if you want to allow the same pattern, then you can do something like this to block everything else.

Pref---------------- Trunk------------------------Pattern------------------------- Replacement

150------------------trunk1------------ ^(0[1-5]*)@.*-----------------sip:\1@\r;user=phone

 

Similarly, you can add other patterns and at the end you can have this

 

Pref---------------- Trunk------------------------Pattern------------------------- Replacement

200------------------Not Allowed------------ *-----------------<leave it empty>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...