background image

                                                                                                                                                                                          20 

 

NAT/DDNS 

NAT Traversal   

 

 

 

If a Gateway is set up under an IP sharing you can select NAT or STUN protocol. 

 

NAT: The IP address used by Gateway should be a virtual address. Further, users must 
set the Virtual Server Mapping in the NAT Server (A virtual server is defined as a 
Service Port

and all requests to this port will be redirected to this specified the server IP 

address ).   

   

The default port is listed below:     

Listen Port (UDP): 5060 
RTP Port Base (UDP): 9000~9031 (Channel used for telephone communication).     
Http Port (TCP): 80 (The port can remain disable if users are not going to login from a 
remote end for the setting). 

 

NAT IP/Domain: Enter the NAT Server IP address (Real External IP address of NAT 
Server).    If using DDNS (Please refer to the next setting item), then fill in the URL 
(Uniform Resource Locator). 

 

STUN: Use STUN protocol prevents problems setting IP sharing, but some NAT do not 
support this protocol. 

 

STUN Server and Port: Enter the STUN server IP address and Listen Port number. 

 

Uses UPnP: Add a new function to enable the gateway’s IP traffic to pass through a NAT 
server. This function only works when the NAT server support UPnP and has it enabled. 

 

Setting up the DDNS (Dynamic Domain Name Service) to solve the problem of general Gateway, 
which cannot be set up under NAT (which uses a dynamic IP address).   

Summary of Contents for DVG-4032S

Page 1: ...1 DVG 4032S VOIP Gateway User Manual Version 1 0 ...

Page 2: ...etting IP Configuration of WAN Port 11 4 Setting a Gateway with WEB Browser 14 Network Settings 14 QoS Settings 19 NAT DDNS 20 Telephony Settings 22 SIP 25 Calling Features 29 Advanced Options 31 Line Settings 33 Voice 33 FAX 34 Digit Map 35 Local Phone Book 35 Speed Dial 36 Caller Filter 36 ACL for Management 36 CDR Settings 37 Language 37 Transit Call Control 37 Long Distance Control Table 39 Lo...

Page 3: ...2 Software Upgrade 44 Logout 44 5 Coding Principle 46 Instruction 46 Dialed Number Processing Flow 46 ...

Page 4: ...X key telephone system fax machine or PSTN line With only a broadband connection such as ADSL bridge router Cable Modem or leased line router it allows you to gain access to voice and fax services over IP in order to reduce the cost of international and long distance calls With the support of DDNS it makes the gateway reachable by its domain name where the ISP dynamically assigns the IP address It...

Page 5: ...Line feature Supports IP to PSTN PSTN to IP applications NAT traversal STUN and UPnP optional Pass through NAT Call Detailed Records CDR Web based firmware upgrade Caller ID Delivery Easy Configuration by IVR and Web based GUI Greeting message Echo Cancellation G 168 compliant Voice Activity Detection VAD Comfort Noise Generation CNG Dialing DTMF PULSE optional Signaling Protocol Loop Start Adapti...

Page 6: ...he Run indicator will blink in green and the Power indicator will stay green under normal operational conditions If the Alarm indicator continues to blink it means the system is currently communicating with ISP and has yet to obtain an IP address When the WAN is connected the WAN indicator will light up in green and if data is being transmitted over the Internet the indicator blinks in green and o...

Page 7: ...way can be built under the existing NAT Gateway Assigned with a Public IP Address The gateway will have a Public IP address for Internet connection regardless of whether it is a static IP address DHCP using a Cable Modem or PPPoE Dialup ADSL Gateway IP Settings Need to set up as static IP DHCP or PPPoE NAT STUN Settings Unnecessary Disabled DDNS Settings Unnecessary Disabled ...

Page 8: ...e Default Gateway If the WAN of the IP sharing device has static IP address then the NAT IP address is set as the Public IP address of the IP sharing NAT STUN Settings Enable If the WAN of the IP sharing device uses a dynamic IP address then it has to comply with the DDNS settings When suing NAT you must enter the URL Uniform Resource Locator that is registered to the DDNS server The WAN of the IP...

Page 9: ...FXS interfaces and some of them can be connected to telephone sets for direct calls Others can be connected to the PBX so other extension lines can make VoIP calls Example for Line Ports DVG 4032S connecting directly to the Telephone Line of a PSTN P9 P16 is FXO interfaces and can all be connected to a PSTN to serve as a bridge between the PSTN and other VoIP telephones The system also allows a ca...

