This post is at: ForumFeatures Wanted
3 posts / 0 new
Last post
mattdarnell's picture
Joined: 2007/10/25
Points: 30

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.


k3leland's picture
Joined: 2009/12/18
Points: 0

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


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

eeman's picture
Joined: 2007/11/06
Points: 290

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.

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

Erik Smith
Thirdlane/Asterisk Support available