SIP TO SIP Calling on NSG

 

  

This Document guides in creating the Dial plan for the SIP to SIP calls directly on the NSG

 

In some specific scenario, where on the NSG, where in calls will be coming from the SIP and the same call needs to be send to SIP side rather than PSTN

 

PROXY (A) ====>NSG====> PROXY(B)

 

The below rule of IP to IP calls will have very very limited functionality, where in you can send the calls, but you cannot expect an SBC functionality of security / Topology Hiding, this will just do an SIP to SIP calls only

 

On the below Dial plan / Context add your specific requirement, below is one such example, modify the IP and the numbers and the DID’s  as per your network requirement  

 

<context name="from-voip">

                <extension name="to-pstn">

-->                         

    <!--testing for ip to ip call--> ----- calls from Proxy A to Proxy B using NSG

 

          <condition field="${destnum}" expression="22028912|2202014[0-2]" break="on-true">

                  <action application="bridge" data="sofia/internal/${destnum}@1.1.1.1:5060"/>

                  </condition>

                 

<  calls from Proxy B to Proxy A using NSG>

                  <condition field="${destnum}" expression="22020652|22020145" break="on-true">

                  <action application="bridge" data="sofia/internal/${destnum}@2.2.2.2:5083"/>

                  </condition>

<!--test over-->

 

Return to Documentation Home I Return to Sangoma Support