Page 10: ... Mask and Default gateway Please contact your local Internet Service Provider ISP if you have any questions If using dialup ADSL PPPoE for network connection confirm the dialup account number and password If users wish to build Gateway under the NAT Gateway WAN Port IP address and LAN Port should not use the same range This is to avoid phone failures Basic Settings of a Gateway IP Settings Connect...

Page 11: ... phone Example enter You are now in IVR mode enter 101 to query IP address the system responds with an IP address you can continue with more settings or queries enter 111 to set IP address enter 192 168 1 2 IP number Save Settings After entering IVR mode dial 509 Save Settings Wait for about 3 seconds and after hearing a confirmation tone 1 hang up the phone Please reboot the Gateway to enable the...

Page 12: ...PPoE Account 122 Setting PPPoE Password Use in conjunction with function code 114 select 3 for a PPPoE function 123 Setting NAT IP address 124 Uses NAT 0 Disable 1 Enable Must use 123 and 124 in conjunction with each other 151 141 Register to Proxy Server Set Query 0 Disable 1 Enable 152 142 Proxy Server IP address Set Query 153 143 Proxy Server Port Set Query 125 Set Proxy Server account 126 Set ...

Page 13: ... of Line 1 217 207 109 Restoring factory default IP address configuration A static IP address for WAN Port IP 192 168 1 2 Mask 255 255 255 0 Gateway 192 168 1 254 409 Restoring factory default settings 509 Save settings 900 Setting IVR and the language used on the Web GUI 1 English 2 Traditional Chinese 3 Simplified Chinese 209 Soft Upgrade ...

Page 14: ...s 192 168 1 254 dial 192 168 1 254 Save Settings and Restart To save settings dial 509 Save Settings The system will save the settings Please restart the system Wait for about 40 seconds for the system to restart and then enter 101 to check if the IP address is retained If the IP address is not repeated it indicates that Gateway has not been properly connected please check if the cable connection ...

Page 15: ...rd Setting After entering IVR mode dial 122 after hearing enter value followed by Example If the password is 3ttixike please enter 03 60 60 49 64 49 51 45 Save Settings and Restart To save settings dial 509 Save Settings The system will save the settings Please restart the system Wait for about 40 seconds for the system to restart and then enter 101 to check if the IP address is retained If the IP...

Page 16: ...2 2 02 C 13 c 43 73 3 03 D 14 d 44 74 4 04 E 15 e 45 75 5 05 F 16 f 46 76 6 06 G 17 g 47 77 7 07 H 18 h 48 78 8 08 I 19 i 49 79 9 09 J 20 j 50 80 K 21 k 51 81 L 22 l 52 82 M 23 m 53 83 N 24 n 54 84 O 25 o 55 85 P 26 p 56 86 Q 27 q 57 87 R 28 r 58 88 S 29 s 59 89 T 30 t 60 90 U 31 u 61 91 V 32 v 62 92 W 33 w 63 93 X 34 x 64 94 Y 35 y 65 _ 95 Z 36 z 66 96 97 98 ...

Page 17: ... 192 168 8 254 The following registration screen will appear The factory default settings for Login ID and Password are set to blank After completing and confirming the settings some of the settings will take effect immediately But network related settings would take effect after the gateway is restarted Please go to System Operation to save the settings before restarting the system To avoid sever...

Page 18: ...communication port used by DVG 3016S RTP Starting Port UDP The initial value of port number for transmitting voice data among Gateway s Each line requires 2 ports It is not necessary to change these For example If the starting port is 9000 then Line 1 is using 9000 and 9001 and Line 2 is using 9002 and 9003 and so forth ...

Page 19: ...t 40 seconds and the system will obtain the related IP value from the DHCP Server NOTE After the system has obtained a new IP address if using WAN Port to enter the Web Configuration Screen a new IP address has to be used The same applies to the following two settings Setting Static IP Select Static IP and enter the IP address Subnet Mask and Default Gateway values Then click the Accept button at ...

Page 20: ...ottom DNS Settings Domain Name Server DNS While a gateway is accessing another gateway or computer with a hostname it will look up the IP address from the DNS provided by ISP The ISP whilst negotiating with PPPoE or DHCP usually assigns the DNS information In the case that the DNS is not assigned automatically or WAN port is assigned with a static IP address the DNS information must be assigned ma...

Page 21: ...Manager for other clients to lookup TTL Time to Live If a Gateway system that is controlled by the Phone Books Manager does not report back within the deadline set by TTL the system will be excluded from the user s list Each Gateway should report to the Phone Books Manager once every 30 seconds Register to Phone Books Manager To register to the Phone Books Manager Gateway Name for Phone Book Manag...

