Page 1
SWG-1016 User Manual OpenVox Communication Co Ltd SWG-1016 Gateway User Manual Version 1.0 OpenVox Communication Co. ,LTD. URL: www.openvox.cn...
Page 2
Address: 10/F, Building 6-A, Baoneng Science and Technology Industrial Park, Longhua New District, Shenzhen, Guangdong,China 518109 Tel: +86-755-66630978, 82535461, 82535362 Business Contact: sales@openvox.cn Technical Support: support@openvox.cn Business Hours: 09:00-18:00(GMT+8) from Monday to Friday URL: www.openvox.cn Thank You for Choosing OpenVox Products! OpenVox Communication Co. ,LTD. URL: www.openvox.cn...
Page 3
OpenVox has made every effort to ensure that the information contained in this document is accurate and complete; however, the contents of this document are subject to revision without notice. Please contact OpenVox to ensure you have the latest version of this document.
Page 4
SWG-1016 User Manual Revise History Version Release Date Description 7/11/2017 First Version OpenVox Communication Co. ,LTD. URL: www.openvox.cn...
SWG-1016 User Manual Contents 1. Overview ................................8 1.1 What is SWG-1016C? ..........................8 1.2 Application ..............................8 1.3 Main Features .............................. 9 1.4 Physical Information ............................ 9 1.5 Software ..............................10 2. System .................................. 10 2.1 Status ................................. 10 2.2 Time ................................
Page 6
SWG-1016 User Manual 4.1.2 Add New IAX2 Endpoint ........................33 4.2 Advanced SIP Settings ..........................38 4.2.1 Networking ............................. 38 4.2.2 Paesing and Compatibility ......................41 4.2.3 Security ............................43 4.2.4 Media .............................. 44 4.2.5 Codec Settings..........................44 4.3 Advanced IAX2 Settings ..........................45 4.3.1 General Settings ..........................
SWG-1016 User Manual 1. Overview 1.1 What is SWG-1016C? OpenVox SWG-1016C gateway supports 16 CDMA Channels and 1 Ethernet interface. And the band is 800MHz. SWG-1016C gateway supports multiple codecs, including G.711U, G.711A, GSM, G.722, G.723, G.726, G.729 multiple coding. Our products support SMS messages sending, receiving, group sending and SMS to E-mail.
SWG-1016 User Manual Medium Signal Quality During a Call Best Signal Quality During a Call Network Status LED Green and Flash Network Connected Power LED Always Green The power supply is plugged in 1.3 Main Features Based on Asterisk®...
SWG-1016 User Manual Temperature: -20~70° C (Storage) 0~40° C (Operation) Operation humidity:10% ~ 90% non-condensing 1.5 Software Default IP : 172.16.98.1 Username: admin Passward: admin For first time, you can access SWG-1016C using default IP 172.16.98.1. Then configure the module as you want.
Page 11
SWG-1016 User Manual Table 2-1 Description of System Status Options Definition Port Number of CDMA ports. Signal Display the signal strength of in each channels of CDMA. Bit Error Rate. Carrier Display the network carrier of current SIM card. Registration Indicates the registration status of current CDMA module.
SWG-1016 User Manual answered calls. Answer Seizure Ratio is a measure of network quality. Its calculated by taking the number of successfully answered calls and dividing by the total number of calls attempted. Since busy signals and other rejections by the called number count as call failures, the ASR value can vary depending on user behavior.
SWG-1016 User Manual Sync from NTP Sync time from NTP server. Sync from Client Sync time from local machine. For example, you can configure like this: Figure 2-2 Time Settings You can set your gateway time Sync from NTP or Sync from Client by pressing different buttons.
SWG-1016 User Manual Login Mode http and https: You can access gateway via link: http://gatewayIP https://gatewayIP https: You can only access gateway via link: https://gatewayIP Port Specify the web server port number. For example, you can configure like this: Figure 2-3 Login Settings Notice: Whenever you do some changes, do not forget to save your configuration.
SWG-1016 User Manual Figure 2-4 Language Settings 2.4.2 Scheduled Reboot If switch it on, you can manage your gateway to reboot automatically as you like. There are four reboot types for you to choose, “By Day, By Week, By Month and By Running Time”.
SWG-1016 User Manual If you press "OK", your system will reboot and all current calls will be dropped. Asterisk Reboot is the same. 2.5.2 Update Firmware We offer 2 kinds of update types for you, you can choose System Update or System Online Update. If...
SWG-1016 User Manual 2.5.4 Restore Configuration Sometimes there is something wrong with your gateway that you don’t know how to solve it, mostly you will select factory reset. Then you just need to press a button, your gateway will be reset to the factory status.
Page 18
SWG-1016 User Manual Figure 3-1 CDMA Settings On this page, you can see your SIM Card information and CDMA module status,click action button to configure the port. Figure 3-2 Port Configuration If you have set your Pin Code, you can check on like this: Figure 3-3 PIN Code Application OpenVox Communication Co.
Page 19
SWG-1016 User Manual If you want to hide your number when you call out, you can just switch CLIR “ON” (Of course you need your operator’s support) Figure 3-4 CLIR Application Table 3-1 Definition of CDMA Settings Options Definition Name The alias of the CDMA port.
SWG-1016 User Manual 3.1.1 Call Duration Limit Settings Now we can offer you two types of call duration limit, you can choose “Single Call Duration Limit” or “Call Duration Limitation” to control your calling time Single Call Duration Limit: This will limit the time of each call.
Page 21
SWG-1016 User Manual The same algorithm with single time limitation, the total calling time of this port can’t beyond the product of “Step” and “Call Duration Limitation”. If the duration of a call is less than “Minimum Charging Time”, it will be not included in “Call Duration”.
SWG-1016 User Manual mobile phone with alarm information. Alarm Phone Receiving alarm phone number, user will received alarm message Number from gateway. Enable Auto Reset Automatic restore remaining talk time, that is, get total call minutes of CDMA channel. Auto Reset Type Reset call minutes by date, by week, by month.
SWG-1016 User Manual Figure 3-10 DTMF Detection Settings If you don’t have special need, you don’t have to modify these settings. You can just choose Notice: “Default”. Table 3-3 Description of DTMF Detection Settings Options Definition It is the difference in power between the row and column DTMF Normal Twist energies.
Page 24
SWG-1016 User Manual Figure 3-11 Function Options Table 3-4 Description of Definition of Functions Options Definition Enter a known number (like your mobile phone) to check what number it Check is of the SIM card. Click "Execute", then the gateway will dial to the Number number you already input.
SWG-1016 User Manual Figure 3-12 AT Command Example 4. VOIP 4.1 VOIP Endpoints This page shows everything about your SIP&IAX2, you can see status of each SIP&IAX2. Figure 4-1 SIP&IAX2 Endpoints OpenVox Communication Co. ,LTD. URL: www.openvox.cn...
SWG-1016 User Manual 4.1.1 Add New SIP Endpoint Main SIP Endpoint Settings: You can click button to add a new SIP endpoint, and if you want to modify existed endpoints, you can click button. There are 3 kinds of registration types for choose. None, Server or Client.
Page 27
SWG-1016 User Manual Figure 4-3 Server Also you can choose registration by “This gateway registers with the endpoint”, it’s the same with “None”, except name and password. Figure 4-4 Client OpenVox Communication Co. ,LTD. URL: www.openvox.cn...
Page 28
SWG-1016 User Manual Table 4-1 Definiton of SIP Options Options Definition Name Display name Username Register name in your SIP server Password Authenticating with the gateway and characters are allowed. Registration None --- Not registering; Server --- When register as this type, it means the CDMA gateway acts as a SIP server, and SIP endpoints register to the gateway;...
Page 29
SWG-1016 User Manual Figure 4-5 Advanced Registration Options Table 4-2 Definition of Registration Options Options Definition Authentication A username to use only for registration. User Register When Gateway registers as a SIP user agent to a SIP proxy Extension (provider), calls from this provider connect to this local extension.
Page 30
SWG-1016 User Manual Figure 4-6 Call Settings Table 4-3 Definition of Call Options Options Definition DTMF Mode Set default DTMF Mode for sending DTMF. Default: rfc2833. Other options: 'info', SIP INFO message (application/dtmf-relay); 'Inband', Inband audio (require 64kbit codec -alaw, ulaw).
Page 31
SWG-1016 User Manual Figure 4-7 Signaling Settings Table 4-4 Definition of Signaling Options Options Definition Whether there is ringing tone. Never: Indicates that incoming calls are never applicable. Progress Inband Optional values: yes / no / never. Default: yes Append user=phone...
Page 32
SWG-1016 User Manual when the endpoint registers. A proxy to which the gateway will send all outbound signaling Outbound Proxy instead of sending signaling directly to endpoints. Advanced——Timer Settings Figure 4-8 Timer Settings Table 4-5 Definition of Timer Options Options Definition This timer is used primarily in INVITE transactions.
SWG-1016 User Manual 4.1.2 Add New IAX2 Endpoint You can click button to add a new IAX2 endpoint, and if you want to modify existed endpoints, you can click button. There are 3 kinds of registration types for choose. You can choose None, Endpoint registers with this gateway(work as a Server) or This gateway registers with the endpoint(work as a Client).
Page 34
SWG-1016 User Manual Figure 4-10 Server Also you can choose registration by “This gateway registers with the endpoint”, it will work as a Client. Figure 4-11 Client OpenVox Communication Co. ,LTD. URL: www.openvox.cn...
Page 35
SWG-1016 User Manual Table 4-6 Definition of IAX2 Options Options Definition Name Display name Username Authenication name in your IAX2 server Password Authenticating with the gateway and characters are allowed. Registration None --- Not registering; Endpoint registers with this gateway --- When register as this type, it means the CDMA gateway acts as a IAX2 server, and IAX2 endpoints register to the gateway;...
Page 36
SWG-1016 User Manual between two Asterisk telephony servers. Advanced——Registration Options Figure 4-12 Registration Options Table 4-7 Definition of Registration Options Options Definition Qualify, Qualify The qualify, qualifyfreqok and qualifyfreqnotok settings are used to Freq Ok, Qualify determine the status availability of an IAX peer. If a peer is...
Page 37
SWG-1016 User Manual IAX2 Encryption Figure 4-13 IAX2 Encryption Table 4-8 Definition of Encrytion Options Options Definition Encryption Enable IAX2 encryption. The default is no. Force encryption insures no connection is established unless both Force Encryption sides support encryption. By turning this option on, encryption is automatically;...
SWG-1016 User Manual handle fragmentation of UDP packets. Depending on the side of each payload, allowing the OS to handle fragmentation may not be very efficient. This setting sets the maximum transmission unit for AIX2 UDP trunking. The default is 1240 bytes which means if a trunk’s payload is over 1240 bytes for every 20ms it will be broken into multiple 1240 bytes messages.
Page 39
SWG-1016 User Manual Table 4-10 Definition of Networking General Optiongs Options Definition UDP Bind Port UDP Bind Port Enable TCP Enable server for incoming TCP connection (default is no). Choose a port on which to listen for TCP traffic. TCP Bind Port The maximum number of seconds a client has to authenticate.
Page 40
SWG-1016 User Manual Table 4-11 Definition of NAT Settings Options Options Definition Format:192.168.0.0/255.255.0.0 or 172.16.0.0./12. A list of IP address or IP ranges which are located inside a NATed network. This gateway will replace the internal IP address in Local Network SIP and SDP messages with the external IP address when a NAT exists between the gateway and other endpoints.
SWG-1016 User Manual RTP Settings Figure 4-17 RTP Settings Table 4-12 Definition of RTP Settings Options Options Definition Start of RTP Port Range Start of range of port numbers to be used for RTP End of RTP port Range End of port numbers to be used for RTP...
Page 42
SWG-1016 User Manual Table 4-13 Instruction of Parsing and Compatibility Options Definition Check header tags, character conversion in URIs, and Strict RFC Interpretation multiline headers for strict SIP compatibility(default is yes) Send Compact Headers Send compact SIP headers Allows you to change the username filed in the SDP owner SDP Owner string.
SWG-1016 User Manual 4.2.3 Security Figure 4-19 Security Settings Table 4-14 Instruction of Security Options Definition If available, match user entry using the 'username' field from Match Auth Username the authentication line instead of the 'from' field. Realm for digest authentication. Realms MUST be globally unique according to RFC 3261.
SWG-1016 User Manual by enabling them in the default context. 4.2.4 Media Figure 4-20 Media Settings Table 4-15 Instruction of Media Options Definition Some ISDN links send empty media frames before the call is in ringing or progress state. The SIP channel will then send 183 indicating early media which will be empty - thus users get no ring signal.
SWG-1016 User Manual Figure 4-21 Codec Settings 4.3 Advanced IAX2 Settings 4.3.1 General Settings Figure 4-22 General Settings Table 4-16 Instruction of General Definition Options Bind port and bindaddr may be specified Bind Port More than once to bind to multiple addresses, but the first will be the Enable IAXCompat default.
SWG-1016 User Manual Set iaxcompat to yes if you plan to use layered switches or some Enable Nochecksums other scenario which may cause some delay when doing a lookup in the dialplan. It incurs a small performance hit to enable it. This option...
SWG-1016 User Manual Table 4-17 Instruction of Music on Hold Options Definition The ‘Mohsuggest’ option specifies which music on hold class to Mohsuggest suggest to the peer channel when this channel place the peer on hold. It may be specified globally or on a per-user or per-peer basis.
SWG-1016 User Manual codes Codec priority controls the codec negotiation of an inbound IAX2 call. Codec Priority This option is inherited to all user entity separately which will override the setting in general. 4.3.4 Jitter Buffer Settings Figure 4-25 Jitter Buffer...
SWG-1016 User Manual Max Jitter Interps The maximum number of interpolation frames the jitter buffer should return in a row. Since some clients do not send CNG/DTX frames to indicate silence, the jitter buffer will assume silence has begun after returning this many interpolations.
SWG-1016 User Manual after it completes registration. The ‘maxcallnumbers-nonvalidated’ is used to set the combined MaxCallNumbers_Nonvalidated number of call numbers that can be allocated for connections where call token validation has been disabled. Unlike the ‘maxcallnumbers’ option, this limit is not separate for each individual IP address. Any connection resulting in a non-call token validated call number being allocated contributes to this limit.
Page 51
SWG-1016 User Manual You are allowed to set up new routing rule by , and after setting routing rules, move rules’ order by pulling up and down, click button to edit the routing and delete it. Finally click the button to save what you set.
Page 52
SWG-1016 User Manual The figure above shows that all the phones in the group ALL are transferred to the SIP-1234 terminal. Table 5-1 Definition of Routing Options Options Definition The name of this route. Should be used to describe what types of...
Page 53
SWG-1016 User Manual If the dialed number matches the patterns specified by the subsequent columns, then this will be prepended before sending to the trunks prefix: Prefix to remove on a successful match The dialed number is compared to this and the subsequent columns for a match.
SWG-1016 User Manual You can add one or more “Failover Call Through Numbers”. 5.1 Groups Sometimes you want to make a call through one port, but you don’t know if it is available, so you have to check which port is free. That would be troublesome. But with our product, you don’t need to worry about it.
SWG-1016 User Manual The 8388166902 is the outgoing phone number, when config the MNP url , should replce it with ${num}. Then it turns to https://s1.bichara.com.br:8181/chkporta.php?user=832700&pwd=sdsfdg&tn=${num}。 Figrue 5-6 MNP Settings 6. SMS 6.1 General You can choose enable SMS Received, SMS Local Strored and SMS Status Report or not.
SWG-1016 User Manual Table 6-1 Description of Sender Options Options Definition The times that you will attempt to resend your failed Resend Failed Message message. The times that you will resend the same message. Repeat Same Message 6.1.2 SMS to Email This is a tool that makes it available for you to email account to transmit the SMS to other email boxes.
Page 57
TLS Enable When you choose Yahoo and 163 free e-mails, this option is not available. SMTP Server To set outgoing mail server. e.g. mail.openvox.cn. The first email address to receive the inbox message. Destination Email Address1 OpenVox Communication Co. ,LTD.
SWG-1016 User Manual Destination The second email address to receive the inbox message. Email Address2 Destination The third email address to receive the inbox message. Email Address3 6.1.3 SMS Control Allowing endpoints to send some specific KEY WORDS and corresponding PASSWORD to operate the gateway and message is case-sensitive.
SWG-1016 User Manual For example, the message formats: SMS Format reboot system PASSWORD: To reboot your whole gateway. The PASSWORD is referring to the PASSWORD you set up from option “PASSWORD” above. Reboot asterisk PASSWORD: To restart your gateway core.
SWG-1016 User Manual 6.1.5 SMS to HTTP Figure 6-6 SMS to HTTP Settings 6.2 SMS Sender You can choose one or more ports to send SMS to the destination number, different numbers should be separated by symbols: '\r', '\n', space character, semicolon and comma. Then you can see much feedback information.
SWG-1016 User Manual Figure 6-8 SMS Inbox 6.4 SMS Outbox On this page, you are allowed to scan, delete, clean up, and export each port’s received SMS. Also you are allowed to check messages by port, phone number, time order and message keywords.
SWG-1016 User Manual 6.5 SMS Forwarding Using this feature, you can forward incoming sms to your mobile. You can click button to add new routing. Such as: Figure 6-10 SMS Forwarding Rules cdma-1.1 cdma-1.2, cdma-1.4 SMS received by , will be transfered to phone number 18664565204 cdma-1.8...
SWG-1016 User Manual cdma-1.10 to transfer sms. 7. Network 7.1 Network Settings There are three types of LAN port IP, Factory, Static and DHCP. Factory is the default type, and it is 172.16.98.1. When you Choose LAN IPv4 type is “Factory”, this page is not editable.
SWG-1016 User Manual Table 7-1 Definition of LAN Settings Options Definition Interface The name of network interface. The method to get IP. Factory: Getting IP address by Slot Number (System information to check slot number). Type Static: manually set up your gateway IP.
SWG-1016 User Manual Table7-2 Definition of DDNS Settings Options Definition Enable/Disable DDNS(dynamic domain name server) DDNS Type Set the type of DDNS server. Your DDNS account’s login name. Username Your DDNS account’s password. Password Your domain The domain to which your web server will belong.
SWG-1016 User Manual Table 7-3 Deginition of Firewall Settings Options Definition If you want to use White/Black List, and security rules, you Firewall Enale must enble this option. To disable ping or not. OFF: disable ping. This gateway will Ping Enable not allow to ping.
Page 67
SWG-1016 User Manual Figure 7-6 Firewall Rules Apply If you see windows like below. It means your configuration has been applied successfully. Figure 7-7 Firewall Rules Apply OpenVox Communication Co. ,LTD. URL: www.openvox.cn...
SWG-1016 User Manual 7.5 Security Rules Figure 7-8 Security Rules Click "submit" button to submit and apply configuration. If "List IP Settings" has no problem, you will see popup window like below. Please read the warning and tips carefully. And Click "Apply" button in 1 minute. If time runs out, this window will close automatically.
SWG-1016 User Manual Figure 7-10 Security Rules Apply 8. Advances 8.1 Asterisk API When you make “Enable” switch to “ON”, this page is available. Figure 8-1 Asterisk API OpenVox Communication Co. ,LTD. URL: www.openvox.cn...
Page 70
SWG-1016 User Manual Table 8-1 Definition of Asterisk API Options Definition Port Network port number Name of the manager without space Manager Name Password for the manager. Characters: Allowed characters Manager secret “-_+.<>&0-9a-zA-Z”. Length:4-32 characters. If you want to deny many hosts or networks, use char &...
SWG-1016 User Manual Permission to originate new calls. Write-only. Originate Select all or deselect all. Once you set like the above figure, the host 172.16.100.110/255.255.0.0 is allowed to access the gateway API. Please refer to the following figure to access the gateway API by telnet. 172.16.179.1 is the gateway’s IP, and 5038 is its API port.
SWG-1016 User Manual 8.3 Asterisk File Editor On this page, you are allowed to edit and create configuration files. Click the file to edit. Figure 8-4 Asterisk File Editor Click “New Configuration File” to create a new configuration file. After editing or creating, please reload Asterisk.
Page 73
SWG-1016 User Manual Figure 9-2 System Logs You can scan your CDR easily on web GUI, and also you can delete, clean up or export your CDR information. Figure 9-3 CDR Output Recently we have made our LOGS display richer, you can see your CDMA Outbound of every port...
Page 74
SWG-1016 User Manual Table9-1 definition of Logs Options Definition Whether enable or disable system log. System Logs switch on : when the size of log file reaches the max size, the system will cut a half of the file. New logs will be retained;...
SWG-1016 User Manual VOIP Characters Support SIP, IAX2 Protocol Add, Modify & Delete SIP/IAX2 Trunk SIP/IAX2 Registration with Domain Combine Different SIP/IAX2 Trunk into Group DTMF Mode: RFC2833/Inband/SIPInfo SIP V2.0 RFC3261 Compliance Multiple SIP/IAX2 Registrations modes:...
Page 77
SWG-1016 User Manual CDR (More than 200,000 Lines CDRs Storage Locally) Support configuration files backup and upload Support for custom scripts, dialplans Least Cost Routing(LCR),according to Time, Port, Calling Number Restore Factory Settings High Equipment Materials Specifications, Suitable for Long Distance Transportation OpenVox Communication Co.
Need help?
Do you have a question about the SWG-1016 and is the answer not in the manual?
Questions and answers