How to Integrate TG VoIP GSM Gateway with AVAYA IP Office

Yeastar TG Series VoIP GSM Gateways can be integrated with Avaya IP Office, so the latter can have an extra GSM/3G/4G trunk. In this article, we will explain how to integrate TG VoIP GSM Gateway with an Avaya IP Office 500V2 System.

All TG Series, support 1 to 16 GSM or 3G or 4G channels, share the same settings and GUI. And we will use TG200 as an example. We have a SIP trunk channels license 5 in the Avaya system, so we can create the SIP trunk (without registration, but peer to peer) between TG and Avaya. The two devices' IP addresses are as follows; they need to be on the same subnet mask.

Avaya IP Office 500V2 Control Unit IP Address:

Yeastar TG IP:

Note : Before this integration, please make sure there is a SIP Trunk Channel license in Avaya IPO500v2.

IPO sip trunk channel

1. Create a VOIP trunk in Avaya

1.1. Fill in the IP address of TG ( in the field of ITSP Domain Name.

Path IP Office System : Line >Right Click > New > SIP Line

avaya ip office sip line


1.2. Add a new SIP URI in this new SIP line, those settings in this URI are default settings, Here we need to note down the numbers of Incoming Group and Outgoing Group. (Here they are 3.)

Path IP Office System: while on the SIP Line screen, click on the Tab SIP URI.


2. Create a VOIP trunk (Service Provider) in TG device


In the Hostname/IP field, make sure you put the AVAYA’s IP address, Trunk type must be “Service Provider ”

After creating this VOIP trunk in the TG device, you must check the connection between the AVAYA and the TG, go status Tab to verify if everything is ok.

Path TG: Status -> Trunk Status

Since a VOIP trunk has been created between the AVAYA and the TG, we need to set up some rules to route the incoming call as well as the outbound call.


3. Create a Mobile Group on TG.

Path TG: Gateway -> Mobile list -> Mobile Group,

We can group the existing GSM channels into a single group. On this TG200, we have two GSM channels, and the Strategy could be either Sequence or Balance. We will go for “Sequencehere. Also, move all the existing GSM channels to the selected field. If you want to create multiple groups, you can break the group members into different groups. We will create one group with the two existing GSM channels. For the group name field, give a name to help you identify it, for example, ALL_GSM.


4. Now let’s set up both systems so users can make and receive calls.

4.1. Create a Mobile to IP on the TG device.

Path TG: Gateway -> Routing setting -> Mobile to IP

Simple Mode: No

Route Name: TG_to_AVAYA

Call Source: Choose the mobile Group created previously (All_GSM)

Call Destination: Choose the service provider that we created: SPS – AVAYA

Hotline: you can enter an extension number that is registered on the Avaya IP Office system. For those with some knowledge of AVAYA, this number could be either an Xtension number or a Huntgroup number.

Strip: Leave as default. 0.

4.2. Create an incoming call route on AVAYA IP Office system.

First, let’s create an ARS on the IP office system. (It’s very IMPORTANT)

IP Office path: ARS -> Right Click -> New

In the Route Name field, give a name for this route. Make sure that "Secondary Dial tone' and “Check User Call Barring" are checked. These two checkboxes will helpful for advanced configuration. At the bottom, you need to create a short code. At last, click Add.


Code: XN; It will accept any code you create in the Short Code field between 0-9.

Feature: Dial

Telephone number: N;

Line group: 3, this is the group created on the SIP Line

Now let’s create an Incoming call on.

Path Ip office: Incoming -> Right click -> New

On the Standard Tab, the Bearer Capability must be Any Voice.

Line group ID: 3, the group ID created in the SIP Line. Leave all the rest as default.

Now click the Destination Tab, and pick up the extension number 101, the same extension that we put in the TG when creating a Mobile to IP route.

Save and make an inbound call, you will see that this Extension rings.


4.3. Now let’s give users access to make an outbound call using the trunk.

First, we must create an IP to Mobile on the TG device.

Path: Gateway -> Routing setting -> IP to Mobile.

Simple mode: No

Route Name: AVAYA_to_TG

Call source: SPS – AVAYA

Call Destination: Mobile Group – ALL_GSM

Two Stage Dial: No, so users will press only one number before dialing out. E.g. 8 Plus phone number -9 Plus phone number -0 Plus phone number.


4.4. Create a shortcode on IP Office ;

Path IP Office: Shortcode >> Right Click >> New

In the Short Code tab,

Code: 8N, so users will press 8 before dialing out, you can put any number between 0-9, (XN; remember this code previously created).

Feature: Dial

Telephone Number: N

Line Group ID : 51: Debut (this is from the ARS we created)

Let’s make an outbound call, from any phone registered In IP Office (Analog, Digital or IP) just press 8, you will have a dial tone, and you will be able to dial out.

Many thanks Telly METIVIER |||| Network/VOIP Administrator for helping us complete this document.

Have more questions? Submit a request


  • 0

    There are 3rd-party solutions in the market for this type of integration. One of them is Tenfold. It supports more than 150 phone systems, including Avaya.

  • 0

    Hello ...

    I have Completely finished the configuration between Avaya IPO 500v2 and Neogate TG400 ... Almost is done, I can receive incoming calls via this integration, the problem is when making outgoing calls, the call is rejected and the SIP message code is 603 Decline.

    I don't know if there anything missing in gateway configuration becauseI follow the above articles.




  • 0

    I have the same issue call rejected. Have you found a solution?




  • 0

    Hello !

    Have you both created short code on IPO system to pick the line,

    Let me know ...


    Thanks !

  • 0

    Hello Eng Majdi Al-Qatatsheh,

    Have you been able to solve this issue?




  • 0

    Indeed__ What IP PBX you work with ?


    Thanks !


  • 0

    I use Avaya Ip office 500 V2.


    Tanis Patrick

  • 0

    Okay, i pretty sure you have installed the 3rd party SIP trunk licence on IPO.

    What model TG Neogate you work with  ?

    There is a default route on TGXX series for outbound and inbound calls,you must delete them  and create your own route, also on IPO system you need to create the short code that allow you  to make outbound call via TG GSM Gateway.


    Please follow the instruction and review your configuration , it always work for me. 


    Thanks !

  • 0

    I have followed the instruction. I have also in user rights put the short code in Avaya. 

  • 0

    Fine !

    Please contact me in this email @  : if you do not want to display your ID for a remote viewing online.


    Thanks !


  • 0

    This Solution also works for  Avaya G450 Enterprise PABX, we tested it and success! 

  • 0

    Hey Guys, 

    I cant get inbound to work even after following the manual. see below SIP TRACE error while making an inbound call.

     17:28:02  680994073mS CMCallEvt:    0000000000000000 0.1861.0 -1 BaseEP: NEW CMEndpoint f681d830 TOTAL NOW=1 CALL_LIST=0
     17:28:02  680994073mS CMMap: IP::SetCodec pcp[798]b0r0 0 -> f6815538
     17:28:02  680994073mS SIP Tx: UDP ->
                        SIP/2.0 503 Service Unavailable

    Kind Regards

Please sign in to leave a comment.