Effective September 30, 2026, these products will reach End of Sale and therefore will no longer be available for purchase. Effective September 2028, these products will reach End of Life. After this date, regular updates, maintenance, and technical support will be discontinued in accordance with our product lifecycle policy. For a complete list of the affected SKUs, click HERE. |
|---|
Netborder SS7 Gateway - Routing inbound calls (ss7->sip) based on the E1/T1 port
Table of Contents
Syntax:
<condition field="${freetdm_span_number}" expression="X" break="never">
<action application="bridge" data="sofia/internal/${destnumber}@<ip address>:<port>"/>
<action application="hangup" data="${originate_disposition}"/>
</condition> |
Detailed description:
In the above dialplan replace ‘X’ with the E1/T1 port you want to target.
Also replace <ip address>:<port> with IP address and port of the sip end point you want to send the traffic to
Below is an example of traffic from port 2 that routes to softswitch 1.2.3.4:5060 and port 3 that routes to softswitch 5.6.7.8:5060:
<condition field="${freetdm_span_number}" expression="2" break="never">
<action application="bridge" data="sofia/internal/${destnumber}@1.2.3.4:5060"/>
<action application="hangup" data="${originate_disposition}"/>
</condition> |
<condition field="${freetdm_span_number}" expression="3" break="never">
<action application="bridge" data="sofia/internal/${destnumber}@5.6.7.8:5060"/>
<action application="hangup" data="${originate_disposition}"/>
</condition> |
Where to place these condition statements
The above dialplan examples must be placed within the <context name="from-pstn-to-sip">> and above the ‘bridge’ line (which is line that routes the call)
|