You are on page 1of 13
TECHNICAL NOTE ALLOY Author: Adam Wells Date: _ January 30, 2013 ELASTIX AND TOPEX GSM GATEWAY CONFIGURATION SETUP 1. Introduction The purpose of this document is to outline the procedure for creating a SIP trunk between Elastix PBX systems and TopexGSM Gateways to allow for inbound and outbound calls to traverse through one another. This guide will go through steps of adding a SIP trunk in Elastix, configuring Inbound and Outbound call routes, and the setup of the Topex GSM Gateway VoIP and PBX Settings. The equipment and version numbers used for this example are Topex Mobilink-1P- Firmware Version 1.1.40-C10-SFX. IP address: 192.168.1.11 Elastix PBX - Version 1.5.22 IP address: 192.168.1.4 Note: This guide explained will show the basic setup steps with minimal configuration parameters; however this can be expanded upon should your setup require more complex configurations. ‘We will also be performing the entire PBX configuration of Elastix via the Web GUI, however this can be done via Command line Interface if preferredthough this will not be covered in this guide. Alloy Computer Products Pty Ltd ‘ABN 1.006 507 473 4/585 Blackburn Road Notting Hill3168 Victoria, Australia Telephone:03 8562 9000 Facsimile: 03 8562 9099 2. Contents 1. Introduction... 2. Contents.. 3. Creating a SIP trunk within Elastix.... 4. Configuring Outbound Routes with Elastix... 5. Configuring Inbound Routes with Elastx... 6. Changing the IP address of the Topex GSM Gateway. 7. Verifying GSM Connectivity. 8. Setting IP Access.. 10 9. Configuring the PBX Trunk Settings .....nssmnnnnnnarennnnniennnnnsnnunnennnnnsnnneenel 10. Configuring Incoming Calls... od 11. Configuring Outgoing Calls 3 3. Creating a SIP trunk within Elastix. To create the SIP Trunk in Elastix, the first step is to log into the web interface with your PBX credentials. Once logged in, select the PBX tab from the top of the screen, and then click the Trunks side menu. Now select Add SIP Trunk from the Add a Trunk Heading elastix Ser ee ete ee aah Add a Trunk Unembedded freePBX Basi © Add Zao Trunk (DAHDI compatibility mode) extensions @ Add IAX2 Trunk Feature Codes General Settings © Add SIP Trunk outbound Routes © Add ENUM Trunk Trung a orto} ® dd DUNDI Trunk Inbound Routes © Add Custom Trunk Announcements Follow Me IWR Misc Destinations Queues Ring Groups Time Conditions itotnal Options & Configuration Conferences Mise Applications Music on Hold FIN Sets ‘The details that are required for the SIP trunk to function are ial Rules: This is what numbers are permitted to use this SIP Trunk. if you want to allow everything, enter a wildcard digit of . (full stop) To configure more restrictive dial rules, mouse over the Dial Rules Heading for examples. Please note this means ALL of your outbound calls that use this trunk will be permitted. Using a full stop to catch all calls isnot recommended, poses a security risk and is only illustrated here for instructional purposes. ‘Trunk Name: This is the name of the SIP trunk. In the example we have used the name topex Peer Details: These are the details of the SIP trunk to the Topex Gateway. The Gateway is on the IP address of 192.168.1.11 host = 192.168.1.11 (this is where it will send the calls to) type = peer insecure=very (this option is because the SIP trunk from the Elastix PBX to the Topex requires no authentication) User Context: The name of the User Context User Detail These are details of the SIP trunk User Context details type=user context=from-trunk insecure=very a ie Rules ecsgplenone utbound Dial Pref gt PEER Datal: b Once the details are all entered, select submit, then apply configuration changes at the top of the screen. ea Cort care Eat SIP Trunk - = Dest Tan Fie Ti con i 4. Configuring Outbound Routes with Elastix To configure so outbound calls will be directed to the Topex Gateway, we need to add an outbound route. Click the Outbound Routes menu on the left hand side and select Add Route. Route Name: This is the label of the Route Dial Patterns: imilar to Dial Rules on the previous section. To map all outbound calls to use this route, enter in a full stop. Please note this means ALL of your outbound calls will use this route. Using a Full stop to catch all calls isnot recommended or secure, and is only illustrated here for instructional purposes. Trunk Sequence: Select the Trunk created in the previous step EG SIP/Topex Qers ten Add Route Lunembedted freer ask Route Nama: itbounda etenstons Route Password Feature Codes PIN Sat ia General Settings Emergency Dialing Outbound Routes Intra Company Route “runks Musle On Hole? rool Ineouns cl Con Dial Patterns: a = Ingound Routes E Announcements Fellow me a me Mise Destinstions Dial pattems wizards: [im Queues Trunk Sequence fing Groupe | “hve Conatone a ial pine Sl — Conferences mise Appleatons biuseon Hoi FIN sets Click Submit changes, then Apply configuration changes here. 5. Configuring Inbound Routes with Elastix To configure so inbound calls will be directed to the desired destination, we need to add aninbound route. Click the Inbound Routes menu on the left hand side and select Add Incoming Route. Oeiast x Unembedces Freep Add Incoming Route Fests cose ‘View cxrerd 01D rer Satna Vier unused bibs ouwoune Routas — Sra Route: 1001/ aS ie Fallow He Mm edit Extension 101 (101) ing Groups “rm Conations Deseription thts Topas ate wansiceies Panui DID Number soot Conferences Coller 1 Number ts Repicauons GID Pronty Route Description: A Description of the incoming route EG: Inbound Topex calls, DID Number: This is the assigned number that the call will come in from the Topex Gateway. We have used 11001 for this example. When the call comes in from the Topex Gateway, it tags the call with a DID Number. ‘We will outline this in the Topex Gateway Configuration section. Set Destination: Set where you want the Inbound call to terminate to. Select Submit and Apply Configuration Changes Source fee Sot Dostination © Conferences, [Perfeerae Be <0] © IVR: [ornare] © Quouos [rest ani © Teminate Cal: [ese © Extensions [tos 302] © Voicemail: [aor tor toad ST © Phonebook Directory [Frersteck bres] suiamic Clear Destinanan & Submit h ALLOY 6. Changing the IP address of the Topex GSM Gateway To configure the Topex Gateway, the first step is to change the IP address of the Gateway. By default, the IP address is 192.168.173.1. This can be accessed through the web interface with HTTPS. EG https://197.168.173.1 Select IP Settings, then modify the IP address, Subnet Mask, Default Gateway and DNS Server. Click Save, and then Commit on the left hand side. ae (TI EY noni ine ETE) aaSas 7. Verifying GSM Connect To Verify the 26/36 sim cardis connected and picking up a signal, this is done via the Mobile Menu Select Mobile, then Settings and click the Load button. From here, it will show if the PIN is ready, and if itis picking up a signal. ALLOY 8. Setting IP Access By Default, the Allowed IP range to use the Topex gateway is 192.168.0.0/16. This will cover any 192.168.0.0 range, however if you have changed the IP address outside of this range you will need to Update the Topex Gateway to reflect on this. To Modify, Select the PBX menu on the left hand side, and then select Access In. Make the necessary changes and select Save and then commit. =a 10 ALLOY 9. Configuring the PBX Trunk Settings To send calls between the Topex Gateway and the Elastix PBX, we need to specify the IP address, Protocol and Port numbers of the Elastix PBX on the Topex Gateway. Select PBX and then Settings. PBX IP Address: Enter the IP address of the Elastix PBX, eg 192.168.1.4 Protocol: SIP Port: 5060 Select Save, then Commit a 10. Configuring Incoming Calls To configure the destination of inbound calls that come in from the Topex Gateway, this is done from the Incoming calls section. Select the PBX Menu, then Incoming calls. Status:if the rule is Enabled or Disabled Interface: The GSM Card attached to the Topex Gateway. Target: The Destination you want the call to route to. With this field it will set a DID to the call, which will then be managed via the Incoming Routes section of the Elastix PBX. EG in this example we have set the target to 1001. Because we also have 1001 set as a DID in the Incoming Routes section of the PBX this will match. If these two values do not match, it will then divert to a catch all on the Elastix PBX, should one be configured, otherwise the call will drop. Save and then Commit. 2 ALLOY 11. Configuring Outgoing Calls No additional configuration is required to allow outbound calls once the SIP trunk has been established between the Elastix PBX and the Topex Gateway. The System should now be ready to use. 3

You might also like