Jump to content

Dial Plan replacement


Steve-Alloy
 Share

Recommended Posts

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)

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.

 Share

×
×
  • Create New...