Page 22: ...ing the IP address to 192 168 99 254 Port of Web Access from WAN Http port for WAN To make this setting the LAN Port must be used Settings cannot be made using the WAN Port Always use port 80 when connecting to LAN port QoS Settings QoS Quality of Service Sets an external bandwidth to ensure sound quality during transmission When this function is enabled the voice packet has the highest priority t...

Page 23: ...ers are not going to login from a remote end for the setting NAT IP Domain Enter the NAT Server IP address Real External IP address of NAT Server If using DDNS Please refer to the next setting item then fill in the URL Uniform Resource Locator STUN Use STUN protocol prevents problems setting IP sharing but some NAT do not support this protocol STUN Server and Port Enter the STUN server IP address ...

Page 24: ...y for a user account before choosing a service provider Server Set up the IP address or URL Uniform Resource Locator of the DDNS Server Hostname The URL Uniform Resource Locator of the system or NAT apply for from a domain name registration providers ID and User s Password The ID and password are used to login the DDNS server IP Auto Detect Select only when the system is set up under NAT NOTE If t...

Page 25: ...FXS Caller ID Generation Select this option to enable the caller ID display function When enabled the caller s phone number will be displayed on your phone set when the call comes through FSK is preferred in some countries FXO Caller ID Detection To detect the Caller ID delivered from PSTN to the FXO port While enabled the Caller ID detected on the FXO port will be send to the SIP Proxy Server on ...

Page 26: ...e Enable a line if some lines are not used disable them Pause Function to avoid unnecessary waiting when an incoming call is diverting to this line Hotline Functions FXS port When the user picks up the phone the gateway automatically dials your assigned hotline number When in hotline mode other lines cannot be used FXO port When receiving a call from an outside line the gateway will divert the cal...

Page 27: ...line won t be able to dial to any PBX extension line FXS interface does not have a trunk prefix function Please refer to Section 6 if required to dial to a PBX extension line and PSTN concurrently Enable FAX Enable this line to detect if there is a FAX tone to transfer the Codec Trunk Hunting Order To set FXO dial out mode when there is an incoming call dialed FXO representative number First Idle ...

Page 28: ...ut For example If you would like dial 23456789 through PSTN and Force Calling Thru PSTN code is 33 just dial 33 23456789 Early Media Treatment If it is disabled the system will send RTP immediately when the connection with Proxy is set up The default is enabled If communicating with other Gateway has problem please disable this function Compare SIP To Header for Transit Out When FXO is callee and ...

Page 29: ...in at base time 2 2 The max of resend time is 4 sec Resend will stop restart when total resend 20sec has reached Max Response Time for Invite If the destination does not reply in the set time this call is failed Invite URL need user phone There is user phone in invite packet Reliability of Provisional Responses Provide information on the progress of the request processing if ticked Compact Form It...

Page 30: ...ant Proxy spread by semicolon EX 61 123 231 1 12 34 56 78 proxy sip sip Proxy Server Port Enter the Proxy Server listen port number The factory default value is 5060 Proxy Server Realm Enter the correct registered Proxy Server Realm name to avoid registration failure If you fail to make a call please contact your ITSP TTL Enter the desired time interval at which the gateway will report to you Prox...

Page 31: ...hould be as above FXS Representative Number Register all FXS ports as a hunting group FXO Representative Number Register all FXO ports as a hunting group All the grouped FXO ports will be hunted automatically It is available when FXO registers to Proxy Register Register to Proxy if ticked Invite with ID Account DVG 4032S can be invited to a VoIP trunk gateway w o register to a Proxy Please contact...

Page 32: ... Way Calling Service ID Feature code of conference call defined on Nortel Soft Switch Calling Feature Instructions Call Hold Ongoing call will be put on hold after FLASH button pressed on the phone set The gateway will play a repeating music to the remote end Call Transfer Ongoing call will be put on hold after FLASH button pressed on local phone set gateway plays a repeating music to the remote e...

Page 33: ...s to Bob Bob answers that call 2 Alex presses Flash and call to Coral Bob is on hold Coral answers that call 3 Alex dials 61 then presses Flash thus conference call is created Or 1 Alex dials to Bob Bob answers that call 2 Coral dials to Alex Call Waiting Alex presses Flash to pick the second call and talk to Coral 3 Alex dials 61 then presses Flash thus conference call is created ...

Page 34: ...ar a busy tone if he she does not press the first key within the set time frame Inter Digits Timeout Set the waiting time between each key pressing The inputted numbers will be dialed after the timeout Minimum DTMF ON Length Dial on Minimum DTMF OFF Length Dial off between tones Used to set dial tone when a call is being diverted to another extension DTMF Detection Sensitivity Used to adjust the s...

