Hi,
Say I want to use label routing for local numbers and I have uploaded a digitmap containing something like:
1519123
1519456
Can I have numbers such as ‘519123…’ or ‘519456’ match those as well (ie. numbers without leading one)?
Or do I have to put each number prefix with and without the leading one in the digit map?
I tried to use regex for the Calling parameter (ie. /^1?[0-9]*$/) in the route but that doesn’t work since I think it has to match both the digit map and the regex to match this.
I found the script ‘called_pre_remap.rb’ and the called_pre_remap NAP column. Will this help me?
Thanks
Edit:
I think I got called_pre_remap working but if I set the regex in the called_pre_remap NAP column, it remaps only when a call is incoming from this NAP. I think I want to remap only when a call is outgoing to a certain NAP.