Parameter: LNP Options: Outgoing Calls LNP Mode: Difference between revisions
(Created page with "No LNP insertion * No LNP field is inserted in the outgoing leg. (Default). Relay LNP information * LNP fields are inserted in the outgoing leg only when they are received in...") |
(add outgoing lnp table) |
||
| Line 7: | Line 7: | ||
Always insert LNP information | Always insert LNP information | ||
* LNP fields are inserted in the outgoing leg regardless of their presence in the incoming leg. | * LNP fields are inserted in the outgoing leg regardless of their presence in the incoming leg. | ||
The following table contains the pseudo-code of the mapping to the outgoing call according to the configuration AND what was present in the routing script variables: | |||
<br /> | |||
'''CPN''' = called party number or the TO sip header<br /> | |||
'''called''' = called number variable accessible in routing script<br /> | |||
'''GAP''' = generic address number SS7 information element type 0xc0<br /> | |||
'''ported_number''' = extra number type accessible in the routing script<br /> | |||
'''RN''' = rn field in SIP request URI<br /> | |||
'''bitM''' = SS7 Forward call indicator information element: ported number translation indicator (bit M)<br /> | |||
'''X''' = drop number<br /> | |||
<br /> | |||
{| class="wikitable" | |||
|- | |||
! Outgoing NAP config.!! Outgoing SS7 !! Outgoing SIP | |||
|- | |||
| No insertion || bitM = 0<br />if ported_number then<br /> | |||
: ported_number => CPN<br /> | |||
: called => X<br /> | |||
else<br /> | |||
:called => CPN | |||
|| RN and ndpi not present<br />if ported_number then<br /> | |||
: ported_number => CPN<br /> | |||
: called => X<br /> | |||
else<br /> | |||
: called => CPN | |||
|- | |||
| Always || bitM = 1<br />ported_number => GAP<br />called => CPN || ndpi=yes<br />if ported_number then<br /> | |||
: called => RN<br /> | |||
: ported_number => CPN<br /> | |||
else<br /> | |||
: called => CPN<br /> | |||
: RN not present | |||
|- | |||
| Relay || called=>CPN<br />if ported_number then<br /> | |||
: bitM = 1<br /> | |||
: if ported_number is empty then<br /> | |||
:: ported_number => X<br /> | |||
: else<br /> | |||
:: ported_number => GAP <br /> | |||
else<br /> | |||
: bitM = 0 | |||
|| if ported_number then<br /> | |||
: ndpi=yes<br /> | |||
: if ported_number is empty then<br /> | |||
:: called => CPN<br /> | |||
:: RN not present<br /> | |||
: else<br /> | |||
:: called => RN<br /> | |||
:: ported_number => CPN<br /> | |||
else<br /> | |||
: called => CPN | |||
|} | |||
[[Category:Parameters]] | [[Category:Parameters]] | ||
Revision as of 17:26, 10 December 2012
No LNP insertion
- No LNP field is inserted in the outgoing leg. (Default).
Relay LNP information
- LNP fields are inserted in the outgoing leg only when they are received in the incoming leg.
Always insert LNP information
- LNP fields are inserted in the outgoing leg regardless of their presence in the incoming leg.
The following table contains the pseudo-code of the mapping to the outgoing call according to the configuration AND what was present in the routing script variables:
CPN = called party number or the TO sip header
called = called number variable accessible in routing script
GAP = generic address number SS7 information element type 0xc0
ported_number = extra number type accessible in the routing script
RN = rn field in SIP request URI
bitM = SS7 Forward call indicator information element: ported number translation indicator (bit M)
X = drop number
| Outgoing NAP config. | Outgoing SS7 | Outgoing SIP |
|---|---|---|
| No insertion | bitM = 0 if ported_number then
else
|
RN and ndpi not present if ported_number then
else
|
| Always | bitM = 1 ported_number => GAP called => CPN |
ndpi=yes if ported_number then
else
|
| Relay | called=>CPN if ported_number then
else
|
if ported_number then
else
|