Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

        sb.append(

                "Gosub is a specialised Action designed to send a call to another Call Route returning when complete.<br>");

        sb.append("Gosub is designed to work with Actions such as Rewrite which are able to modify the dialed number ");

        sb.append(

                "and then resubmit the call to the route pattern match logic so that it can be process by an appropriate route.<br></br>");

        sb.append("<h3>Target Type</h3>");

        sb.append(

                "Defines the value to use as the 'target' when the call is passed to the specified Context.</br></br>");

        sb.append("<h4>Dialed No</h4>");

        sb.append("The no. originally dialed is used as the target.</br></br>");

        sb.append("<h4>Target</h4>");

        sb.append("The Route Target to send the call to.</br></br>");

        sb.append("<h4>Route Variable</h4>");

        sb.append("The value of the given variable is used as the target.</br></br>");


        sb.append("<h3>Context</h3>");

        sb.append(

                "The Context to reroute the call into. Often it is sufficient to simply reroute the call back into the same context ");

        sb.append("after the target has been modified as it will now match a different route.</br></br>");

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

        sb.append(

                "You have multiple SIP service providers and one of them sends calls to your PBX with a DID that includes the country code e.g. 613 8320 8100. <br>");

        sb.append(

                "Rather than have two sets of routes (one for each service provider) you can create a route which matchs the 613 prefix, ");

        sb.append(

                "strips that prefix (using Rewrite) and then resubmits the call into the routes using this Gosub Action.<br>");



  • No labels