The following guide demonstrates how to configure a Yeastar Neogate TG200 gateway on a Positron G - Series Asterisk based PBX system. The purpose of the Gateway is to allow the Positron unit to route mobile to mobile calls over the GSM network.
Configuring the Yeastar Neogate Gateway
Log in to the Yeastar Gateway and select SIP Settings
Select Service Provider as a connection method. Input the address of the Positron Appliance.

Select outbound rule and create a new outbound rule. Configure a dial pattern as appropriate. In this example I've used 07. as the pattern. This ensures that all calls starting with 07 are passed over the GSM trunks as appropriate. Select the SIMs to be used for outbound calls as appropriate.

Select inbound rule and create a new inbound rule. Enter a direct Number which will be used as the inbound DID on the Positron PBX. Select the Sims for inbound calls as appropriate.

Configuring the Positron G Series PBX
Create a SIP trunk on the Positron PBX (PBX - Trunk/Lines - Trunk/Lines ). No username or passwords are required. The hostname should be the address of the Neogate Gateway.

Create an outgoing line group (PBX - Trunk/Lines - Outgoing Line Groups ) and select the newly created GSM1 sip trunk.

Either use one of the default outbound call rules or create a new outbound rule (PBX - Call Handling - Outbound Call Rules)

Create a new rule to route calls through the Neogate Gateway. The example pattern below routes all calls starting with 07 to the GSM outgoing line group.

Create an inbound call rule (PBX - Call Handling - Incoming Call Rules) Select the GSM1 trunk.

Finally create a pattern rule for the GSM inbound rule. The pattern (DID) must match that defined in the Yeastar Neogate inbound rule. In this case it is 101. The 'to' address is the extention, IVR or group you wish to recieve the inbound call.

Apply the configuration on the Positron and the installation is complete.