Quote from: azrobert on April 02, 2019, 04:02:29 PM
The outbound rules contain DigitMaps, so transformation can also happen here.
You added a separate rule for 011, so you don't need it in the ITSP DigitMap.
Thanks for the info. Hoping for some clarification, please.
So what I've now done is updated my digitmap in ITSP A (for SP1) to:
(1xxxxxxxxxx|<0:01144>XX.S3|[2-9]xxxxxxxxx|*98|[2-9]11)
As you can see, I replaced the previous 011 rule with the above one.
Just to confirm, all appears to be working as I hoped. I can dial UK numbers with just the area code and no need for the international dialing code or the country prefix. These automatically route to SP2 (as they did before), but with the added benefit that they now must be adding the international dialing code & country prefix given my extra rule above. So in other words, I dialed 020 8971 2473, it changed it to 01144 20 8971 2473 and routed via SP2.
What I'm hoping to clarify is what you meant where you said "You added a separate rule for 011, so you don't need it in the ITSP DigitMap."? Do you mean because I added an 011 rule into my outbound call route: {(01144xx.):SP2} ? Are you saying I could just do the transformation there instead, and actually remove the 011 rule from my ITSP digitmap? If I did that, what syntax would it use? Would it be something like:
{(<0:01144>XX.S3):SP2}
If I did it at the phone port level here, would it actually then become impossible to route a call beginning with 0 via SP1 if I particularly wanted to? Or am I not along the correct lines with what you meant when you were saying I didn't need it in the ITSP digitmap?
Either way, it appears what I've done works. But if you're saying there is a better, or more efficient way, then I'd be happy to learn :-)
Thanks!