Actions

Toolpack:Creating a First Call Route E: Difference between revisions

No edit summary
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=== '''''Applies to version(s): v2.10''''' ===
{{DISPLAYTITLE:Creating a First Call Route}}
{{DISPLAYTITLE:Creating a First Call Route}}
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.
{| class="wikitable"
|-
|rowspan="3"|This article applies to:
|'''Product'''
|'''Version'''
|-
|Tmedia
|3.0, 3.2, 3.3
|-
|SBC
|3.1, 3.3
|}
 
[[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:
Follow the procedure listed below to create primary and secondary routes:
Line 31: Line 43:




<div class="mw-collapsible mw-collapsed" data-collapsetext="Northbound Interface" data-expandtext="Northbound Interface" style="width: 400px;">
<div class="mw-collapsible mw-collapsed" data-collapsetext="Northbound Interface" data-expandtext="Northbound Interface" style="width: 700px;">


'''Path'''
'''Path'''
<pre>
<pre>
/configurations/@[configuration_name]/routes/@[route_name]
/configurations/@[configuration_name]/routes/@[route_name]
</pre>
</pre>


'''Parameters (text)'''
'''Parameters (text)'''
<pre>
<pre>
/configurations/@[configuration_name]/routes/@[route_name]
/configurations/@[configuration_name]/routes/@[route_name]
Line 54: Line 69:
/configurations/@[configuration_name]/routes/@[route_name]/custom_attributes
/configurations/@[configuration_name]/routes/@[route_name]/custom_attributes
additonal_naps = ""
additonal_naps = ""
</pre>
</pre>


'''Parameters (json)'''
'''Parameters (json)'''
<pre>
<pre>
{
{
Line 73: Line 90:
   "routeset_name" : ""
   "routeset_name" : ""
}
}
</pre>
</pre>
</div>
</div>


== How to Create/Update a route with Restful API ==
You can find how to create/modify a route with Restful API in the following link:
[[ProSBC:Restful API Route|Creating/Updating a Route with Restful API]]


==List of Parameters==
==List of Parameters==
Line 90: Line 114:


Custom Parameters
Custom Parameters
* [[Parameter: prio|prio]]
* [[Parameter: prio|prio (or priority)]]
* [[Parameter: additonal_naps|additonal_naps]]
* [[Parameter: additonal_naps|additonal_naps]]
* [[Parameter: domain|domain]]
* [[Parameter: domain|domain]]

Latest revision as of 12:56, 22 June 2024

This article applies to: Product Version
Tmedia 3.0, 3.2, 3.3
SBC 3.1, 3.3

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" : ""
}

How to Create/Update a route with Restful API

You can find how to create/modify a route with Restful API in the following link:

Creating/Updating a Route with Restful API

List of Parameters

Custom Parameters