1.1 What is VDG-S1004? VDG-S1004 T1/E1 Gateway is an open source asterisk-based VoIP Gateway solution for operators and call centers. It is a converged media gateway product. This kind of gateway connects traditional telephone system to IP networks and integrates VoIP PBX with the PSTN seamlessly.
VDG-S1004 User Manual 1.3 Product Appearance The picture below is appearance of VDG-S1004. Figure 1-3-1 Product Appearance Figure 1-3-2 Front Panel...
Page 9
VDG-S1004 User Manual Table 1-3-1 Description of Front Panel Interface Function Color Work Status 1 Port1-Port4 E1/T1 port. 2 Reset Reset button is used to restore the device. On: Power is on. 3 PWR Power Status indicator Green Off: Power is off.
VDG-S1004 User Manual 1.4 Main Features Based on Asterisk ® Editable Asterisk ® configuration file Wide selection of codecs and signaling protocol Support 512 routing rules and flexible routing settings Stable performance, flexible dialing, friendly GUI ...
VDG-S1004 User Manual 2. System 2.1 Status On the “System Status” page, you will find all Interface status, channels status, SIP, IAX2, Routingrules, and Network information. Figure 2-1-1 System Status...
VDG-S1004 User Manual Table 2-1-1 Description of System Status Options Definition Interface Show the status of port, include “OK” and “Down”. “Down” means no trunk. Show the Channels status of port, include "Idle". "Busy". "Disable" and “Schannel”. "Idle" means it is Channels available;...
VDG-S1004 User Manual 2.3 Time Table 2-3-1 Description of Time Settings Options Definition System Time Your gateway system time. The world time zone. Please select the one which is the same or the closest as your city. Time Zone POSIX TZ String Posix timezone strings.
VDG-S1004 User Manual 2.4 Login Settings Your gateway doesn't have administration role. All you can do here is to reset what new username and password to manage your gateway. And it has all privileges to operate your gateway. You can modify “Web Login Settings” and “SSH Login Settings”.
Page 16
VDG-S1004 User Manual Figure 2-4-1 Login Settings NOTICE : Whenever you do some changes, do not forget to save your configuration.
VDG-S1004 User Manual 2.5 General 2.5.1 Language Settings You can choose different languages for your system. If you want to change language, you can switch “Advanced” on, then “Download” your current language package. After that, you can modify the package with the language you need. Then upload your modified packages, “Choose File”...
VDG-S1004 User Manual Figure 2-6-1 Reboot Prompt If you press “OK”, your system will reboot and all current calls will be dropped. Asterisk Reboot is the same. Table 2-6-1 Instruction of reboots Options Definition System Reboot This will turn off your gateway and then turn it back on. This will drop all current calls.
VDG-S1004 User Manual 2.6.4 RestoreConfiguration 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.
VDG-S1004 User Manual 3. T1/E1 3.1 General Figure 3-1-1 General Settings Table 3-1-1 Definition of General Settings Options Definition Your locale. This will be used for the tone style. Used when in-call indications need to be generated such as ring Locale back, busy, congestion, and other call-oriented inband tone signals.
Page 21
VDG-S1004 User Manual Figure 3-1-3 Port Details Table 3-1-3 Definition of Port Details Options Definition Timing Source indicate the ports as to which should be used to recover the clock. (0 for master mode, upper for Timing Source client mode, small number have higher priority).
VDG-S1004 User Manual 3.2 PRI Figure 3-2-1 ISDN: Signaling Table 3-2-1 Definition of Signaling Options Definition Sets logical or physical channel mapping. In logical channel mapping, channels are mapped to 1-30. In Q.SIG Channel Mapping physical channel mapping, channels are mapped to 1-15,17-31, skipping the number used for the data channel, Default is physical.
Page 23
VDG-S1004 User Manual PRI Dialplan: The ISDN-level Type of Number (TON) or numbering plan, used for the dialed number. PRI Dial Plan for Dialed Number Leaving this as ‘unknown’ (the default) works for most cases. In some very unusual circumstances, you may need to set this to;...
VDG-S1004 User Manual Ignore Remote Hold If you wish to ignore remote hold indications (and use MOH that is supplied over the B channel) enable this Indications option. Block Outbound Caller ID Enable if you need to hide just the name and the number for legacy PBX use. Only applies to PRI channels.
VDG-S1004 User Manual 3.3.2 Modify R2 variant Figure 3-3-2 R2 Variant You can click button, then you could fine the below. Figure 3-3-3 General...
Page 26
VDG-S1004 User Manual Table 3-3-2 Definition of General Options Definition Variant Name The variant name. R2 Category national subscriber works just fine usually. Allow Collect Calls Default is to block collect calls. With this set to ‘no’ then the call will NOT be accepted on offered, and the call will start irs execution in Accept On Offer extensions.
Page 27
VDG-S1004 User Manual Figure 3-3-4 Timer Table 3-3-3 Definition of Timer Options Definition MF Back Cycle Max amount of time our backward MF signal can last. MF Back Resume Cycle Amount of time we set MF signal ON to resume the MF cycle with a MF pulse.
Page 28
VDG-S1004 User Manual CAS Persistence Check Time to wait for to CAS signaling before handing the new signal. DTMF Start Dial Safety time before starting to dial DTMF. DTMF Detection End Safety time to decide when to stop detecting DTMF DNIS.
Page 29
VDG-S1004 User Manual Figure 3-3-6 Group B Figure 3-3-7 Group C Figure 3-3-8 Group 1...
VDG-S1004 User Manual Figure 3-3-9 Group 2 3.4 Chan-SS7 3.4.1 Link Set Settings Figure 3-4-1 Link Set Settings You can click button as shown below, when there are several link sets, only one can be set tothe default.
Page 31
VDG-S1004 User Manual Figure 3-4-2 Chan-SS7 Link Set Settings Table 3-4-1 Definition of SS7 Link Set Settings options Definition Name The link set name. Type SS7 variant. This is used to decide whether end-of-pulsing is not used to determine when incoming address is Enabled ST complete.
Page 32
VDG-S1004 User Manual Called Party Number Stop Add a stop flag 'F' before called number send. Flag Transmission Medium Specify the bearer circuit capabilities (speech, 3.1-kHz audio, 64-Kb unrestricted, and so forth) that are Requirement needed for the call being set up.
VDG-S1004 User Manual The destination point code. Set to Default Set the linkset as the default linkset. Information sent in the forward direction when a call is redirected and identifies the original called Original Called Number party. 3.4.2 Link Settings...
VDG-S1004 User Manual 4. VOIP 4.1 VOIP Endpoints 4.1.1 SIP Endpoints This page shows everything about your SIP, you can see status of each SIP. Figure 4-1-1 SIP Status Main Endpoint Settings You can click button to add a new SIP endpoint, and if you want to modify existed endpoints, you can click button.
Page 36
VDG-S1004 User Manual Figure 4-1-2 None Registration For convenience, we have designed a method that you can register your SIP endpoint to yourgateway, thus your gateway just works as a server. Figure 4-1-3 Endpoint Register with Gateway Also you can choose registration by “This gateway registers with the endpoint”, it’s the same with“None”, except name and password.
Page 37
VDG-S1004 User Manual Figure 4-1-4 This Gateway Register with the Endpoint Table 4-1-1 Definition of SIP Options Options Definition Name A name which is able to read by human. And it’s only used for user’s reference. Username User name the end point use to authenticate with the gateway.
VDG-S1004 User Manual 4.1.2 Advanced Registration Options Table 4-1-2 Definition of Registration Options Options Definition Authentication User A username to use only for registration. When Gateway registers as a SIP user agent to a SIP proxy (provider), calls from this provider Register Extension connect to this local extension.
VDG-S1004 User Manual Send Remote-Party-ID Whether or not to send the Remote-Party-ID header. Caller ID Presentation Whether or not to display Caller ID. 4.1.4 Advanced Signaling Settings Table 4-1-4 Definition of Signaling Options Options Definition If we should generate in-band ringing. Always use ‘never’ to never use in-band signaling, Even in cases Progress Inband where some buggy devices might not render it.
VDG-S1004 User Manual Send TRYING on REGISTER Send 100 Trying when the endpoint registers. 4.1.5 Advanced Timer Settings Table 4-1-5 Definition of Timer Options Options Definition This timer is used primarily in INVITE transactions. The default for Timer T1 is 500ms or the measured run- Default T1 Timer trip time between the gateway and the device if you have qualify=yes for the device.
VDG-S1004 User Manual 4.1.6 Fax Options Table 4-1-6 Definition of Fax Options Options Definition Mode Working mode T.38 and T.30. Enabled Enabled. Error Correction Error Correction. In some cases,T.38 endpoints will provide a T38FaxMxDatagram value (during T.38 setup) that is based on an incorrect interpretation of the T.38 recommendation, and result in failures because Asterisk does not believe it...
VDG-S1004 User Manual 4.2 IAX2 Endpoint Figure 4-2-1 IAX2 Endpoint You can click button as shown below Figure 4-2-2 Edit IAX Endpoint "9001"...
Page 43
VDG-S1004 User Manual Table 4-2-1 Definition of IAX2 Endpoint Options Definition Name A name which is able to read by human. And it’s only used for user’s reference. User name User name the endpoint will use to authenticate with the gateway.
Page 44
VDG-S1004 User Manual Qualify Smothing Use an average of the last two PONG result to reduce falsely detected LAGGED host. The default is ‘no’. Qualify Freq Ok How frequently to ping the peer when everything seems to be OK, in milliseconds.
VDG-S1004 User Manual Should we send timestamps for the individual sub_frames within trunk frames? There is a small bandwith use for these (less than 1kbps/call), but they ensure that frame timestamps get sent end-to-end properly. If both Trunk Time Stamps ends of all your trunks go directly to TDM, _and_your trunkfreq equals the frame length for your codecs, you can probably suppress these.
VDG-S1004 User Manual Enable DNS SRV lookups on outbound calls Note: the gateway only uses the first host in SRV records Disabling DNS SRV lookups disables the ability to place SIP calls based on domain names to some other SIP users on the...
Page 47
VDG-S1004 User Manual The external address (and optional TCP port) of the NAT. External address=hostname [:port] specifies External Address a static address[:port] to be used in SIP and SDP messages. Examples: External address=12.34.56.78 External address=12.34.56.78.9900. The external hostname (and optional TCP port) of the NAT.
VDG-S1004 User Manual 4.3.3 Advanced RTP Settings Table 4-3-3 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 range of port numbers to be used for RTP.
VDG-S1004 User Manual Maximum Registration Maximum allowed time of incoming registrations and subscriptions (seconds). Minimum Registration Minimum length of registrations/subscriptions (default 60). Expiry Default Default length of incoming/outgoing registration. Registration Timeout How often, in seconds, to retry registration calls. Default 20 seconds.
VDG-S1004 User Manual When an incoming INVITE or REGISTER is to be rejected, for any reason, always reject with an identical response equivalent to valid username and invalid password/hash instead of letting the requester know Always Auth Reject whether there was a matching user or peer for their request. This reduces the ability of an attacker to scan for valid SIP usernames.
VDG-S1004 User Manual 4.3.7 Codec Settings Select codecs from the list below. Figure 4-3-1 Codec Settings 4.4 Advanced IAX2 Settings Table 4-4-1 Instruction of General Options Definition Bind Port Bind port and bindaddr may be specified. Enable IAXCompat More than once to bind to multiple addresses, but the first will be the default.
Page 52
VDG-S1004 User Manual SRV Lookup Whether or not to perform an SRV lookup on outbound calls. You may specify a global default AMA flag for iaxtel calls. These flags are used in the generation of call detail AMA Flags records.
Page 53
VDG-S1004 User Manual Disallow Fine tune codes here using “allow” and “disallow” clause with specific codes. Allow Fine tune codes here using “allow” and “disallow” clause with specific codes. Codec priority controls the codec negotiation of an inbound IAX2 call. This option is inherited to all user Codec Priority entity separately which will override the setting in general.
Page 54
VDG-S1004 User Manual Number of milliseconds by which the new jitter buffer will pad its size. The default is 40, so without modification, the Jitter Target Extra new jitter buffer will set its size to the jitter value may help if your network normally has low jitter, but occasionally has spikes.
VDG-S1004 User Manual Table 4-4-6 Instruction of Quality of Service Options Definition Type of service Class of service 4.5 Advanced fax setting Table 4-5-1 Instruction of Quality of Fax Settings Options Definition Udptl Start DPTL start configure addresses. Udptl End DPTL end configure addresses.
VDG-S1004 User Manual 5. Routing The gateway embraces the flexible and friendly routing settings for user. It supports up to 512 routing rules and about 100 pairs of calleeID/callerID manipulations can be set in a rule. It supports DID function. The gateway support trunk group and trunk priority management.
Page 57
VDG-S1004 User Manual Table 5-1-1 Example for routing rules number conversion processing rules prepend prefix Match pattern SdfR RdfR Caller Name xxxxxxxx 0755 China telecom Calling Transformation Called transformation xxxxxxx You can click button to set up your routings. Figure 5-1-2 Example of Setup Routing Rule The figure above realizes that calls from “support”...
Page 58
VDG-S1004 User Manual Table 5-1-3 Description of Advanced Routing Rule Options Definition A Dial Pattern is a unique set of digits that will select this route and send the call to the designated trunks. If a dialed pattern matches this route, no subsequent routes will be tried. If Time Groups are enabled, subsequent routes will be checked for matches outside of the designated time(s).
VDG-S1004 User Manual You can create various time routes and use these time conditions to limit some specific calls. Figure 5-1-3 Time Patterns that will use this Route If you configure like this, then from January to March, from the first day to the last day of these months, from Monday to Thursday, from 00:00 to 02:00, during this time (meet all above time conditions), all calls will follow this route.
Page 60
VDG-S1004 User Manual Figure 5-2-1 Establish Group...
VDG-S1004 User Manual 6. Network On “Network” page, there are three sub-pages, “Network Settings”, “DDNS Settings”, “Toolkit” and“Static Route Settings”. 6.1 Network Settings There are two types of WAN port IP, Static and DHCP. Static is the default type, and it is172.16.100.1. The LAN port is a fixed IP and it is 192.168.100.1.
VDG-S1004 User Manual Address The IP address of your gateway. Network The subnet mask of your gateway. Default Gateway Default getaway IP address. DNS Servers: A list of DNS IP address. Basically, this info is from your local network service provider. Note that please restart the gateway if you changed the DNS server.
Page 63
VDG-S1004 User Manual -L20X User Manual Also, you can enable or disable DDNS (dynamic domain name server). Figure 6-2-2 DDNS Interface Table 6-2-1 Definition of DDNS Settings Options Definition DDNS Enable/Disable DDNS (dynamic domain name server). Type Set the type of DDNS server.
VDG-S1004 User Manual -L20X User Manual 6.3 Toolkit It is used to check network connectivity. Support Ping command on web GUI. Figure 6-3-1 Network Connectivity Checking 6.4 Static Route Settings Figure 6-4-1 Static Route Settings...
VDG-S1004 User Manual -L20X User Manual 7. Advanced 7.1 Asterisk API When you make “Enable” switch to “ON”, this page is available. Figure 7-1-1 API Interface Table 7-1-1 Definition of Asterisk API Options Definition Port Network port number. Manager Name Name of the manager without space.
Page 66
VDG-S1004 User Manual General information about the system and ability to run system management commands, such as Shutdown, System Restart, and Reload. Call Information about channels and ability to set information in a running channel. Logging information. Read-only. (Defined but not yet used.) Verbose Verbose information.
VDG-S1004 User Manual 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 putty. 172.16.100.110 is the gateway’s IP, and 5038 is its API port.
VDG-S1004 User Manual Table 7-2-2 Definition of Lock/unlock channels Options Definition Signaling Current signaling in use. Operation The advanced operations for lock and unlock channels. Channel: The channel to be lock or unlock. 7.3 Asterisk File Editor On this page, you are allowed to edit and create configuration files. Click the file to edit.
VDG-S1004 User Manual and configurations for E1 gateways in mass deployment. With auto provisioning, all user information can be entered via the central ACS (Auto Configuration Server). ACS can be DHCP server or TFTP, HTTP and FTP server. It will not take effects immediately but in the next time system is power on.
Page 70
VDG-S1004 User Manual Table 7-4-1 Definition of Auto Provision Options Definition Enabled Whether to enable or disable Auto Provision. DHCP Option 66 Get ACS server address from Option 66 via DHCP. Protocol Set protocol of connection. Auto Config Server URL The config server domain or IP address.
VDG-S1004 User Manual Figure 7-4-1 Auto Provision interface 7.4.3 Configuring ACS The Auto Configuration Server can be the one of TFTP, FTP and HTTP server. The ACS is used tostore the firmware release and configurations files of the devices under management.
Page 72
VDG-S1004 User Manual The format of common.conf , EPC-{mac}.conf and defconfig.tar.gz: (1).Common.conf [firmware] FW_NAME=VDG-S1004-current.bin //Firmware image name FW_MD5=b3603f3c3b5e7eb6326498640f151c79 //The md5 of firmware image FW_VERSION=1.1.2//Firmware version [configs] CONFIG_NAME=defconfig.tar.gz // default configuration file(compressed) CONFIG_MD5KEY=2cd2dfbe52482405350816e3698cb530 // the md5 of default configuration File (2).EPC-{mac}.conf [dns] DNS_SERVER1=8.8.8.8...
Page 73
VDG-S1004 User Manual Figure 7-4-2 the overview of defconfig.tar.gz...
VDG-S1004 User Manual 7.4.4 Provisioning example After auto provisioning is enabled, the gateway will visit the Auto Configuration Server and download the updated files periodically based on the timer Check Interval (LOGS->System notice). By default, the timer is set as every hour. System will receive a message from ACS, like figure 7-4-3, and the message will be display in the system notice (LOGS->System Notice).
Page 75
VDG-S1004 User Manual 3.Configuring the ACS (Generate the md5 of firmware and defconfig.tar.gz) Copy the firmware, defconfig.tar.gz, common.conf and EPC-{mac}.conf to the working directory of TFTP server. Figure 7-4-5 The working directory of TFTP server NOTICE : The demo of E1 gateway mac address is A0:98:05:01:DB:CA (eth0), therefore the privateconfiguration file is EPC- a0980501dbca.conf.
Page 77
VDG-S1004 User Manual Start TFTP service. Tftpd32.exe is a useful TFTP tools in windows7, then make sure TFTP server is select. Figure 7-4-9 A demo TFTP server 1. The system will receive an auto provision message in web GUI.
VDG-S1004 User Manual 2. Restart the system. It will take about 3 minutes almost to download, upgrade Firmware andupdate configurations. Figure 7-4-12 Downloading the firmware and configs Figure 7-4-13 Applying the firmware and configs 7.5 SNMP Simple Network Management Protocol (SNMP) is an application–layer protocol, which is used to manage and monitor network elements and exchange management information between network devices.
VDG-S1004 User Manual 7.5.1 Parameters in SNMP setting Table 7-5-1 Definition of SNMP setting Options Definition SNMP Enable Whether to enable SNMP. System Contact System contact information(optional). System Location The locale of system contact(optional). The number is used for defining private SNMP MIBs which is assigned by Internet Private Enterprise Number Assigned Numbers Authority (IANA).
VDG-S1004 User Manual The Interface is in the ADVANCED->SNMP. System contact, location and private enterprisenumber are optional. Figure 7-5-1 is the SNMP setting interface. Figure 7-5-1 Activating the SNMP NOTICE : Do not forget to click ‘ Save ’ to take effect. After configuration, The SNMP feature is activatedimmediately.
Page 81
VDG-S1004 User Manual Figure 7-5-2 Manage Engine MIB browser And the field of Host, Port and Community are filled with 172.16.100.223, 161 and public respectively. Object ID is the node of SNMP MIBs, e.g. “.1.3.6.1.2.1.1.6.0” is system location and “.1.3.6.1.2.1.1.1.0” is system description.
VDG-S1004 User Manual name is “VDG-S1004” by default, then set it as “VoIP gateway”. See figure 7-5-4. Click Operations->GET to attain the current system name. Fill the field of Set Value with “VoIP gateway”. Click Operations->SET to set the system name.
Page 83
VDG-S1004 User Manual Table 7-6-1 Definition of TR069 configuration interface Options Definition Acs Url Specify the URL of the ACS Acs Username Specify the user name to be used by the device to authenticate with the ACS. Acs Password Specify the password to be used by the device to authenticate with the file server...
VDG-S1004 User Manual Figure 7-6-1 TR069 configuration interface 7.7 Network Capture The gateway has been supplied a network packets capture in the web for ease of user to analysis,capture and monitor the gateway’s network status, RTP flows, protocol analysis and so on.
Page 85
VDG-S1004 User Manual The interface is in ADVANCED->Network Capture. Figure 7-7-1 Network capture interface Moreover, user can capture SS7 signal and record port. Figure 7-7-2 Signal Capture interface Figure 7-7-3 Port Recording interface...
VDG-S1004 User Manual 7.8 Cloud VDG-S1004 E1/T1 gateways support VDG-S1004 Cloud Management. Figure 7-8-1 Cloud interface If your device is connected to the cloud management, the SSH and the web pages of the gateway can be accessed through the cloud management, and it can be monitored whether the device is connected to the cloud management platform. On the cloud management platform, you can also count your device model, quantity, distribution area, and so on which can provide you with efficient and excellent service and experience.
VDG-S1004 User Manual 8. User FS VDG Series T1/E1 Gateway allows you to create users and modify the permissions of usersaccessing the web interface. 8.1 User Add Figure 8-1-1 User Add interface 8.2 User List Figure 8-2-1 User List interface 8.3 Permissions...
VDG-S1004 User Manual 9. Logs 9.1 Log Settings On the “Log Settings” page, you should set the related logs on to scan the responding logs page. For example, set “SIP Logs” on like the following, then you can turn to “SIP” page for sip logs, otherwise, sip logs are unavailable. And the same with other log pages.
Page 89
VDG-S1004 User Manual Figure 9-1-2 System Logs Output...
Page 90
VDG-S1004 User Manual Table 9-1-1 Definition of Logs Options Definition 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. Auto clean (System Logs) Switch off: logs will remain, and the file size will increase gradually.
Page 91
VDG-S1002 User Manual The system will cut a half of the file. New logs will be retained. Switch off: logs will remain, and the file size will increase gradually. default on, default size=2 MB. MFC/ R2 Logs Whether enable or disable MFC/ R2 Logs log. Switch on: when the size of log file reaches the max size, The system will cut a half of the file.
VDG-S1002 User Manual 9.2 System log System log record every time power on, power off and firmware upgrade information. Figure 9-2-1 System Log 9.3 Asterisk logs On the pages of “Asterisk”, “SIP”, “IAX2”, “SS7”, “PRI” and “MFC/R2”, there owns the somefunctions—Displays the log by port, refresh regularly and log download.
VDG-S1002 User Manual 9.4 Call Statistics The figure of call statistics, you’ll find “Answered”, “congestion”, “Call busy”, “Call failed”, “No answer”, “Current calls”, “accumulated calls”, “Calls duration” and “ASR”. “ASR” stands for Answer Seizure Ratio. “Calls duration” will count the whole calls in the gateway.
Page 94
VDG-S1002 User Manual Figure 9-5-2 enable system notice function NOTICE : Do not forget to enable system notice and check interval in “Log Setting” if you want toreceive system messages.
Need help?
Do you have a question about the VDG-S1004 and is the answer not in the manual?
Questions and answers