> For the complete documentation index, see [llms.txt](https://prosbcdocs.telcobridges.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prosbcdocs.telcobridges.com/telecom-references/telecom-concepts/routing-script-parameter-mapping.md).

# Routing Script Parameter Mapping

| **Script parameter name**                       | \*\***ISDN** \*\*                                                                                                   | ***R2\_CAS***                  | \*\*\_\_\_**SS7** \*\*                                                                                                                                                                                                                                     | \*\***SIP** \*\*                                                                        | \*\*Comment \*\*                                                                                                                                                                           | \*\*Toolpack version \*\* |
| ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------- |
| leg\_id                                         | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | N/A                                                                                     | Leg ID                                                                                                                                                                                     |                           |
| session\_id                                     | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | N/A                                                                                     | Session ID                                                                                                                                                                                 |                           |
| original\_session\_id                           | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | N/A                                                                                     | Original Session ID (before call transfer or redirections)                                                                                                                                 |                           |
| calling                                         | Q931: 'Calling party number' IE - Number digits                                                                     | ANI (Group B)                  | Q763: 'Calling party number' IE - address signals (\*)                                                                                                                                                                                                     | SIP:From - user-info                                                                    | \* In ANSI SS7 LNP networks, the IE 'generic address parameter' is used (when present) instead.                                                                                            |                           |
| calling\_sip\_host                              | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | SIP:From - host (domain or IP)                                                          | For example : The 'telcobridges.com' in From: "Cullen Jennings" \<sip:<fluffy@telcobridges.com>>                                                                                           |                           |
| calling\_sip\_port                              | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | SIP:From - port                                                                         | For example : The '6060' in From: "Cullen Jennings" \<sip:<fluffy@telcobridges.com>:6060>                                                                                                  |                           |
| calling\_noa                                    | Q931: 'Calling party number' IE - Type of number                                                                    | N/A                            | Q763: 'Calling party number' IE - nature of address indicator (\*)                                                                                                                                                                                         | N/A                                                                                     | \* In ANSI SS7 LNP networks, the IE 'generic address parameter' is used (when present) instead                                                                                             |                           |
| calling\_npi                                    | Q931: 'Calling party number' IE - Numbering plan identification                                                     | N/A                            | Q763: 'Calling party number' IE - numbering plan indicator (\*)                                                                                                                                                                                            | N/A                                                                                     | \* In ANSI SS7 LNP networks, the IE 'generic address parameter' is used (when present) instead                                                                                             |                           |
| calling\_display                                | Q931: 'Display' IE - Display information Q931: 'Facility CNAM' IE when presentation is allowed for DMS/NI2 variants | N/A                            | Q763 ITU97: 'Display information' IE - display information ANSI95: 'Generic name' IE - display information                                                                                                                                                 | SIP:From - display-name                                                                 |                                                                                                                                                                                            |                           |
| calling\_display\_type                          | Q931: 'Display' IE - Display information (present and/or first byte)                                                | N/A                            | Q763: 'Display information' IE - present or not                                                                                                                                                                                                            | N/A                                                                                     |                                                                                                                                                                                            |                           |
| calling\_presentation                           | Q931: 'Calling party number' IE - Presentation indicator                                                            | N/A                            | Q763: 'Calling party number' IE - address presentation restricted indicator                                                                                                                                                                                | SIP:From - display-name (displays 'anonymous' or not) SIP:Remote-party-id - privacy     |                                                                                                                                                                                            |                           |
| calling\_screening                              | Q931: 'Calling party number' IE - Screening indicator                                                               | N/A                            | Q763: 'Calling party number' IE - screening                                                                                                                                                                                                                | SIP:Remote-party-id - screen                                                            |                                                                                                                                                                                            |                           |
| calling\_category                               | N/A                                                                                                                 | Call party category (Group A)  | Q763: 'Calling party's category' IE - calling party's category                                                                                                                                                                                             | SIP:From - cpc SIP:P-asserted-identity - cpc                                            |                                                                                                                                                                                            |                           |
| calling\_subscriber (Generic Number / NDS)      | Q931: 2nd 'Calling party number' IE - Number digits                                                                 | N/A                            | Q763: Generic number IE with type 'additional calling party number' - Number digits                                                                                                                                                                        | SIP:P-asserted-identity - userinfo SIP:Remote-party-id - user-info                      | Requires option 'support 2 calling number IE' in the profile. This variable has priority over 'private\_address' in the outgoing direction.                                                |                           |
| calling\_subscriber\_noa                        | Q931: 2nd 'Calling party number' IE - Type of number                                                                | N/A                            | Q763: Generic number IE with type 'additional calling party number' - nature of address indicator                                                                                                                                                          | SIP:P-asserted-identity - userinfo SIP:Remote-party-id - user-info                      |                                                                                                                                                                                            |                           |
| calling\_subscriber\_npi                        | Q931: 2nd 'Calling party number' IE - Numbering plan identification                                                 | N/A                            | Q763: Generic number IE with type 'additional calling party number' - numbering plan indicator                                                                                                                                                             | SIP:P-asserted-identity - userinfo SIP:Remote-party-id - user-info                      |                                                                                                                                                                                            |                           |
| calling\_subscriber\_presentation               | Q931: 2nd 'Calling party number' IE - Presentation indicator                                                        | N/A                            | Q763: Generic number IE with type 'additional calling party number' - presentation restricted indicator                                                                                                                                                    | SIP:P-asserted-identity - userinfo SIP:Remote-party-id - user-info                      |                                                                                                                                                                                            |                           |
| calling\_subscriber\_screening                  | Q931: 2nd 'Calling party number' IE - Screening indicator                                                           | N/A                            | Q763: Generic number IE with type 'additional calling party number' - screening                                                                                                                                                                            | SIP:P-asserted-identity - userinfo SIP:Remote-party-id - user-info                      |                                                                                                                                                                                            |                           |
| private\_display                                | Q931: 'Facility CNAM' IE when presentation is restricted for DMS/NI2 variants                                       | N/A                            | N/A                                                                                                                                                                                                                                                        | SIP:P-asserted-identity - display-name SIP:Remote-party-id - display-name               |                                                                                                                                                                                            |                           |
| private\_display\_type                          | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | N/A                                                                                     | Indicate presence or not of the private calling information                                                                                                                                |                           |
| private\_address                                | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | SIP:P-asserted-identity - userinfo SIP:Remote-party-id - user-info                      | For example : The 'fluffy' in P-Asserted-Identity: "Cullen Jennings" \<sip:<fluffy@telcobridges.com>>                                                                                      |                           |
| private\_address\_sip\_host                     | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | SIP:P-asserted-identity - host (domain or IP) SIP:Remote-party-id - host (domain or IP) | For example : The 'telcobridges.com' in P-Asserted-Identity: "Cullen Jennings" \<sip:<fluffy@telcobridges.com>>                                                                            |                           |
| private\_address\_sip\_port                     | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | SIP:P-asserted-identity - port SIP:Remote-party-id - port                               | For example : The '6060' in P-Asserted-Identity: "Cullen Jennings" \<sip:<fluffy@telcobridges.com>:6060>                                                                                   |                           |
| supp\_private\_address\_forward\_enabled        | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | N/A                                                                                     | Overwrite default supplementary/second P-Asserted-Identity header forwarding behavior from incoming to outgoing leg                                                                        |                           |
| supp\_private\_address                          | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | SIP:P-Asserted-Identity - userinfo                                                      | For example : The 'fluffy' in supplementary/second P-Asserted-Identity: "Cullen Jennings" \<sip:<fluffy@telcobridges.com>>                                                                 |                           |
| supp\_private\_address\_display\_name           | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | SIP:P-Asserted-Identity - display name                                                  | For example : The 'Cullen Jennings' in supplementary/second P-Asserted-Identity: "Cullen Jennings" \<sip:<fluffy@telcobridges.com>>                                                        |                           |
| supp\_private\_address\_sip\_host               | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | SIP:P-Asserted-Identity - host (domain or IP)                                           | For example : The 'telcobridges.com' in supplementary/second P-Asserted-Identity: "Cullen Jennings" \<sip:<fluffy@telcobridges.com>>                                                       |                           |
| supp\_private\_address\_sip\_port               | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | SIP:P-Asserted-Identity - port                                                          | For example : The '6060' in supplementary/second P-Asserted-Identity: "Cullen Jennings" \<sip:<fluffy@telcobridges.com>:6060>                                                              |                           |
| preferred\_id\_forward\_enabled                 | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | N/A                                                                                     | Overwrite default P-Preferred-Identity header forwarding behavior from incoming to outgoing leg                                                                                            |                           |
| preferred\_id                                   | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | SIP:P-Preferred-Identity - userinfo                                                     | For example : The 'fluffy' in P-Preferred-Identity: "Cullen Jennings" \<sip:<fluffy@telcobridges.com>>                                                                                     |                           |
| preferred\_id\_display\_name                    | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | SIP:P-Preferred-Identity - display name                                                 | For example : The 'Cullen Jennings' in P-Preferred-Identity: "Cullen Jennings" \<sip:<fluffy@telcobridges.com>>                                                                            |                           |
| preferred\_id\_sip\_host                        | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | SIP:P-Preferred-Identity - host (domain or IP)                                          | For example : The 'telcobridges.com' in P-Preferred-Identity: "Cullen Jennings" \<sip:<fluffy@telcobridges.com>>                                                                           |                           |
| preferred\_id\_sip\_port                        | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | SIP:P-Preferred-Identity - port                                                         | For example : The '6060' in P-Preferred-Identity: "Cullen Jennings" \<sip:<fluffy@telcobridges.com>:6060>                                                                                  |                           |
| called                                          | Q931: 'Called party number' IE - Number digits                                                                      | DNIS (Group A)                 | Q763: 'Called party number' IE - address signals                                                                                                                                                                                                           | SIP:To - user-info and host                                                             |                                                                                                                                                                                            |                           |
| called\_sip\_host                               | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | SIP:To - host                                                                           | For example : The 'telcobridges.com' in To: "Cullen Jennings" \<sip:<fluffy@telcobridges.com>>                                                                                             |                           |
| called\_sip\_port                               | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | SIP:To - port number                                                                    | For example : The '6060' in To: "Cullen Jennings" \<sip:<fluffy@telcobridges.com>:6060>                                                                                                    |                           |
| called\_noa                                     | Q931: 'Called party number' IE - Type of number                                                                     | N/A                            | Q763: 'Called party number' IE - nature of address indicator                                                                                                                                                                                               | N/A                                                                                     |                                                                                                                                                                                            |                           |
| called\_npi                                     | Q931: 'Called party number' IE - Numbering plan identification                                                      | N/A                            | Q763: 'Called party number' IE - numbering plan indicator                                                                                                                                                                                                  | N/A                                                                                     |                                                                                                                                                                                            |                           |
| charge\_number                                  | N/A                                                                                                                 | N/A                            | ANSI: 'Charge number' IE - address signals                                                                                                                                                                                                                 | N/A                                                                                     |                                                                                                                                                                                            |                           |
| charge\_number\_noa                             | N/A                                                                                                                 | N/A                            | ANSI: 'Charge number' IE - nature of address indicator                                                                                                                                                                                                     | N/A                                                                                     |                                                                                                                                                                                            |                           |
| charge\_number\_npi                             | N/A                                                                                                                 | N/A                            | ANSI: 'Charge number' IE - numbering plan indicator                                                                                                                                                                                                        | N/A                                                                                     |                                                                                                                                                                                            |                           |
| redirecting\_number\_forward\_enabled           | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | N/A                                                                                     | Overwrite default redirecting number and original called number forwarding behavior from incoming to outgoing leg                                                                          |                           |
| redirecting\_number                             | Q931: 'Redirecting number' 1st IE - Number digits                                                                   | N/A                            | Q763: 'Redirecting number' IE - address signals                                                                                                                                                                                                            | SIP:Diversion (2nd header) - display-name                                               |                                                                                                                                                                                            |                           |
| redirecting\_number\_noa                        | Q931: 'Redirecting number' 1st IE - Type of number                                                                  | N/A                            | Q763: 'Redirecting number' IE - nature of address indicator                                                                                                                                                                                                | N/A                                                                                     |                                                                                                                                                                                            |                           |
| redirecting\_number\_npi                        | Q931: 'Redirecting number' 1st IE - Numbering plan identification                                                   | N/A                            | Q763: 'Redirecting number' IE - numbering plan indicator                                                                                                                                                                                                   | N/A                                                                                     |                                                                                                                                                                                            |                           |
| redirecting\_number\_presentation               | Q931: 'Redirecting number' 1st IE - Presentation indicator                                                          | N/A                            | Q763: 'Redirecting number' IE - address presentation restricted indicator                                                                                                                                                                                  | SIP:Diversion (2nd header) - diversion-privacy                                          |                                                                                                                                                                                            |                           |
| redirecting\_number\_indicator                  | N/A                                                                                                                 | N/A                            | Q763: 'Redirection information' IE - redirecting indicator                                                                                                                                                                                                 | N/A                                                                                     |                                                                                                                                                                                            |                           |
| redirecting\_number\_reason                     | Q931: 'Redirecting number' 1st IE - Reason for redirection                                                          | N/A                            | Q763: 'Redirection information' IE - redirecting reason                                                                                                                                                                                                    | SIP:Diversion (2nd header) - diversion-reason                                           |                                                                                                                                                                                            |                           |
| redirecting\_number\_counter                    | N/A                                                                                                                 | N/A                            | Q763: 'Redirection information' IE - redirection counter                                                                                                                                                                                                   | SIP:Diversion (2nd header) - diversion-counter                                          |                                                                                                                                                                                            |                           |
| original\_called\_number (OCN)                  | Q931: 'Redirecting number' 2nd IE - Number digits                                                                   | N/A                            | Q763: 'Redirection number' IE - address signals                                                                                                                                                                                                            | SIP:Diversion  (1st header) - display-name                                              |                                                                                                                                                                                            |                           |
| original\_called\_number\_noa                   | Q931: 'Redirecting number' 2nd IE - Type of number                                                                  | N/A                            | Q763: 'Redirection number' IE - nature of address indicator                                                                                                                                                                                                | N/A                                                                                     |                                                                                                                                                                                            |                           |
| original\_called\_number\_npi                   | Q931: 'Redirecting number' 2nd IE - Numbering plan identification                                                   | N/A                            | Q763: 'Redirection number' IE - numbering plan indicator                                                                                                                                                                                                   | N/A                                                                                     |                                                                                                                                                                                            |                           |
| original\_called\_number\_presentation          | Q931: 'Redirecting number' 2nd IE - Presentation indicator                                                          | N/A                            | Q763: 'Redirection number' IE - address presentation restricted indicator                                                                                                                                                                                  | SIP:Diversion (1st header) - diversion-privacy                                          |                                                                                                                                                                                            |                           |
| original\_called\_number\_reason                | Q931: 'Redirecting number' 2nd IE - Reason for redirection                                                          | N/A                            | Q763: 'Redirection information' IE - original redirection reason                                                                                                                                                                                           | SIP:Diversion (1st header) - diversion-reason                                           |                                                                                                                                                                                            |                           |
| original\_called\_number\_counter               | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | SIP:Diversion (1st header) - diversion-counter                                          |                                                                                                                                                                                            |                           |
| ported\_number\_npdi                            | N/A                                                                                                                 | N/A                            | Q763: 'Generic number' IE - with qualifier=Ported number is present                                                                                                                                                                                        | SIP:RequestURI - npdi=yes is present                                                    | Only valid if SIP/SS7 supports LNP                                                                                                                                                         |                           |
| ported\_number                                  | N/A                                                                                                                 | N/A                            | Q763: 'Generic number' IE - address signals with qualifier=Ported number                                                                                                                                                                                   | SIP:RequestURI - to user part when rn is present                                        | rn is stored in the called number                                                                                                                                                          |                           |
| ported\_number\_noa                             | N/A                                                                                                                 | N/A                            | Q763: 'Generic number' IE - nature of address indicator with qualifier=Ported number                                                                                                                                                                       | N/A                                                                                     | Only valid if SIP/SS7 supports LNP                                                                                                                                                         |                           |
| ported\_number\_npi                             | N/A                                                                                                                 | N/A                            | Q763: 'Generic number' IE - numbering plan indicator with qualifier=Ported number                                                                                                                                                                          | N/A                                                                                     | Only valid if SIP/SS7 supports LNP                                                                                                                                                         |                           |
| oli (Originating line information)              | 5ESS Codeset 6 OLI - Value                                                                                          | N/A                            | ANSI: 'Originating line information' IE - OLI                                                                                                                                                                                                              | SIP:From - oli SIP:P-asserted-identity - oli                                            |                                                                                                                                                                                            |                           |
| request\_uri                                    | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | Complete Request URI string                                                             |                                                                                                                                                                                            |                           |
| request\_uri\_forward\_enabled                  | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | N/A                                                                                     | Overwrite default URI forwarding behavior from incoming to outgoing leg                                                                                                                    |                           |
| sip\_header                                     | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | Any header                                                                              | Requires option 'Enable SIP Custom Headers' in Profiles->SIP                                                                                                                               | 2.7.63                    |
| nap (Network Access Point)                      | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | N/A                                                                                     | Incoming leg NAP name (read-only)                                                                                                                                                          |                           |
| type\_of\_network\_identification               | Q931: 'Transit network selection' IE - Type of network identification                                               | N/A                            | Q763: 'Transit network selection' IE - Type of network identification                                                                                                                                                                                      | N/A                                                                                     |                                                                                                                                                                                            | 2.7                       |
| network\_identification                         | Q931: 'Transit network selection' IE - Network identification                                                       | N/A                            | Q763: 'Transit network selection' IE - Network identification                                                                                                                                                                                              | SIP: Request-Line - cic                                                                 |                                                                                                                                                                                            | 2.7                       |
| network\_identification\_plan                   | Q931: 'Transit network selection' IE - Network identification plan                                                  | N/A                            | Q763: 'Transit network selection' IE - Network identification plan                                                                                                                                                                                         | N/A                                                                                     |                                                                                                                                                                                            | 2.7                       |
| location\_number\_forward\_enabled              | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | N/A                                                                                     | Overwrite default location number forwarding behavior from incoming to outgoing leg                                                                                                        | 2.7                       |
| location\_number                                | N/A                                                                                                                 | N/A                            | Q763: 'Location number' IE - address signals                                                                                                                                                                                                               | N/A                                                                                     |                                                                                                                                                                                            | 2.7                       |
| location\_number\_noa                           | N/A                                                                                                                 | N/A                            | Q763: 'Location number' IE - nature of address indicator                                                                                                                                                                                                   | N/A                                                                                     |                                                                                                                                                                                            | 2.7                       |
| location\_number\_npi                           | N/A                                                                                                                 | N/A                            | Q763: 'Location number' IE - numbering plan indicator                                                                                                                                                                                                      | N/A                                                                                     |                                                                                                                                                                                            | 2.7                       |
| location\_number\_presentation                  | N/A                                                                                                                 | N/A                            | Q763: 'Location number' IE - presentation restricted indicator                                                                                                                                                                                             | N/A                                                                                     |                                                                                                                                                                                            | 2.7                       |
| location\_number\_screening                     | N/A                                                                                                                 | N/A                            | Q763: 'Location number' IE - screening                                                                                                                                                                                                                     | N/A                                                                                     |                                                                                                                                                                                            | 2.7                       |
| mlpp\_forward\_enabled                          | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | N/A                                                                                     | A script needs to set this to true if it wants to overwrite MLPP information in the outgoing leg. Otherwise, profile relay 'outgoing mode' applies automatically.                          | 2.7                       |
| mlpp\_look\_for\_busy                           | N/A                                                                                                                 | N/A                            | Q763: 'MLPP precedence' IE - look ahead for busy                                                                                                                                                                                                           | N/A                                                                                     |                                                                                                                                                                                            | 2.7                       |
| mlpp\_precedence\_level                         | N/A                                                                                                                 | N/A                            | Q763: 'MLPP precedence' IE - precedence level                                                                                                                                                                                                              | SIP:Resource-Priority - q735                                                            |                                                                                                                                                                                            | 2.7                       |
| mlpp\_network\_identity                         | N/A                                                                                                                 | N/A                            | Q763: 'MLPP precedence' IE - network identity                                                                                                                                                                                                              | N/A                                                                                     |                                                                                                                                                                                            | 2.7                       |
| mlpp\_service\_domain                           | N/A                                                                                                                 | N/A                            | Q763: 'MLPP precedence' IE - MLPP service domain                                                                                                                                                                                                           | N/A                                                                                     |                                                                                                                                                                                            | 2.7                       |
| isub\_forward\_enabled                          | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | N/A                                                                                     | Overwrite default ISUB forwarding behavior from incoming to outgoing leg                                                                                                                   | 3.0.138                   |
| called\_isub                                    | Q931: 'Called party subaddress' IE - subaddress information                                                         | N/A                            | Q763: 'Access transport' IE                                                                                                                                                                                                                                | SIP:To - isub parameter                                                                 |                                                                                                                                                                                            | 2.7                       |
| called\_isub\_type                              | Q931: 'Called party subaddress' IE - type of subaddress                                                             | N/A                            | Q763: 'Access transport' IE                                                                                                                                                                                                                                | SIP:To - isub-encoding parameter                                                        |                                                                                                                                                                                            | 2.7                       |
| calling\_isub                                   | Q931: 'Calling party subaddress' IE - subaddress information                                                        | N/A                            | Q763: 'Access transport' IE                                                                                                                                                                                                                                | SIP:From - isub                                                                         |                                                                                                                                                                                            | 2.7                       |
| calling\_isub\_type                             | Q931: 'Calling party subaddress' IE - type of subaddress                                                            | N/A                            | Q763: 'Access transport' IE                                                                                                                                                                                                                                | SIP:From - isub-encoding                                                                |                                                                                                                                                                                            | 2.7                       |
| ss7\_fci\_default                               | N/A                                                                                                                 | N/A                            | Default forward call indicator (FCI) value.                                                                                                                                                                                                                | N/A                                                                                     | Toolpack will overwrite FCI bits A, D, F, I and M with appropriate values according to call conditions                                                                                     | 2.7                       |
| ss7\_fci\_force\_mask                           | N/A                                                                                                                 | N/A                            | Mask to select bits from ss7\_fci\_default that must be forced.                                                                                                                                                                                            | N/A                                                                                     | Bits from ss7\_fci\_default which corresponding bit in ss7\_fci\_force\_mask is set will be forced, and no more controlled by Toolpack                                                     | 2.7                       |
| ss7\_bci\_default                               | N/A                                                                                                                 | N/A                            | Default backward call indicator (BCI) value.                                                                                                                                                                                                               | N/A                                                                                     | Toolpack will overwrite BCI bits A, B, I, K, M and N with appropriate values according to call conditions. These values are taken from ITU Q.763, section *3.5: Backward call indicators*. | 2.7                       |
| ss7\_bci\_force\_mask                           | N/A                                                                                                                 | N/A                            | Mask to select bits from ss7\_bci\_default that must be forced.                                                                                                                                                                                            | N/A                                                                                     | Bits from ss7\_bci\_default which corresponding bit in ss7\_bci\_force\_mask is set will be forced, and no more controlled by Toolpack                                                     | 2.7                       |
| tdm\_ls\_name\_forward\_enabled                 | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | N/A                                                                                     | Enable line service and timeslot selection to create the outgoing leg. tdm\_ls\_name and tdm\_timeslot\_nb must be defined along with tdm\_ls\_name\_forward\_enabled                      | 3.0                       |
| tdm\_ls\_name (Line Service or T1/E1 trunk)     | Incoming leg line service name                                                                                      | Incoming leg line service name | Incoming leg line service name                                                                                                                                                                                                                             | N/A                                                                                     | if tdm\_ls\_name\_forward\_enabled is set, try to use this line service name to create outgoing leg                                                                                        | 2.7                       |
| tdm\_timeslot\_nb                               | Incoming leg timeslot number                                                                                        | Incoming leg timeslot number   | Incoming leg timeslot number                                                                                                                                                                                                                               | N/A                                                                                     | if tdm\_ls\_name\_forward\_enabled is set, try to use this timeslot number to create outgoing leg                                                                                          | 2.7                       |
| rtp\_local\_addr                                | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | Incoming leg local SDP IP address                                                       | (read-only)                                                                                                                                                                                | 2.7                       |
| rtp\_local\_port                                | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | Incoming leg local SDP IP port                                                          | (read-only)                                                                                                                                                                                | 2.7                       |
| rtp\_remote\_addr                               | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | Incoming leg remote SDP IP address                                                      | (read-only)                                                                                                                                                                                | 2.7                       |
| rtp\_remote\_port                               | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | Incoming leg remote SDP IP port                                                         | (read-only)                                                                                                                                                                                | 2.7                       |
| ss7\_cot\_enabled                               | N/A                                                                                                                 | N/A                            | Requests SS7 in-call continuity test for this outgoing SS7 call                                                                                                                                                                                            | N/A                                                                                     | Toolpack will request a continuity test on the timeslot before making the outgoing call. If COT fails, the call will be dropped (then another route may be attempted)                      | 2.8                       |
| reverse\_charging\_indication                   | Incoming leg Reverse charging indication IE present                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | N/A                                                                                     | If set in routing script, will add Reverse charging indication IE in outgoing leg (also use reverse\_charging\_indication\_forward\_enabled)                                               | 2.8.12                    |
| reverse\_charging\_indication\_forward\_enabled | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | N/A                                                                                     | Enable forwarding of reverse charging indication from incoming to outgoing leg                                                                                                             | 2.8.12                    |
| sip\_call\_id                                   | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | Incoming leg SIP Call-Id                                                                | (read-only)                                                                                                                                                                                | 2.9.112 / 3.0.131         |
| sip\_local\_addr                                | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | Incoming leg local SIP IP address                                                       | (read-only)                                                                                                                                                                                | 2.8.13                    |
| sip\_local\_port                                | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | Incoming leg local SIP port                                                             | (read-only)                                                                                                                                                                                | 2.8.13                    |
| sip\_remote\_addr                               | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | Incoming leg remote SIP IP address                                                      | (read-only)                                                                                                                                                                                | 2.8.13                    |
| sip\_remote\_port                               | N/A                                                                                                                 | N/A                            | N/A                                                                                                                                                                                                                                                        | Incoming leg remote SIP port                                                            | (read-only)                                                                                                                                                                                | 2.8.13                    |
| acli                                            | N/A                                                                                                                 | N/A                            | 'Additional Calling Party Information' IE - address signals. A new ISUP parameter is defined under national option to carry the actual calling party number of the ported subscriber (N2) in the IAM message across the Network.                           | N/A                                                                                     | (read-only)                                                                                                                                                                                | 3.0.143.2                 |
| acli\_nao                                       | N/A                                                                                                                 | N/A                            | 'Additional Calling Party Information' IE - nature of address indicator. A new ISUP parameter is defined under national option to carry the actual calling party number of the ported subscriber (N2) in the IAM message across the Network.               | N/A                                                                                     | (read-only)                                                                                                                                                                                | 3.0.143.2                 |
| acli\_npi                                       | N/A                                                                                                                 | N/A                            | 'Additional Calling Party Information' IE - numbering plan indicator. A new ISUP parameter is defined under national option to carry the actual calling party number of the ported subscriber (N2) in the IAM message across the Network.                  | N/A                                                                                     | (read-only)                                                                                                                                                                                | 3.0.143.2                 |
| acli\_presentation                              | N/A                                                                                                                 | N/A                            | 'Additional Calling Party Information' IE - address presentation restricted indicator. A new ISUP parameter is defined under national option to carry the actual calling party number of the ported subscriber (N2) in the IAM message across the Network. | N/A                                                                                     | (read-only)                                                                                                                                                                                | 3.0.143.2                 |
| acli\_screening                                 | N/A                                                                                                                 | N/A                            | 'Additional Calling Party Information' IE - screening indicator. A new ISUP parameter is defined under national option to carry the actual calling party number of the ported subscriber (N2) in the IAM message across the Network.                       | N/A                                                                                     | (read-only)                                                                                                                                                                                | 3.0.143.2                 |

![BackToMain](https://docs.telcobridges.com/w/images/1/1e/BackToMain.png)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://prosbcdocs.telcobridges.com/telecom-references/telecom-concepts/routing-script-parameter-mapping.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
