Steve-Alloy Posted February 8, 2010 Report Share Posted February 8, 2010 Can someone advise on the best way to achieve the following 0011643XXXXXXX replace with 03XXXXXXX so basically match 001164 and repalce with 0 Any advice is appreciated as this is rather urgent. Thanks. Quote Link to comment Share on other sites More sharing options...
pbx support Posted February 8, 2010 Report Share Posted February 8, 2010 Can someone advise on the best way to achieve the following 0011643XXXXXXX replace with 03XXXXXXX so basically match 001164 and repalce with 0 Any advice is appreciated as this is rather urgent. Thanks. You can use "0011643([0-9]*)" as the pattern and "03\1" as the replacement (both without quotes). If you have * (pattern) and *(replacement) as one of the existing entries in this dial plan, make sure that it is at the end of the list (If you see issues in the above mentioned solution, then just delete the * dial plan entry for time being and test it. Once the testing is done, you can add the * dial plan entry back) 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.