I’m trying, using Freepbx 14.0.13.12 to set a dial pattern in an outgoing trunk.
I need to remove the first “0” on a french number like 060504030201 to obtain 60504030201.
In the trunk, in the Dialed Number Manipulation Rules tab, i enter the pattern 0|ZXXXXXXXX into the GUI dial pattern field but after validating config :
Dialed number remains 060504030201
When I open back the setting, the “|” (pipe char) is removed and I only have 0ZXXXXXXXX
(this is why it do not work)
For what you are asking, use:
prepend: (leave blank)
prefix: 0
match pattern: ZXXXXXXXX
However, your request seems strange. Numbers in France, other than emergency and short codes, have exactly 9 digits after the initial 0. For example, a mobile number might be 0605040302.
I am not aware of any provider that would accept 605040302. Some might require 33605040302 or +33605040302. Who is the trunking provider?