# Creating a First Call Route

You must set up call routing for your system. [Call routing](https://prosbcdocs.telcobridges.com/appendices/appendix-a-glossary/glossary-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

<figure><img src="https://docs.telcobridges.com/w/images/b/b0/CreateCallRoute_0.png" alt=""><figcaption></figcaption></figure>

\
2- Click Create New Static Route

<figure><img src="https://docs.telcobridges.com/w/images/7/79/CreateCallRoute_1.png" alt=""><figcaption></figcaption></figure>

\
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

<figure><img src="https://docs.telcobridges.com/w/images/5/5b/CreateCallRoute_2.png" alt=""><figcaption></figcaption></figure>

\
4- Verify that the "Route was successfully created" message appears, and that the new route is listed in the Routeset list

<figure><img src="https://docs.telcobridges.com/w/images/0/06/CreateCallRoute_3.png" alt=""><figcaption></figcaption></figure>

<details>

<summary>Northbound Interface</summary>

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

</details>

### List of Parameters

* [Routeset Name](https://prosbcdocs.telcobridges.com/configuration-parameters-all#parameter-name)
* [Called](https://prosbcdocs.telcobridges.com/configuration-parameters-all#parameter-called)
* [Calling](https://prosbcdocs.telcobridges.com/configuration-parameters-all#parameter-calling)
* [NAP](https://prosbcdocs.telcobridges.com/configuration-parameters-all#parameter-nap)
* [Remapped NAP](https://prosbcdocs.telcobridges.com/configuration-parameters-all#parameter-remapped-nap)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://prosbcdocs.telcobridges.com/configuration-details/configuration-by-web-portal-category/call-routing/creating-a-first-call-route.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
