Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

sb.append("<h1>Rewrite</h1>");

...

Rewrite

Rewrite is a specialised Step designed to modify The Routed No.<br>");

        sb.append("When a call first enters Routes the dialed No and the Routed No are identical. <br>");

        sb.append("If a call passes through a Gosub the Routed No is set using the Gosub target. <br>");

        sb.append("The Rewrite action is also able to modify the Routed No.<br><br>");

        sb.append("<h2>Strip Prefix Length</h2>");

        sb.append("

Strip Prefix Length

The number of leading digits to remove from the phone no.<br><br>");

        sb.append("<h2>Strip Suffix Length</h2>");

        sb.append("

Strip Suffix Length

The number of trailing digits to remove from the phone no.<br><br>");

        sb.append("<h2>New Prefix</h2>");

        sb.append("

New Prefix

A new string to add to the begining beginning of the phone no.<br><br>");

        sb.append("<h2>New Suffix</h2>");

        sb.append("

New Suffix

A new string to add to the end of the phone no.<br><br>");

        sb.append("<h2>Example</h2>");

        sb.append("

Example

You need to transate translate 613 8320 8100 to 03 8320 8100<br>");        sb.append("8100

Set the Strip prefix to 2 which will remove the '61' from the DID giving 3 8320 8100<br>");        sb.append("8100

Set the 'New Prefix' to '0' giving '03 8320 8100");