function telecoms.routeplan.edit

Edits an existing route plan.

This function takes the same arguments as telecoms.routeplan.create except that:

For further information about what goes into the items argument, see the telecoms.routeplan.create function.

Arguments:

argrequired?syntaxinfo
custIDNposintcustID of account containing the routeplan you wish to edit (defaults to your own account)
routeplanIDYposintrouteplanID of the route plan you wish to edit
descNstringa brief textual description of your route plan
itemsNarrayarray of route plan items; this is where the routeplan can route calls to
modeNenum:sequential|parallel|wtd-single|wtd-rotational|wtd-parallel|rr-rotational|rr-paralleldialling mode; eg try one destination at a time, dial all simultaneously, etc
max_repeatsNunsintMax number of times to re-try the destination list if not answered
busy_actionNenum:busy|busy-any|redialWhat to do when destinations are busy
headstartNunsintnumber of seconds to prioritise one destination in wtd-parallel or rr-parallel mode