1.1 What is VDG-S2004? VDG-S2004 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-S2004 USER MANUAL Figure 1-3-2 Front Panel Table 1-3-1 Description of Front Panel Interface Function Color Work Status 1 Port1-Port4 E1/T1 ports. The port numbers are different on different models, from 1 to 4. 2 Reset Reset button is used to restore the device.
VDG-S2004 USER MANUAL > Support 512 routing rules and flexible routing settings > Stable performance, flexible dialing, friendly GUI > Codecs support: G.711A, G.711U, G.729, G.723, G.722, GSM > Support ports group management > Support call status information > Support T.38/Pass-through fax >...
VDG-S2004 USER MANUAL 2 System 2.1 Status On the “System Status” page, you will find all Interface status, channels status, SIP, IAX2, Routing rules, and Network information. Figure 2-1-1 System Status Table 2- 1- 1 Description of System Status Options Definition Show the status of port, include “OK”...
VDG-S2004 USER MANUAL 2.2 Call Status The verbose of the system call status will be present on the “Call Status” page. You can select the specified T1/E1 port which you are care for. Figure 2-2-1 Verbose of call status 2.3 Time...
VDG-S2004 USER MANUAL For example, you can configure like this: Figure 2-3-1 Time Settings You can set your gateway time Sync from NTP or Sync from Client by pressing different buttons. 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.
VDG-S2004 USER MANUAL Figure 2-4-1 Login Settings NOTICE:Whenever you do some changes, do not forget to save your configuration. 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.
VDG-S2004 USER MANUAL 2.6.1 Reboot Tools You can choose system reboot and Asterisk reboot separately. 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...
VDG-S2004 USER MANUAL Figure 2-6-4 Factory Reset 2.7 System Information On the “Information” page, there shows some basic information about the T1/E1 gateway. You can see software and hardware version, storage usage, memory usage and some help information. Figure 2-7-1 System Information...
VDG-S2004 USER MANUAL 3 T1/E1 3.1 General Figure 3-1-1 General Settings Table 3- 1- 1 Definition of General Settings Locale Your locale. This will be used for the tone style. Used when in-call indications need to be generated such as ring back, busy, congestion, and other call-oriented inband tone signals.
VDG-S2004 USER MANUAL Timing Source indicate the ports as to which should be used to recover the clock (0 for Timing Source master mode, upper for client mode, mall number have higher priority ) Options Definition Interface Choose a line type for the interface.
Page 15
VDG-S2004 USER MANUAL Table 3-2-2 Definition of Signaling Options Definition Sets logical or physical channel mapping. In logical channel mapping, channels are Q.SIG Channel Mapping mapped to 1-30.In physical channel mapping, channels are mapped to 1- 15, 17-31,skipping the number used for the data channel, Default is physical.
VDG-S2004 USER MANUAL PRI Out of band indications. Enable this to report Busy and congestion on a PRI using Out-of-Band Indications out_ of_ band notification. Inband indication, as used by the gateway doesn’t seem to work with all telcos. Facility-based...
VDG-S2004 USER MANUAL Table 3-3-1 Definition of SS7 Link Set Settings options Definition Name The linkset name Type SS7 variant Called NAI SS7 Called Nature of Address Indicator SS7 Calling Nature of Address Indicator Calling NAI Network Indicator What the MTP3 network indicator bits should be set to...
VDG-S2004 USER MANUAL 3.4.2 Modify R2 variant You can click , then you can find the below. Figure 3-4-3 General www.fs.com...
Page 20
VDG-S2004 USER MANUAL Table 3-4-2 Definition of General Options Definition Variant Name The variant name R2 Category national subscriber works just fine usually Allow Collect 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 21
VDG-S2004 USER MANUAL Table 3-4-3 Definition of Timer Options Definition Max amount of time our backward MF signal can last MF Back Cycle Amount of time we set MF signal ON to resume the MF cycle with a MF pulse...
Page 22
VDG-S2004 USER MANUAL Figure 3-4-6 Group B Figure 3-5-7 Group C Figure 3-4-8 Group1 Figure 3-4-9 Group 2 www.fs.com...
VDG-S2004 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 4.1.2 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 24
VDG-S2004 USER MANUAL 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. Figure 4- 1 - 4 This Gateway Register with the Endpoint...
VDG-S2004 USER MANUAL Registration Whether this endpoint will registers with this gateway. IP address or host name of the endpoint or 'dynamic' if the endpoint has a Hostname or IP Address dynamic IP address. This will require registration. Notice: if the input here is host name and your DNS has changed, you must reboot asterisk.
VDG-S2004 USER MANUAL Whether or not the Remote-Party-ID header should be trusted. Trust Remote-Party-ID Send Remote-Party-ID Whether or not to send the Remote-Party-ID header. Whether or not to display Caller ID. Caller ID Presentation 4.1.5 Advanced Timer Settings Table 4-1-4 Definition of Timer Options...
VDG-S2004 USER MANUAL By default, the gateway will honor the session version number in SDP packets and will only modify the SDP session if the version number changes. Turn This option off to force the SDP session version number and treat all SDP data as new data. This is require for devices that send...
Page 28
VDG-S2004 USER MANUAL You can click button as shown below Figure 4-2-2 Edit IAX Endpoint "9001" Table 4-2-1 Definition of IAX2 Endpoint Options Definition A name which is able to read by human. And it’s only used for user’s reference.
VDG-S2004 USER MANUAL How frequently to ping the peer when everything seems to be OK, in milliseconds. Qualify Freq Ok How frequently to ping the peer when it’s either; Qualify Freq not Ok LAGGED or UNAVAILABLE, in milliseconds. The port number the gateway will connect to at this endpoint.
VDG-S2004 USER MANUAL The maximum number of seconds a client has to authenticate. If the client does not TCP Authentication Timeout authenticate before this timeout expires, the client will be disconnected.( default value is: 30 seconds). The maximum number of unauthenticated sessions that will be allowed to connect at any given time (default is: 50) .
VDG-S2004 USER MANUAL The external hostname (and optional TCP port) of the NAT. External Hostname=hostname[:port] is similar to External Hostname “ External address”. Examples: External Hostname=foo.dyndns.net Hostname Refresh How often to perform a hostname lookup. This can be useful when your NAT device lets you choose port mapping, but the IP address is dynamic.
VDG-S2004 USER MANUAL Default Registration Default length of incoming/outgoing registration. Registration Timeout How often, in seconds, to retry registration calls. Default 20 seconds. Number of registration attempts before we give up.0=continue forever, hammering the other Number of Registration server until it accepts the registration. Default is 0 tries, continue forever.
VDG-S2004 USER MANUAL 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 34
VDG-S2004 USER MANUAL You may specify a default account for Call Detail Records (CDRs) in addition specifying on a Account Code per-user basis. Table 4-4-2 Instruction of Music on Hold Options Definition The ‘Mohsuggest’ option specifies which music on hold class to suggest to the peer channel when Mohsuggest this channel place the peer on hold.
VDG-S2004 USER MANUAL Table 4-4-5 Instruction of Misc Settings Options Definition IAX Thread Count Establishes the number of iax helper thread to handle I/O IAX Max Thread Count Establishes the number of extra dynamic threads that may by spawned to handle I/O The ‘maxcallnumbers’...
Page 36
VDG-S2004 USER MANUAL Send Progress/Status Manager events with ‘call’ class permissions will receive events indicating the events to manager steps to initiate a fax session. Fax completion events are always sent to manager sessions with session ‘call’ class permissions, regardless of the value of this option.
VDG-S2004 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. 5.1 Call Routing Rule...
Page 38
VDG-S2004 USER MANUAL Figure 5-1-3 Example of Setup Routing Rule The figure above realizes that calls from “support” SIP endpoint switch you have registered will be transferred to Port- 1. When “Call Comes in From” is 1001, “ prepend” , “prefix” and “ match pattern” in “Advanced Routing Rule” are ineffective, and just “CallerID”...
Page 39
VDG-S2004 USER MANUAL [1237-9] matche any digit in the brackets (example: 1,2,3,7,8,9) wildcard* : matches one or more dialed digits. prepend: Digits to prepend to a successful match. If the dialed number matches the patterns specified by the subsequent columns, then this will be prepended before sending to the trunks.
VDG-S2004 USER MANUAL You can also configure forward number when you have a transfer call. Figure 5- 1 - 6 Failover Call Through Number You can add one or more “Failover Call Through Numbers”. 5.2 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.
VDG-S2004 USER MANUAL 6 Network On “Network” page, there are three sub-pages, “WAN Settings”, “DDNS Settings”and “Toolkit”. 6.1 WAN/LAN Settings There are two types of WAN port IP, Static and DHCP. Static is the default type, and it is 172.16.100.1. The LAN port is a fixed IP and it is 192.168.100.1.
VDG-S2004 USER MANUAL Figure 6-1-2 DNS Interface 6.2 DDNS Settings You can enable or disable DDNS (dynamic domain name server). Figure 6-2-1 DDNS Interface Table 6- 2- 1 Definition of DDNS Settings Options Definition Enable/Disable DDNS(dynamic domain name server) DDNS Type Set the type of DDNS server.
VDG-S2004 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 www.fs.com...
VDG-S2004 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 Network port number Port Manager Name Name of the manager without space Password for the manager.
VDG-S2004 USER MANUAL Information about channels and ability to set information in a running Call channel. Logging information. Read-only. (Defined but not yet used.) Verbose Verbose information. Read-only. (Defined but not yet used.) Command Permission to run CLI commands. Write-only.
VDG-S2004 USER MANUAL Figure 7- 2 - 1 Asterisk Command Interface Table 7- 2- 1 Definition of Asterisk CLI Options Definition Command Type your Asterisk CLI commands here to check or debug your gateway. If you type “help” or “?” and execute it, the page will show you the executable commands.
VDG-S2004 USER MANUAL Click “New Configuration File” to create a new configuration file. After editing or creating, please reload Asterisk. 7.4 Auto Provisioning Auto provisioning or auto-configuration is an easy, flexible and time-saving way to upgrade firmware and configurations for E1 gateways in mass deployment.
VDG-S2004 USER MANUAL Select upgrade time. Power: start upgrade configuration when Power on. Power + Period: Upgrade Mode Set the frequency of checking the latest configuration when gateway running Table 7-4-2 Definition of system notice Options Definition Enable Whether to enable or disable system notice Check Interval When Upgrade Mode is set, this parameter specifies the interval of Checking.
Page 49
VDG-S2004 USER MANUAL defconfig.tar.gz The default(factory) configuration file The private configuration file for the specified gateway. Naming rules: “EPC-“ + “mac” +”.conf”. The naming prefix of “EPC-” stands for the private configuration EPC-{ mac}. conf file, “mac” is the physical address of network interface card but removed semicolon and “.conf”...
VDG-S2004 USER MANUAL Figure 7-4-2 the overview of defconfig.tar.gz 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 51
VDG-S2004 USER MANUAL Figure 7-4-5 Check interval setting 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 - 6 The working directory of TFTP server...
Page 52
VDG-S2004 USER MANUAL Figure 7-4-8 Common.conf Figure 7-4-7 EPC- a0980501dbca.conf Start TFTP service. Tftpd32.exe is a useful TFTP tools in windows7, then make sure TFTP server is select. www.fs.com...
Page 53
VDG-S2004 USER MANUAL Figure 7-4-8 Demo TFTP server 4. The system will receive an auto provision message in web GUI. Figure 7-4-9 System notice logs Figure 7 - 4 - 9 Auto provision upgrade notification 5. Restart the system. It will take about 3 minutes almost to download, upgrade Firmware and update configurations.
VDG-S2004 USER MANUAL Figure 7- 4- 10 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. By default SNMP uses port 161 for communication.
VDG-S2004 USER MANUAL Figure 7-5-1 Activating the SNMP NOTICE: Do not forget to click‘Save’ to take effect. After configuration, The SNMP feature is activated immediately. 7.5.3 Verify SNMP A powerful, indispensable and easy-to-use MIB browser is convenient for engineer/manager to manage SNMP enabled network devices and applications.
Page 56
After the rest field has been filled, then verify it. Click Operations->GET to get the value of system location and it returns the value which we just set. (2). Set SNMP parameters via SNMP MIB browser. For example, set the system name. system name is “vdg-s2004” by default, then set it as“VoIP gateway”. See figure 7-5-4.
VDG-S2004 USER MANUAL 7.6 TR069 TR069 is a remote management solution which offers a single interface to manage theACS and automate the deployment and support of data, voice and video services, thereby reducing operation and support costs, while enhancing customer satisfaction. Its...
VDG-S2004 USER MANUAL 7.7 Network Capture The gateway have 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. Table 7- 7- 1 Definition of Network capture...
VDG-S2004 USER MANUAL 8 Logs 8.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 is unavailable. And the same with other log pages.
Page 60
VDG-S2004 USER MANUAL Figure 8-1-2 System Logs Output Table 8-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.
Page 61
VDG-S2004 USER MANUAL 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: Switch off: logs will remain, and the file size will increase (asterisk logs) gradually.
VDG-S2004 USER MANUAL 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. Switch off: logs will remain, and the file size will increase Auto clean gradually.
VDG-S2004 USER MANUAL 8.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. The call statistics will be saved before power off.
Need help?
Do you have a question about the VDG-S2004 and is the answer not in the manual?
Questions and answers