sbsconseil Posted May 9, 2012 Report Share Posted May 9, 2012 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 Quote Link to comment Share on other sites More sharing options...
Vodia support Posted May 9, 2012 Report Share Posted May 9, 2012 if you want to restrict these blocks you can use "Not allowed" on the pattern and the replacement. so on the "pref 1" you can have something like "Not allowed" Pattern 011* replacement 011* http://wiki.snomone.com/index.php?title=Create_a_Dial_Plan http://wiki.snomone.com/index.php?title=Dial_Plan_Samples Quote Link to comment Share on other sites More sharing options...
sbsconseil Posted May 10, 2012 Author Report Share Posted May 10, 2012 hi, No pattern found for the dialed number Snom One Upgrades Delta Aurigids (4.5.0.1075) Quote Link to comment Share on other sites More sharing options...
pbx support Posted May 10, 2012 Report Share Posted May 10, 2012 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> Quote Link to comment Share on other sites More sharing options...
sbsconseil Posted May 10, 2012 Author Report Share Posted May 10, 2012 hi, Yes you are really using Delta Aurigids (4.5.0.1075)picture capure1.jpg the use pattern ^(0[1-7]{10})@.* first two digits : 01, 02, 03, 04, 05, 06, 07 Maxi : 10 number capure3.jpg Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted May 11, 2012 Report Share Posted May 11, 2012 ^(0[1-7]{10})@.* You probably want ^(0[1-7][0-9]{9})@.* Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.