impiantitel Posted June 2, 2019 Report Share Posted June 2, 2019 hi, I can't get a good grasp of the dial plan logic: for example, I wanted to make these rules - block 00 - enable however 004456273834 - enable all numbers starting with 01 until 09 - block 1 initial - enable 11 initial - block 8 initial - Enable 800/848/803 - 91x -> select the number x by deleting 91 - if I select +39x only the number x is dialed and deleted +39 are the rules being read from top to bottom? I've tried in every way but I'm definitely wrong something, can you please give me a hand? Thank you in advance, Damiano Quote Link to comment Share on other sites More sharing options...
Support Posted June 3, 2019 Report Share Posted June 3, 2019 The list is being read according to the preference number that you set on the far left side. We're sure you must have gone through these links, but they might need more hands-on than just going through them 1) https://doc.vodia.com/domain_dialplans 2) https://doc.vodia.com/trunk_inbound_routing - Specifically for inbound call. The regex would look something like this if you want to ignore the first 4 numbers, but ofcourse this has to be sharpened according to your needs. We're just giving an excerpt from the 1st link that is provided here. It's on there too: Pattern: ^([0-9]{4})([0-9]*)@.* Replacement: sip:\2@\r;user=phone Quote Link to comment Share on other sites More sharing options...
impiantitel Posted June 3, 2019 Author Report Share Posted June 3, 2019 thank you I managed to make all the rules that I needed except one, practically eliminate +39 Scenario: I compose +3934666666 with the rule you see below unfortunately does not delete + 39 but selects this -> 03934666666 should actually select 3934666666. Will you kindly give me a hand? n.b.: even if I disable the rule nothing happens, so as if the modification of the +xx happens elsewhere. Actually the best would be if you can get me to eliminate any form "+xx". Quote Link to comment Share on other sites More sharing options...
Support Posted June 3, 2019 Report Share Posted June 3, 2019 Pattern: ^\+([0-9]{2})([0-9]*) Replacement: sip:\2@\r;user=phone Quote Link to comment Share on other sites More sharing options...
impiantitel Posted June 3, 2019 Author Report Share Posted June 3, 2019 Unfortunately it does not work, I compose +393472283986 and he composes 03472283986 instead of 3472283986. Therefore it is necessary to remove one more zero. look at my settings Quote Link to comment Share on other sites More sharing options...
Support Posted June 3, 2019 Report Share Posted June 3, 2019 Do you have an area code set in the domain settings? If yes, remove it and try again. Quote Link to comment Share on other sites More sharing options...
impiantitel Posted June 3, 2019 Author Report Share Posted June 3, 2019 perfect you were kind, I offer you a coffee ......virtual Quote Link to comment Share on other sites More sharing options...
impiantitel Posted June 3, 2019 Author Report Share Posted June 3, 2019 Removed 39 (I am in Italy) from the domain settings, better to delete it also from the administrator settings? 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.