SIP gateway
A SIP gateway enables the transport of Voice over Internet Protocol (VoIP) media between IP networks and the Public Switched Telephone Network (PSTN). A TelcoBridges media gateway can be configured as a SIP gateway using the following instructions.
Note: Before proceeding, you must first have a live system running Toolpack and be able to configure it through the Web Portal. If this is not the case, see instructions for [[Installing_Toolpack|installing and configuring] Toolpack forum or contact TelcoBridges' support team.
1. Unlock active configuration
This allows you to directly modify the active configuration instead of having to create a copy and modify the copy before applying it. This should only be used for testing or development purpose. The active configuration should never be unlocked on a production system. *Go to the System section and click on edit to modify the system parameters.
- Make sure the Lock active configuration checkbox is cleared and click Save.
2. Configure your adapter
- Go to the Hardware section and make sure your adapter is there with the right Serial Number.
- If your adapter is not there, click on Create New Hardware and fill out the form.
3. Create the SIP stack
- Go to the SIP section and click on Create New SIP.
- Fill out the form with default values and click Create.
- Click on Create New Transport Server and fill the form. Make sure to select the Ip Interface that you want to use for your SIP signaling. Click Create.
- Click on Create New Sap, fill the form and click Create.
- Add the new Transport Server to your SAP.
4. Create the NAP for your incoming phone or SIP Proxy
- Go to the NAP section and click on Create New NAP.
- Enter a name and click Create.
- In the SIP Service Access Points area, add your SIP SAP to this NAP.
- In the newly added SIP Specific Params area, set the Proxy Address to the IP address of your incoming phone or SIP Proxy.
- If your phone or SIP Proxy does not support availability detection using the OPTIONS method, uncheck the box Poll Remote Proxy?.
- Click Save.
5. Create the NAP for your outgoing phone or SIP Proxy
- Go to the NAP section and click on Create New NAP.
- Enter a name and click Create.
- In the SIP Service Access Points area, add your SIP SAP to this NAP.
- In the newly added SIP Specific Params area, set the Proxy Address to the IP address of your outgoing phone or SIP Proxy.
- If your phone or SIP Proxy does not support availability detection using the OPTIONS method, uncheck the box Poll Remote Proxy?.
- Click Save.
6. Configure your Gateway routes to forward all calls from the incomfing NAP to the outgoing NAP
- Go to the Gateway/Configurations section and click on edit.
- Go down to the Editing Routes area and click on Create New Route.
- Select your incoming NAP for NAP and your outgoing NAP for Remapped NAP.
Note: You can create a route in the opposite direction also if you want by repeating the last 2 steps and inverting incoming and outgoing NAP.
7. Apply the new configuration
- Go to the System section and click on edit to modify the system parameters.
- In the Activate configuration area, click on Activate.
- Verify that the new configuration was activated successfully and fix errors if any.
8. Do a test call
- Using your incoming phone (IP address of this host must be the one you use when configuration the incoming proxy in step 4), place a call to '123-4567@[SIGNALING_IP]' where [SIGNALING_IP] is the IP address of the port on which you configured your SIP Signaling at step 3.
- The gateway will forward the call to the IP address of the proxy you configured in step 5.