Hello,
You can add a Address Transformation to your external trunk:
External Trunk - Identity - Outbound - Calling - Address TransformationMatch Regular Expression:
^(sip[s]?:|tel:|.*)(0)(.*)Format Regular Expression:
$100$3--> this will replace the first zero with two zero's, and leave the rest of the address unchanged.
--> numbers without a leading zero will not be transformed, because they do not match the Regular Expression (useful if local extensions are being dialed over the same trunk).
For example:
sip:
016380840@10.10.10.1 will become sip:
0016380840@10.10.10.1sip:
7901@10.10.10.1 will stay sip:
7901@10.10.1Regards
------------------------------
Steven Deferme
Quant ICT
------------------------------