How to Connect MyPBX to NeoGate TG via SIP Trunking Version: 1.0 Yeastar Technology Co., Ltd. Date: 2013.11.16 http://www.yeastar.com 1/11
Contents: 1. Introduction... 3 2. Connect MyPBX to NeoGate TG... 4 2.1 Create a Service Provider SIP trunk on MyPBX... 4 2.2 Create a VoIP Trunk on NeoGate TG... 4 3. IP to Mobile... 5 3.1 Create an Outbound Route on MyPBX... 5 3.2 Create a Mobile Group on NeoGate with "Balance" Strategy... 6 3.3 Create an IP to Mobile Route... 7 4. Mobile to IP... 8 4.1 Create a Mobile to IP Route on NeoGate TG... 8 4.2 Create an Inbound Route on MyPBX... 10 4.3 Make a Call to MyPBX through NeoGate TG... 11 http://www.yeastar.com 2/11
1. Introduction This application note shows how to connect MyPBX to NeoGate TG via SIP trunking. In this guide, we will take NeoGate TG800 as an example; the same configuration will apply other TG series products. Target: 1. Make outbound calls from MyPBX via the GSM trunks of NeoGate TG directly. 2. Receive calls from GSM trunks of NeoGate TG at MyPBX. Description: IP address of MyPBX: 192.168.5.143 IP address of NeoGate TG800: 192.168.5.149 Figure 1 http://www.yeastar.com 3/11
2. Connect MyPBX to NeoGate TG 2.1 Create a Service Provider SIP trunk on MyPBX Path: PBX Trunks VoIP Trunk Add VoIP Trunk Fill in the IP of NeoGate TG in the Hostname/IP field. Figure 2 After saving and applying the changes, you will see the trunk is registered in Line Status. Path: Status Line Status Trunk Status Figure 3 2.2 Create a VoIP Trunk on NeoGate TG Path: Gateway VoIP Settings VoIP Trunk Add VoIP Trunk Choose Service Provider mode, and fill in MyPBX IP address. http://www.yeastar.com 4/11
Figure 4 Trunk Type: Service Provider Provider Name: MyPBX Hostname/IP: 192.168.5.143 After saving and applying the changes, you will see the trunk is Registered in Line Status. Path: Status System Status Trunk Status Figure 5 3. IP to Mobile In this section, we will configure outbound call from MyPBX through Neogate TG. Figure 6 3.1 Create an Outbound Route on MyPBX Path: PBX Outbound Call Control Outbound Routes Choose the SIP trunk "NeoGate_TG" and set the rule for the outbound as the picture shows, which allows users to dial any number. http://www.yeastar.com 5/11
Figure 7 Dial Pattern: X. Strip: 0 digits from front Seleted Trunk: Neogate_TG(SPS) 3.2 Create a Mobile Group on NeoGate with "Balance" Strategy There are multiple GSM channels installed in NeoGate TG for outbound calls. Here is an example: Customer wants to dial external numbers on MyPBX side through NeoGate TG directly, NeoGate TG should route the call via the GSM trunk which is least used. Path: Gateway Mobile List Mobile Group In this example, we need to choose all GSM channels to the right, as for strategy, we can choose Balance mode. http://www.yeastar.com 6/11
Save it and apply the changes. Figure 8 3.3 Create an IP to Mobile Route Path: Gateway Routes Settings IP to Mobile Figure 9 http://www.yeastar.com 7/11
Simple Mode: No Choose Simple Mode to No, you will see the advanced settings. Call Source: SPS-MyPBX Call Destination: Mobile Group--All_GSM The default setting X. for Outbound Dial Pattern allows users to call any external number out without restriction. Save it and apply the changes, then you can make outbound calls from MyPBX via NeoGate TG directly. 4. Mobile to IP In this section, we will configure incoming call to MyPBX through Neogate TG. Figure 10 4.1 Create a Mobile to IP Route on NeoGate TG Path: Gateway Routes Settings Mobile to IP http://www.yeastar.com 8/11
Figure 11 Simple Mode: No Choose Simple Mode to No, you will see the advanced settings. Call Source: Mobile GSM1. You can select any GSM line or mobile group. Here we select GSM1 as an example. Call Destination: SPS-Elastix. All the calls from GSM1 will be sent to MyPBX via this trunk. Hotline: 15105989843. You can enter the number as 15105989843 in this field, which is the SIM card number. http://www.yeastar.com 9/11
4.2 Create an Inbound Route on MyPBX Route Name: From_NeogateTG DID Number: 15105989843. DID number should be same to the Hotline number which you set in TG s Mobile to IP route. Selected Trunks: Neogate_TG, which is created on MyPBX connecting to Neogate TG. Destination: IVR-Welcome. The call which DID is 15105989843 will reach the IVR-Welcome. http://www.yeastar.com 10/11
4.3 Make a Call to MyPBX through NeoGate TG Now we can test incoming calls for MyPBX. If you dial the GSM1 number on Neogate TG, the call will be routed to the IVR on MyPBX. Note: If there is no "Hotline" set for "Mobile to IP" route on Neogate TG, when you dial the GSM trunk number on TG, a ring tone will be heard after the call is connected. Then, you dial the number to reach MyPBX. <End> http://www.yeastar.com 11/11