Trunk Digit Manipulation

I`m using multiple trunk for outbound calls and i have setup 3 outbound routes.

Route1 if the user calls 0xxxxxxxxxx the calls are routed trunk 1
Route2 if the user calls 9xxxxxxxxxx the calls are routed trunk 2
Route3 if the user calls 99xxxxxxxxxx the calls are router trunk 3

Under the Trunk Dial Number Manipulation Rules

i want to strip of the additional 0 , 9 and 99 and add 31 to it, but i don`t understand the logic of the prepend - prefix - match patern

In your outbound routes, prepend 31 and have 0, 9 & 99 in the prefix section.

There’s a wiki about using trunks that describes it in detail, but the rules are pretty simple:

“Match” identifies the number that will be processed by this route.
“Prefix” is removed from the beginning of the outbound number before it’s sent to your ITSP.
“Prepend” is added to the beginning of the outbound number before it’s sent to your ITSP.

So If you have “1” in the prepend, “1” will be added to the matched number.
If you have “99” in the prefix, the matched number has to have the prefix ‘99’ on it before it’s removed.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.