Skip to main content

Copy/Duplicate Incoming Rotue

Posted by mattdarnell on Thu, 10/28/2010

We have some very complex inbound routes and would like the opportunity to copy/duplicate the route when creating another route.

It takes time and chance for a mistake when you are manually duplicating a route.

Another solution is to allow more than one DID to be assigned to a route. We have customers with multiple DID's that do that same thing.

-Matt


Submitted by k3leland on Fri, 10/29/2010 Permalink

Another solution is to make a script that allows you to re-route one DID to another DID (without leaving the box of course)

Example:

Name: mtt-internal-reroute I WOULD LIKE TO SHARE THIS SCRIPT

Script can be used for:
Inbound routes
Feature codes

Script Description:
Prepends a prefix to the number the call came in on, strips digits and redials so that a route matching the prefix gets executed and call is rerouted internally.

PBX Commands:
exten => s,1,Goto(from-outside,${ARG2}${DIALED_PUBLIC_NUMBER:${ARG1}},1)

Argument Description Argument Type
Number of digits to strip before rerouting - Text
Prefix to prepend before rerouting - Text

Submitted by eeman on Fri, 10/29/2010 Permalink

i always hated that script.. the whole stripping and appending crap.. if your re-routing just put the TN in already instead of messing with all that other crap..

Script can be used for:
Inbound routes

Script Description:
send call to another DID on this PBX. DID must be formatted in identical format.

example:
New number to route to: +18005551212

PBX Commands:
exten => s,1,NoOp(New Number = ${ARG1})
exten => s,n,Goto(from-outside-redir,${ARG1},1)

Argument Description Argument type:
New number to route to - Text