10.2.3 Connection of a GSM gateway Before proceeding with configuration of ISDN make sure to: Screw the antenna into the ANT jack plug of the gateway Insert the SIM card (press the yellow button to make the SIM tray pop out) Note: Make sure the PIN code of the SIM card is disabled Connect the WAN interface of the gateway to Wildix Switch Provision the gateway Once you have provisioned the gateway, a new trunk automatically appears in the corresponding section in WMS > Trunks (GSM/UMTS). Double click on the trunk to edit the trunk parameters. Check the following parameters: Default Tone Country Code Dialplan (“main” by default - Dialplan procedure used for calls on this trunk) Number of SIM: the number corresponding to the line which is present in the associated Dialplan procedure Enable SMS receiving: enable incoming SMS messages to the SIM card (it’s necessary to specify the e-mail address in the field below) SMS2EMAIL service e-mail: e-mail address used for new messages notifications For more information on SMS sending - consult the Fax server guide DOCUMENTATION: Fax Server Guide (SMS sending): Quick installaton guide and media gateways datasheet: GSM trunk settings guide: Appendix 5: groups Go to WMS > Trunks > Trunk groups Trunk groups allows implementation of an intelligent least call routing strategy. Trunk groups make sense when you have many trunks and you would like to set up a certain priority in which trunks must be tried one after another. Example: you would like to route the calls to mobile numbers via GSM trunk, however you would like to have the opportunity to place a call even in a situation when GSM trunk is occupied: In this case call is routed via GSM trunk, if it’s busy, call is routed via the ISDN trunk. It is possible to remove or prepend digits to called number, set up the maximum concurrent on each trunk and define the timeout after which the system tries to place a call via the next trunk in the trunk group.
Select the Dialplan application that allows modifying the called number, for example “Dial the phone” → “Set”: “Remove” - “2”: two digits are removed, the number is changed to 231111 “prepend digits” - “00”: “00” is appended, the number is changed to 0023111 “Custom”: you can completely change the called number, for example, enter 1234: the number is changed to 1234 Jump to another procedure In the same way, many Dialplan applications allow under certain conditions jumping to a different Dialplan procedure. Example: you would like to treat incoming calls in a different way during the hours when your offices are closed. Create a timetable “Closed” in WMS > Dialplan > Timetables / Switches and set up the state “check time”. It means that each time this Timetable is verified by the Dialplan, the system checks if your offices are closed at the moment, according to this timetable. Edit the “main” procedure and add the application “Verify timetable” for your office phone number. In case your offices are closed, the Dialplan routes the call to another procedure called “Offices_closed”. You must separately create this Dialplan procedure in which, for example, you enable the system to play the audio message to the caller and send the call to Voicemail. DOCUMENTATION: Dialplan applications guide with practical examples: PART 12. Dialplan practical examples In this part we will how to use the most popular Dialplan applications for managing outgoing and incoming calls.