Toolpack:Creating a First Call Route D
From TBwiki
(Difference between revisions)
(Created page with "=== '''''Applies to version(s): v2.9''''' === {{DISPLAYTITLE:Creating a First Call Route}} You must set up call routing for your system. Call routing refers to the ability...") |
|||
(2 intermediate revisions by one user not shown) | |||
Line 35: | Line 35: | ||
'''Path''' | '''Path''' | ||
<pre> | <pre> | ||
+ | /configurations/@[configuration_name]/routes/@[route_name] | ||
</pre> | </pre> | ||
'''Parameters (text)''' | '''Parameters (text)''' | ||
<pre> | <pre> | ||
+ | /configurations/@[configuration_name]/routes/@[route_name] | ||
+ | called = "/^(00)?(771|772|773)[0-9]{7}$/" | ||
+ | calling = "" | ||
+ | name = "@[route_name]" | ||
+ | nap = "@[nap_name]" | ||
+ | remapped_called = "" | ||
+ | remapped_calling = "" | ||
+ | remapped_destination_leg_profile = "(same as NAP)" | ||
+ | remapped_nap = "XTEL" | ||
+ | remapped_source_leg_profile = "(same as NAP)" | ||
+ | routeset_name = "" | ||
+ | |||
+ | /configurations/@[configuration_name]/routes/@[route_name]/custom_attributes | ||
+ | additonal_naps = "" | ||
</pre> | </pre> | ||
'''Parameters (json)''' | '''Parameters (json)''' | ||
<pre> | <pre> | ||
+ | { | ||
+ | "called" : "/^(00)?(771|772|773)[0-9]{7}$/", | ||
+ | "calling" : "", | ||
+ | "custom_attributes" : { | ||
+ | "additonal_naps" : "" | ||
+ | }, | ||
+ | "name" : "@[route_name]", | ||
+ | "nap" : "@[nap_name]", | ||
+ | "remapped_called" : "", | ||
+ | "remapped_calling" : "", | ||
+ | "remapped_destination_leg_profile" : "(same as NAP)", | ||
+ | "remapped_nap" : "XTEL", | ||
+ | "remapped_source_leg_profile" : "(same as NAP)", | ||
+ | "routeset_name" : "" | ||
+ | } | ||
</pre> | </pre> | ||
</div> | </div> | ||
+ | |||
==List of Parameters== | ==List of Parameters== |
Latest revision as of 11:49, 4 February 2016
Applies to version(s): v2.9
You must set up call routing for your system. Call routing refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.
Follow the procedure listed below to create primary and secondary routes:
1- Click Routes in the navigation panel
2- Click Create New Static Route
3- Create the new route:
- Enter a RoutesetName for the route
- Select a NAP, or leave empty to match calls from any NAP
- Select a Remapped NAP
- Click Create
4- Verify that the "Route was successfully created" message appears, and that the new route is listed in the Routeset list
Path
/configurations/@[configuration_name]/routes/@[route_name]
Parameters (text)
/configurations/@[configuration_name]/routes/@[route_name] called = "/^(00)?(771|772|773)[0-9]{7}$/" calling = "" name = "@[route_name]" nap = "@[nap_name]" remapped_called = "" remapped_calling = "" remapped_destination_leg_profile = "(same as NAP)" remapped_nap = "XTEL" remapped_source_leg_profile = "(same as NAP)" routeset_name = "" /configurations/@[configuration_name]/routes/@[route_name]/custom_attributes additonal_naps = ""
Parameters (json)
{ "called" : "/^(00)?(771|772|773)[0-9]{7}$/", "calling" : "", "custom_attributes" : { "additonal_naps" : "" }, "name" : "@[route_name]", "nap" : "@[nap_name]", "remapped_called" : "", "remapped_calling" : "", "remapped_destination_leg_profile" : "(same as NAP)", "remapped_nap" : "XTEL", "remapped_source_leg_profile" : "(same as NAP)", "routeset_name" : "" }