/
Netborder SS7 Gateway - Adding national (0) or international (00) prefix on inbound calls
Netborder SS7 Gateway - Adding national (0) or international (00) prefix on inbound calls
From the NSG webgui, navigate to the Dialplan via the left column. Edit the information inside the "to-sip" extension, which resides inside the "from-pstn" context. Below is an example of a stock NSG dialplan:
Within the "to-sip" extension tags add the following syntax to prefix the inbound call for national (0) or international (00) calls:
National call:
<condition field="${freetdm_ss7_clg_nadi}" expression="3" break="never">
<action application="export" data="sip_h_X-FreeTDM-CallerNumber=0${caller_id_number}"/>
</condition>
International call:
<condition field="${freetdm_ss7_clg_nadi}" expression="4" break="never">
<action application="export" data="sip_h_X-FreeTDM-CallerNumber=00${caller_id_number}"/>
</condition>
Below is an example that implements the above:
*Note: make sure to add the above syntax BEFORE the bridge dialstring (or add to top of context):
<action application="bridge" data="${sofia_contact($${gwuser}@$${domain})}"/>
For informational purposes only:
Below is an example from a wireshark trace of the NADI value (Nature of Address)
national
| international |
, multiple selections available,
Related content
Netborder SS7 Gateway - Forcing NADI values on outbound calls (sip-->ss7) to national/international
Netborder SS7 Gateway - Forcing NADI values on outbound calls (sip-->ss7) to national/international
More like this
Netborder SS7 Gateway - Location Number X/SS7-Headers
Netborder SS7 Gateway - Location Number X/SS7-Headers
More like this
Netborder SS7 Gateway - Sending Calls to PRI (NVG)
Netborder SS7 Gateway - Sending Calls to PRI (NVG)
More like this
Netborder SS7 Gateway - SIP TO SIP Calling on NSG
Netborder SS7 Gateway - SIP TO SIP Calling on NSG
More like this
Netborder SS7 Gateway - Routing inbound calls (ss7->sip) based on the E1/T1 port
Netborder SS7 Gateway - Routing inbound calls (ss7->sip) based on the E1/T1 port
More like this
Dialogic IMG - International SIP to SS7 NOA conversion
Dialogic IMG - International SIP to SS7 NOA conversion
More like this