Page 35: ...s Second CPT for VoIP Call This function is usually applied when the user selects VoIP as the primary path for outgoing calls and PSTN as the backup By enabling this function the gateway will generate a different set of tones to inform the user that VoIP is in service Should VoIP fails and fallback to PSTN the user will hear PSTN tones instead of the second set CPT for CPT related settings please ...

Page 36: ...site answer this call or hook on the FXS port will reverse the polarity FXO This option forces the gateway to detect the reversal of polarity on FXO port as the primary signal to drop a call Some telephone switches or PBX reverse the line polarity to inform the remote end to drop an ongoing call Please consult with the telephone service provider for availability of this feature PSTN Answer Detecti...

Page 37: ...is recommended to enable this function to gain better fax quality When this function is enabled please select UDP TCP or AUTO If selecting TCP and some routers cannot use the Fax function please select UDP instead Enable High Quality To ensure better quality If T 38 is disabled then the system will use T 30 as the protocol for fax transmission The parameter settings are the same as for voice trans...

Page 38: ...t Count Total number of digits that DVG 3016S should accept 0 disables this feature Route The interface calls should go through if above conditions satisfied Local Phone Book This system can set up and store 100 phone numbers into a phone book and provides an IP address query when calling to other Gateway s If no Phone books manager is set within a Gateway group then all Gateway systems have to se...

Page 39: ...e pick up the handset and dial 301 and the system will dial 521301 If the user dial 00 1657987456321 the system will DIAL 856 1657987456321 Caller Filter This function is used at allow or deny SIP Invite from the Proxy list ONLY Filter IP Address Fill up with the start IP you would like to allow deny Subnet mask Fill up with the subnet mask you would like to allow deny ACL for Management You can u...

Page 40: ...equired to enter the PIN code to local calls only and prohibit him her from making long distance calls started with a prefix 0 do the following steps 1 Enable the Outbound Call Control function 2 Set the PIN code for Outbound Level 5 to blank 3 Set the Long Distance Control Table to correspond with the Outbound Level 5 to prohibit making any call with the prefix 0 as shown above Note Transit Call ...

Page 41: ...ode is required at this level Generally the PIN at level 5 can remain blank to simplify the phone number Enable Enables the PIN code at each level Privileges The level is divided into 0 5 The levels are in descending order 0 stands for the highest authority and 5 stands for the lowest ...

Page 42: ...a number with the same prefix Long Distance Exception Table This table handles any exceptions to the long distance call table According to the Long Distance Control Table users at Level 0 are prohibited to dial a number with the prefix 0204 But if the number 020488988 is set in the Exception Table as above then users could then dial this number Note Upward Opening If the users at a lower level can...

Page 43: ...n the busy tone automatically BTC Detection Sensitivity The more sensitivity the more quickly the system will cut off the call If the system often cut off an un finished call select less sensitivity CPT parameters Table The CPT has 3 sets of parameter tables Please adjust the CPT based on local PSTN or PBX ...

Page 44: ...41 System Information RTP Packet Summary Displays the information of the last finished call It contains peer IP peer port packets sent packet received and packet lost ...

Page 45: ...ify if the remote peer is reachable Fill in remote IP address and click Test will start the test SNMP Enable SNMP Agent Enable SNMP if ticked Get Set Trap Community Enter Community name to Read Write and Trap Trap Host Enter the IP of Trap Host ...

Page 46: ... file and restore settings from that file You also can restore all settings back to default by selecting Restore Default Configurations and click Restore Note It needs to Save Settings and Restart and all settings will back up default settings or have new setting that you upload Configuration File Backup the all settings Configuration Template File Backup the settings as template file for editing ...

Page 47: ...ton Software Upgrade Gateway provides software upgrade function for a remote end Software Upgrade Server IP address Please enter the software server IP address Software Upgrade Server Port The default setting is 6001 Do not change this setting Logout Gateway only allows one user to login at a time so whenever a change is made please save the settings restart the system or logout to avoid the situa...

Page 48: ...45 ...

Page 49: ... the assigned interface automatically The phone number should have at least 2 digits not including and Dialed Number Processing Flow To maintain maximum flexibility the number dialed will be looked up from several tables defined in the gateway Once no match can be found it will look up again from the registered SIP Proxy Server The look up flow is shown below A complete flow chart is on the next p...

Page 50: ...efined in the first match case through the gateway Dial the number defined in SpeedDial table Dial D through the first available FXO port to PSTN No Yes No No No No No Yes Yes Yes Yes Yes Is D defined in SIP proxy server Is D defined in Phonebook Manager Is D defined in Phonebook table Is D defined in Extension table ...

Reviews: