WELLTECH WellGate 2540 User Manual

Welltech 2540 FXO Gateway User Guide
Contents
CH1 Introduction ................................................................................... 4
1-1 Physical Interface ............................................................................. 4
1-2 IP Network connection .................................................................. 4
1-3 Environmental ................................................................................ 5
1-4 Front Panel: LED Indicators .......................................................... 5
1-5 Rear Panel: LED Indicators ........................................................... 6
1-6 QUICK SETUP ................................................................................ 7
CH2 Device Settings..............................................................................11
2-1 Network Configuration ....................................................................11
2-2 Device Time Setting ....................................................................... 13
2-3 Device Advance Setting.................................................................. 14
2-4 User Login Setting .......................................................................... 15
2-5 Debug Settings ................................................................................ 16
2-6 Event Notice ................................................................................... 17
2-7 Auto Provisioning ........................................................................... 18
2-8 SNMP ............................................................................................. 20
CH3 NAT Setting ................................................................................. 21
3-1 DHCP Ser. (DHCP server) .............................................................. 21
3-2 UPNP (universal plug and play server) .......................................... 22
3-3 Bandwidth (Bandwidth Control) .................................................... 22
3-4 URL Filter ....................................................................................... 26
3-5 IP Filter ........................................................................................... 27
3-6 MAC Filter ..................................................................................... 27
3-7 APP Filter ........................................................................................ 28
3-8 Port Filter ........................................................................................ 28
3-9 Port Fwd ......................................................................................... 29
CH4 VOIP Setting ................................................................................ 30
4-1 SIP .................................................................................................. 30
4-2 Audio .............................................................................................. 31
4-3 Tone ................................................................................................ 33
4-4 NAT Traversal ................................................................................. 34
CH5 VOIP Advance ............................................................................. 35
5-1 SIP .................................................................................................. 35
5-2 Audio .............................................................................................. 37
5-3 Ring ................................................................................................ 38
CH6 Dialing Plan................................................................................. 40
6-1 General............................................................................................ 40
6-2 Dialing Rule .................................................................................... 41
6-3 Digit Manipulation ......................................................................... 42
6-4 Phone Book..................................................................................... 43
CH7 FXO Setting ................................................................................. 44
7-1 FXO line ......................................................................................... 45
CH8 SIP Trunk .................................................................................... 47
8-1 Create SIP Trunk ............................................................................. 48
CH9 Route Plan ................................................................................... 50
9-1 Create Route Plan ........................................................................... 51
CH10 Status .......................................................................................... 53
10-1 Device States ................................................................................ 53
10-2 Line States .................................................................................... 54
10-3 SIP Trunk States............................................................................ 55
CH11 Maintenance .............................................................................. 56
11-1 Firmware Update .......................................................................... 56
Appendix A --- System Recovery ......................................................... 57
Appendix B --- HTTP auto provisioning .............................................. 60
Appendix C--- WellGate 2504 (4-FXS) and WellGate 2540(4-FXO) in
peer to peer mode with hotline by port to port application. ............ 62
Welltech 2540
CH1 Introduction
2540 Telephony Gateway
The Welltech 2540 is a 4 ports FXO (WellGate 2540) VoIP gateway which includes 1-WAN/1-LAN (management port) 10/100 base-T network environ m ent. Field-proven quality of Voice communica tion and Fax transmission over IP broadband access network to makes WellGate 2540 to be an excelle nt solution for various VoIP applications.
1-1 Physical Interface
Ethernet port (RJ-45, 10/100 base-T)
1-WAN port, for conn ect to router, ADSL modem (A TU-R), or switch
hub directly.
1-LAN port, for PC, management or other n e twork devices
connecting.
Telephony port (RJ-11)
24-F XO ports, to conne c t to PSTN lines Console port (RS232, rate:115200) AC power Jack Status indic a te d L ED
Indicates Power, Ethernet, Line, SIP and system status
1-2 IP Network connection
IPv4 (RFC 791)/IPV6 (RFC 2460) IPv6 Auto C onfiguration (RFC 4862) MAC Address (IEEE 802.3) Static IP DHCP Client (RFC 2131) PPPoE DNS Client
TCP/UDP (RFC 793/ 768) RTP/RTCP (RFC 1889/ 1890) IPV4 ICMP (RFC 792)/ IPV6 ICMP (RFC 4443) TFTP Client VOIP VLAN Support (802.1q/802.1p) HTTP/HTTPS Server QoS Support Support IPV4 only, IPV6 only or dual stack m ode
1-3 Environmental
Actual Dimen s ion : 35 × 242 × 160 mm (Desktop) W eight: 0.935kg (unit withou t pac king) Operating Temp. & Humidity
- Temp.: 0℃~45 (32℉~113)
- Humidity: 1 0%~8 5% relative humidity, non-condensing
Storage Temp. & Hu m idi ty
- Temp.: 0℃~55 (32℉~131)
- Humidity: 1 0%~95 relative humidity, non-condensing
AC to DC Power Adaptor:
- INPUT: AC100V-240V, 50/60Hz
- OUTPUT: DC 12V, 1.5A
Regulatory Compliance: FCC (Part 15, Class B) & CE
1-4 Front Panel: LED Indicators
WellGate 2540
Figure 1-4-1 front panel
LED
Description
Power
When the power adapter is connected, the LED w ill light up green.
Status
When system is sta rtup succ essfu lly, the LED will light u p
green.
Proxy
When the gateway is registered successfully to a Proxy, this will ligh t up green.
WAN
This will light up green when the gatew ay’s WAN port is
physica lly connected t o the public int ernet. When data is transmitted through this port, it will flas h green.
The default IP of WAN port is 10.1.1.3.
LAN
This will light up green when th e g a teway’s LAN port is
physically connected to a local network (Refer to Rear Pane l s e c tion in page number f or loc ation of LAN por t) . When data is transmitted through this p or t, it will flash green.
The default IP of LA N por t is 192.16 8.123.123.
Line1~Line4
The status LED for FXO port 1-4, this will light up amber
orange when the connected phone is engaged in a conv ersation. It w ill flash amber orange wh en there is an
incoming call.
1-5 Rear Panel: LED Indicators
WellGate 2540
Figure 1-4-1 rear panel for FXO
Item
Description
Reset
Press and hold over 5 seconds to reload factory def a ult
setting, th is will erase all e xisting settings c onfigured on
this gateway.
L1 - L4
The status LED for FXO port 1-4. When there is no PSTN
connected, this LED will bec om e b linking. When PSTN is
connected an d no talkin g, the LED will be off. When a lin e
is using, the LED will become ligh t up. (WellGate 2540
only)
LAN
10/100 Base-T RJ-45 socket for LA N por t, con n ects to PC for management pu r pose .
WAN
10/100 Base-T RJ-45 socket for WAN port, connects to wide area network.
AC100V~240V
The power sock et, input AC 100V~240V, output DC 12V, 6A.
1-6 QUICK SETUP
Note: Please use Windows XP IE 6.0 web browser or above version to configure FXO gateway webpage setting. Welltech products don’t support other Web Browser such as FireFox to configure.
Login :
Setp1:
Setup the administrativ e PC’ s IP address to be same as Welltech 2540
and connect the Ethernet cable into WAN or LAN port. Start IE6.0 (or later version) to navigate Welltech 2540 web management system by typing the default URL which is http://192.168.123.123
(through LAN port) or
http://10.1.1.3 (through WAN port). The screen will display User Name
and Password (the default user id is root and user password is root). (See figure 1-6-1 web access)
Fi gure 1-6-1 web access
Step 2: After login, the screen shows the Home page of Welltech 2540. (See figure 1-6-2 Network configure-1)
Figure 1-6-2 Network configure-1
Change Defa ult IP Network:
Step 3: After successfully logon to the system, we need to change the network con figura tion. Click Device Setting > Network to setup the service network interface (WAN) parameters. Enter the deserved IP address, netmask and default gateway or selected to “DHCP” or “PPPOE”. Apply the change by clicking Apply button as fig (See Figur e 1-6-3 Network configure-2).
Note: I f Gateway WAN port are setting in the 10.x.x.x segment, please make sure that you also change the LAN port to other segm e nt suc h as 192.168.x.x
Figure 1-6-3 Network configure-2
Change Defa ult Time setting:
Step 4: When re-logon to the new IP address, the next is to setup the syste m time zone. Click Device Setting > Time to setup the system . Enter the current SNTP server, time zone and day ligh t s aving parameters. Apply the change by clicking Apply button. (See figure 1-6-4 Time setting)
Figure 1-6-4 Time setting
Modify SIP Account Parameter:
Step 5: The next step is to add a SIP trunk for VOIP calling. For WellGate 2540, it is necessary for VOIP calling . Click SIP trunk and new to create the required sip trunk. Enter the trunk ID to 1 and input those SIP parameters. Apply the change by clicking Apply button. (See Figur e 1-6-5 SIP Trunk)
Figure 1-6-5 SIP Trunk
Soft Reset Welltech 2540:
Step 6: After modify basic settin g. It is requir ed to re set Welltech 2540. Click
Maintenance > Maintenance > Soft-Reset or Reboot to take effect.
Apply the change by clicking Apply button. (See Figure 1-6-6 Quick -Reset)
10
Figure 1-6-6 Quick-Reset
Check Welltech 2540 Registered Status:
Step 7: After soft-reset or reboot. >Click Status > SIP Trunk Status to check whether registered or not. (See figure 1-6-7 SIP tr unk status)
Figure 1-6-7 SIP trunk status
Through the abov e settings, the Welltech 2540 should able to do the following : For FXO (Welltech 2540):
1. For PS TN incomin g call, the calle r will hear a dial tone. Then the c aller can
dial a VOIP nu mbe r an d it w ill u se th e se tu p S IP Trunk 1 to make SIP ca ll out. (2 stage dialing)
2. For VO IP incom ing call, Welltech 2540 w ill of f hook a FXO port a nd dial to
PSTN.
11
CH2 Device Settings
From this settin g category, all devices related par ameters c an be found here.
2-1 Network Configuration
> Network
Figure 2-1 network setting
Parameter Description:
Setting:
IP Support: IP stack to be supported (IPV6 and IPV4 or IPV6 or IPV4
only)
WAN Settin g:
Net work Type: support “Fixed IP”;”DHCP”;”PPPOE”
I P A ddress: IP address Def aul t Gateway: Default gateway DHCP Tag (option 6 0): input Vendor class identifier or not. DH CP Ta g (option 61): input Client identifier or not. DNS Server1: Primary DNS Server IP network DNS Server2: Secondary DNS Server IP network VO I P VL AN: Enable VOIP VLAN or not. When enable VOIP VLAN, the
WAN port can be only accessed by VLAN. If it is r equi red t o man age th e
12
WellGate 2540, Adm inistrator can use LAN port ins tead.
VOIP VLAN ID(2-4096): VLAN ID Used
Note: the default WAN IP address is 10.1.1.3.
LAN Setting:
Management mode: This LAN port is used for management purpose,
not used for r eg is te r or r outing.
NAT mode: DHCP function on the LAN port. The LAN ports will f unction
as a DHCP server, network devices connected to them will be issued with IP addresses. (On the lift item will add a NA T setting, the information please refer NAT setting)
IP Address
: IP address (please set to 192. 168.x.x if your WAN port is
using 10.x.x.x IP segmen t, the IP address must different as WAN IP).
Netmask: IP network mask Bridge mode: At this mode, both WA N and LAN ports are c onfigured to
Switch/Hub features. LAN port access to WAN port directly.
Note: default LAN IP address is 192.168.123.1 23
DDNS (DynDNS) Setting :
DDNS (DynDNS): enable or disable dynamic DNS f eature. Domain Name : input your Domain Name User Name: input your user namePassword: input your password
13
2-2 Device Time Setting
Welltech 2540 support SNTP with time zone and daylight saving.
Device Setting > Time
Figure 2-2 Time setting
Parameter Description:
Current Time: display time of now (display only)
NTP Time Server: SNTP time server
NTP Refresh Interval(sec): The frequen c y to sy nc NTP server in seconds
Time Zone: The time-zone Welltech 2540 is loc ated.
- Standard: Use a predefined standard time zone
- Customize: Use a us er defined time zone
Da ylight Saving: Auto adjust daylight saving timer or not Daylight Bias: The offs et added to th e Bias when the time zone is in
daylight saving time
Daylight Start: The date that a time zone enters daylight time
- Month: 01 to 12
- Week Day: Sunday to Saturday
- Apply Week (Day:01 to 05, S pec if ies the occurrence of day in th e
month; 01 = First occurrence of day, 02 = Second occurrence of day, ...and 05 = Last occurren c e of day)
- Hour: 00 to 23
Sta ndard Start: The date that a time zon e enters day lig ht time
- Month: 01 to 12
- Week Day: Sunday to Saturday
- Apply Week (Day:01 to 05, S pec if ies th e oc c urrence of day in the
month; 01 = First occurrence of day, 02 = Second occurrence of day, ...and 05 = Last occurren c e of day)
- Hour: 00 to 23
14
2-3 Device Advance Setting
> Advance
Figure 2-3 Advance setting
Parameter Description:
HTTP Service: The Administrator Web service port (the de fault is 80) HTTPS Service: The https web service port (the default is 443) Telnet Service: The telnet service port (the default is 23) HTTP/HTTPS Service access on WAN: When click the dis able option;
The WEB service will be rej ected on W AN port, so please be c areful w ith this function. If you w anted to enable W AN port again, you need to access this device from its LAN port to connect to WEB pages and enable WAN por t.
15
2-4 User Login Setting
Three level of user s can be used, administrator, supervisor, user. Each level of users will have different predefined acc es s level.
>User Login
Figure 2-4 user login setting
Parameter Description:
Administrator: The administrator level user which has full access of
Welltech 2540.
Supervisor: The supervisor level use r which has lim ited administrative
access right.
User: The user access right which only allows to setting some user
related features.
User ID: Login User ID Password: Login Password Confirm Passw ord: Confirm new password again Language: The web page language used when the accou nt login. To add
a customized local language , please contact Welltech.
16
2-5 Debug Settings
Welltech 2540 provides the real time debug to syslog or through telnet interface. It generates the debug information based on debug level and modules. Since the generating debug will consume system resource, it is recommended to turn on only for necessary and under Welltech FAE’s instruction.
Debug
Figure 2-5 Debug setting
Parameter Description:
SYSLOG: Enable or disable to send system infor m a tion to SYSLOG
server or not
Check for start from Any Time: Always Send: Always send syslog or
only during a specif ied time range.
Syslog Start (YYYY/MM/DD HH:MM): Always Send: Always send
syslog or only during a s pec ified time range.
Syslog Stop (YYYY/MM/DD HH:MM): The syslog stop sen ding time. Syslog Server: Syslog server IP a ddr es s Syslog Port: syslog server service port (default is 514) DSP Debug: Enable or disable to send DSP infor m ation to capture log DSP Capture server: Syslog capture server I P a ddr es s DSP Capture port: syslog capture server service port (defau lt is 50000)
17
2-6 Event Notice
Welltech 2540 can send Syslog Event Notice wh en it h ad th e f ollowin g c ase s:
1. Register Failure or re-registered
2. FXO RJ-11 cable was plugged or un plu g
3. Ethernet reconnected
4. System started
Figure 2-6 Event notice setting
Syslog Notice: Enable or disabl e to send system event to SYSLOG
server or not
Sy sl og Se rv er: Syslog server IP a ddres s Syslog Port: syslog server service port (default is 514)
18
2-7 Auto Provisioning
The Welltech 2540 can be pro visioned by W ellEMS 9510 for large deplo yment. Please contac t Welltech for availabilities.
>Provisioning
Figure 2-7-1 Provisioning
Select 9510:
Figure 2-7-2 Provisioning type of 9510
Parameter Description:
(This function is not available yet for WellEMS 9510)
EMS: Enable auto pr ovisioning s ervice by WellEMS 9510 or not.
- Enable: Enable the service and u s e man ual configured EMS server parameters.
- Disable: Disable the auto provisioning servic e.
- Discovery: To automatically discover the EMS server or not. By
using this mode, WellEMS 9510 need to be the same IP netw or k in order to make th e IP broadcasting work.
EMS Discovery Port: WellEMS 9510 service auto discovery
broadcasting port (defa ult is 61005).
EMS summary refresh interval: How long the Welltech 2540 will
report its summary status to WellEMS 9510 in seconds.
19
EM S I P a ddr ess: The WellEMS 9510 s er ver IP address EMS Se rver Port: The WellEMS 9510 Server port Data Encrypt:
Disable: disable encryption function. Welltech encryption: Enable Welltech proprietary encryption for S IP
signaling and R TP. It is required a Welltech SIP proxy server (WS6500 or SIPPBX 62 00) to work with this feature. When enable it, you c an hide your VOI P traffic from ISP’s monitor. External encryption: for custom encryption, it is valid now , if you want add the function to mach your proxy, please con ta ct with Welltech’s sales.
Select Http:
This feature is for feature usage only.
Figure 2-7-3 Provisioning type of Http
H t t p c onfig URL: internal used onlyRefresh interval(minute): interval to check whether have a new
configuration/firmware or not in minutes
User ID: specify the login id for http authentication Password: specify the password for http authentication
20
2-8 SNMP
Figure 2-8 SNMP
SNMP Agent:
SNMP Agent: Enable SNMP or not. Read Only Community Name: The community name to read
through SNMP protocol
Read Write Community Name: The community name to read and
write through SNMP protocol.
SNMP Agent Acce ss on WAN: Enable SNMP to be accessed
through WAN port or not.
Trusted Peer:
Type:
Any Address: Any address can retrieve the SNMP
information.
Specify an I P Addr ess: Only the IP address listed can
retrieve the SNMP information . Normally, it will be the SNMP manger IP addres s .
Specify a Su bnet: Only the network specified can retrieve
the SNMP information.
I P a ddr e ss: The IP address for a trusted peer Subnet Mask: The network mask for a trusted peer
SNMP Trap:
SNMP Trap: Enable SNMP tra p or not Destination: The I P address for SNMP manager to receiv e the SNMP
trap
Community: The communicate name for sending the SNMP trap
21
CH3 NAT Setting
The WellGate 2540 can support NAT, 2 ethernet leg (gw) or bridge mode. H ere are the settings for NAT related service.
3-1 DHCP Ser. (DHCP server)
Figure 3-1 DHCP s erver
DH CP Server: Enable DHCP server or not. Client Range Start IP: specify DHCP client lease start IP Client Range End IP: specify DHCP client lease end I P Def aul t Gateway: specify the default gateway Submask: specify the submask. DNS Server 1: specify the DNS server DNS Server 2: specify the DNS server
22
3-2 UPNP (universal plug and play server)
Figure 3-2 UPnP
UPN P IG D: Enable UPNP server or not.
3-3 Bandwidth (Bandwidth Control)
By using bandwidth control feature, the user can manage the traffic based on their needs.
Figure 3-3-1 Bandwidth control
Bandwidth Control:
Ba n dwidth Contr ol: enable bandwidth control or not. Download Bandwidth: specify total ban dwidth for dow nload (unit:
kbps). 0 indicates no limitation.
Upload Bandwidth: specify total bandwidth for upload (unit: kbps).
0 indicates no limitation.
23
Maximum Bandw idth a nd Reserved Bandwidth:
Se tu p M e t hod: bandwidth control m ethod, percentage or specify
the required bandwidth
perc entage : total bandw idth
priority 1: highest priority percentage priority 2: Normal priority per c e ntage priority 3: low priority percentage
Figure 3-3-2 Bandwidth control
specific :
priority 1 – Download: highest priority download bandwidth priority 2 – Download: normal priority download bandwidth priority 3 – Download: low priority download bandwidth priority 1 – Upload: highest priority upload bandwidth priority 2 – Upload: normal priority upload bandwidth priority 3 – Upload: low priority upload bandwidth
Figure 3-3-3 Edit control list
In order to set which target is b elonged to whic h priority, the following is the setting meth od for target’s priority.
24
IP Target
Figure 3-3-4 IP Target 1
Figure 3-3-5 IP Target 2
Priority: Priority value for the target Type: The target type is set to I P Configure Type: unique IP or a range of IP address
Unique:
IP Address: the IP address to be set
IP Range:
Start IP: The starting IP for a range End IP: The stopping IP for a range
25
Port Target
Figure 3-3-6 Port Target
Priority: Priority valu e for the target Type: The target type is set to port number Conf igure Type: unique port number or a range of port number
Unique:
Port: the port number to be added Protocol: protocol for the port
Port Range:
Start port: the starting port number End port: the stop port number Protocol: protocol for the port r a nge
Application Target
Figure 3-3-7 Application Target
Priority: Priority valu e for the target Type: Application Application: the list for the application
26
DSCP target
Figure 3-3-8 DSCP Target
Priority: Priority valu e for the target Type: DSCP value DSCP: The DSCP will be mapped to the priority
The WellGate 2540 support firewall fea tures as below.
3-4 URL Filter
Figure 3-4 URL Filter
URL Filter: the specified url will be blocked
27
3-5 IP Filter
Figure 3-5 IP Filter
IP Filter: The specif ied IP address to be blocked Local IP addre ss: The LAN side IP address to be forwarded Protocol: TCP, UDP or both are used for port forward
3-6 MAC Filter
Figure 3-6 MAC Filter
MAC Filter: The MAC address to be blocked
28
3-7 APP Filter
Figure 3-7 App Filter
APP Filter: application to be blocked
3-8 Port Filter
Figure 3-8 Port Filter
Port Filter: enable port Filter or not. Port Range: Starting and stopping port t o be forward. If you are
using only 1 port, please set the sta r ting equal to stop ping port.
Protocol: TCP, UDP or both are us ed for p or t blocked.
29
3-9 Port Fwd
The WellGate 2540 support port forward feature as below
Figure 3-9 Port Fwd
P ort F wd: enable port forward feature or notP ort Range: Starting and stopping por t to be forward. If you are
using only 1 port, please set the starting equal to s topping port.
Protocol: TCP, UDP or both are used for port forward L oc a l IP address: The LAN side IP address to be forwarded Local Port: The LAN side port to be forw arded. I f you ar e using the
port range, this port indicates the starting port.
30
VOIP Parameters Setting
SIP Parameters:
CH4 VOIP Setting
4-1 SIP
Figure 4-1 SIP setting
Parameter Description:
Session Tim er: Enable session tim er or not (RFC 4028) Session Expires (sec): This is th e s etting of initial ses s ion timer
expires time ac c or d ing to RFC4028 - Session Timers in the S ession Initiation Protocol.
Min SE (sec): The minimum session timer allow ed when receiving a
call with sess ion timer value according to RFC 4028.
PRACK: Enable provisioning ACK or not ( RFC 3262)
- None: Disable PARCK
- Supported: When select this mode, 100rel will be added to the
support list. It indicates Welltech 2540 can support the PRACK but not mandatory.
- Require: PR ACK is mandatory required.
SIP Local Port: The SIP local service port (default is 8080) SIP Qos Type: Quality of Ser vice Type for SIP signaling
- None: Not using QOS Tag and not enables QOS.
- DiffServ: Differentiated Services Value. Input DSCP value 0-63 for
DSCP
- TOS: Type of Service which include IP precedence value and TOS.
Accept Proxy Only: Only accept the c all coming from the SIP proxy .
Not accept peer to peer call at this mode
31
4-2 Audio
Figure 4-2 Audio setting
Codec 1~5: The preferred codec priority G .711u P a y load Size: G.711 u-Law payload size G .711a P ayload Size: G.711 A-law payload size G .729 P a y load Size: G.729A payload size G .723. 1 P ayload Size: G.723.1 payload size Bi t R ate : G.723.1 bit rate used
5.3K bit rate is used 6.3K bit rate is used
Codec Priority: Selection order to match the r e m ote SDP for codec
selection.
Loca l SDP Order: Use local SDP order to matc h codec Remote SDP Order: Use Remote SDP order to match codec
DTMF Relay:
In-Band DTMF: use inband DTMF instead of out of ba nd. RFC 2833(fall back to SIP-INFO): Use RFC 2833 if the SDP
negotiation c ould be done. Or use SIP INFO for DTMF relay.
SIP INFO: Use SIP-INFO DTMF relay RFC 2833(fall back to Inban d): Use RFC 2833 if the SDP
negotiation could be done. Or use inband DTMF transmission.
Silence Suppression:
32
Enable: Start the voice activ ity (silence) det ec tion when detect
silence for 60 s econds, it will h ang up the call. (For FXO use)
Disable: Send silence packet as normal voice packet (no silence
detection)
R TP Ba sic P ort: The RTP starting port. Each channe l will be add
additional 10. F or example, the R TP basic port is 1638 4, thus call 1 w ill use 16384 while call 2 will use 16394 etc.
R TP Q os Type: IP QoS tag for RTP s tream
DiffServ: The differentiat ed s er v ic e Q oS ta g will be used. Input DSCP value 0-63 for DSCP.
TOS: T ype of Service which in clude IP precedence value and TOS.
33
4-3 Tone
The setting page is used to setup the tone to be generated or detected. The detected tone is the Disconnect 1 & 2 (for FXO use) and the others are for generating (when FXS received the “bye” from IP side or waiting time
out by analog phon e which keeps ha ndset pick up, it wi ll send busy tone to analog phone). The disconnect tone is very important for PSTN
status supervision.
Figure 4-3 To ne setting
Please use C ountry Template to select the c ountry prof ile which will b e applied. Click Use to load those country tone parameters to system and change if necessary. For those countries are not showed in the list, please select a
closed c ountry an d edit to match y our countr y . Y ou can sen d an email with the tone definition to W elltech if you would like to put your cou ntry into the list.
Note: about how to record d is c onnect tone and analyzer it. Ple a se link to
download and refer it.
http://www.welltech.com/support/voip2/SIP%20series/FXSO%20series/25x x/FXO_Tone_Analyzer/FXO%20Tone%20Analyzer_EN.zip
34
4-4 NAT Traversal
The WellGate 2540 support the following NAT trave r s al methods
Figure 4-4 NAT Traversal
NAT Traversal:
Disable: Disable NAT traversal features STUN (Type 1,2): Enable STUN for NAT tr aversal. Since
STUN can be used only f or type 1 and type 2 NA T serv er, it is recommende d to use this option. When STUN client detect the used NAT is type 3 NAT, it will stop the STU N feature.
STUN Server: STUN Server IP address
STUN (All): No matter which NAT type server are used,
STUN is always to be used for NAT traversal.
STUN Server: STUN Server IP address
UPNP: Enable UPnP client for NAT tr aversal. Please note that
the IP sharing bo x need support uPnP feature.
Behind NAT: Use DMZ for NAT traversal
IP Sharing Address: public IP sharing address. You
need to specify the port mapp ing or DMZ for all required port.
35
CH5 VOIP Advance
5-1 SIP
Figure 5-1 SIP
Parameter Description:
SIP Hold Type: SIP on hold message sending method.
- Send Only: Set the SDP media to sendonly when send an on-hold SIP message.
- 0.0.0.0: Set the SDP connection to 0.0.0.0 when send an on-hold SIP message.
- Inactive: Set the SDP media to inactive when send an on-hold SIP message.
SIP Compact Form: Enable SIP compact form or not. When en able
this featur e, the connected SIP proxy is requ ired to support compac t form.
Session Refresher: Who will send dia log keep alive m es s a ge
(re-invite or upd a te).
- UAC: User Agent Client will do th e r e fresh (defa ult setting)
- UAS: User Agent Server will do the refresh
SIP T1 (msec): T1 determines several timers as defined in
RFC3261. For exa m ple, when an unreliable trans port protocol is used, a Client Invite transaction retransmits req uests at an interval that start at T1 seconds and doubles after every retransmission. A Client General transa ction retransmits reques ts at an interv a l that starts at T1 and doubles until it reaches T2. (Default Value: 500ms) **
36
SIP T2 (msec): Determines the maximum re transmission interval
as defined in RFC3261. For example, when an unreliable trans port protocol is used, genera l r eq uests are retransmitted at a n interval which starts at T1 and doubles until reaches T 2 . If a provisiona l response is rec eived, retra nsmission continu e but at an interv al of T2. (Default Value: 4000ms) **
SIP T4 (msec): T4 represen ts the amount of time the network
takes to clear message between client and server transactions as defined in RFC3261. For example, when work in g with an unreliable transport p rotocol, T4 determines the time that UAS waits after receiving an AC K m es s a ge an d bef or e term inating the trans a c tion . (Default Value: 5000) **
Invite Linger Timer: After sending an ACK for an INVITE final
response, a client cannot be sure that the serv er has received the ACK message. Th e client should be able t o retransmit the ACK upon receiving retr a nsmissions of the final resp onse for this timer. T his timer is also u sed when a 2xx respon se is sent for an incomin g Invite. In this case, the ACK is not part of the Invite transaction.
General Linger Timer: After a UAS sends a final response, the UAS
cannot be sure tha t th e c lien t has received the respon s e m es s a ge. The UAS should be able to retransmit th e response upon receiving retransmiss ions of the request based on this tim er .
Ca nc el General No Response Ti me (msec): When sending a
CANCEL request on a General transaction, the User Agent waits cancel General No Response Timer millisecond s be fore timeout termination if there is no response for the cancelled transaction(Default Value: 10000ms).**
General Request Timeout Timer (msec): After sending a
General reques t, th e U s er A gent waits for a final response general Request Timeout Timer millisecon ds before timeout termination (in this time the User Agent retransmits the requ est every T1, 2*T1,…T2,…milliseconds)**
Ca nc el Invite No Response Time r (msec): When sending a
CANCEL request on a n Invite request, the User Agent waits this timer before timeout termination if the r e is no response for the cancelled transaction.
Provisional Timer (msec): The provisionalTimer is set when
receiving a pr ovisional res p onse on an INVITE transaction. The transac tion will stop retransmissions of the IN VITE request and will wait for a final response until the provisionTimer expires . If you set the provision T imer to 0 , no tim er is s et. Th e INVI TE tr an sa ction will wait indef initely for the final response.
First Response Timer (msec): When sending a request out, the
User Agent waits this timer for any r esponse receiv ed from UAS. If timer is expired and n o any SIP mess age is received, t he User Agent
37
will think th e request is failed. The default is 5 s e c onds.
L ine Congesti on Code: when callee's end system was contacted
successfully but the callee is busy and does n ot wish to take th e cal l at this time, the system wills response the code, default is 600.
(FXO use)
SIP-Info Flash Mode: when you enable the feature, sys tem will
make flash key to send SIP message by sip-info.
5-2 Audio
The setting page includes the device related audio set tings.
Figure 5-2 Audio setting
RFC 2833 Pa y load Type: 96 or 101. It is recommended to use 101. DTMF Send On Time(msec): When generate DTMF, the DTMF on
time will be send (defau lt value is 70 ms)
DTMF Send Off Time(msec): When generate DTM F, the DTMF off
time will be send (defau lt value is 70 ms)
DTMF Detect Min on Time (msec): The minimum D TMF on time will
be processed as a regu lar DT MF even t. Smaller than it will be ignored. The default value is 60ms .
DTMF Detect Min off Time (msec): The minimum DTM F off time for
the same DTMF value. Smaller than it and the new DT MF digit is the same as previous on e w ill be h a ndled as 1 digit only.
DTMF Relay Volume: The DTMF relay volume T. 38 F ax V olume: The T.38 fax relay volume T.38 Redundant Depth: The T.38 redundant packet depth. I t could 0
(no redundant), 1 or 2. It is recommended to set to 2.
T. 38 ECM: The t.38 error correction mode. Default value is ON.
38
Min Jitter Buffer (msec): The minimum delay time of Jitter buffer. Max J itter Buffer (msec): The Maximum delay time of Jitter buf fer. Max Echo Tail Length (G.168): Enable the echo cancellation feature.
The defau lt s e tting is “128ms”.
J i tte r O pt. Factor: Jitter buffer dynamic factor for optimiz e. Please
set to 7 unless under Welltech’s in struction to change.
Impedance: selected analog phone’s impedance. (for FXS port use)
5-3 Ring
When you conn ect WellGate 2540 FXO gatew ay Lines to local PABX’ s extension or PSTN switch, please configure proper Ring Cadence (Ring ON time and Ring
OFF time) according to the PABX or PSTN ring Cadence specification.
Without conf iguring Ring Cadence to F XO gateway properly according to PA BX or PSTN Ring Ca dence, FXO m ay detec t Ring signal in a stran ge beha vior and cause abnormal operation.
WellGate 2540 factory default Ring Cadence setting is 1 seconds ON , 2 seconds OFF. Some PABX or PSTN provides 1 second ON and 3 seconds OFF Ring Cadence. In this case, please con figure WellGate 2540 Rin g Cadence to 1 second ON and 3 seconds OFF to match incoming Ring signal. (See Figure 5-3 Ring setting.)
Note: if you hav e no idea wh at is the P ABX or PSTN rin g cadence, please to
change the r ing on and ring off to 8000. When have an incoming call which WellGate 2540 can’t pick up it.
Figure 5-3 Ring setting
Frequency (10~70HZ): Specify the ringing frequency v alu e
39
(default is 20HZ)
Ring on (0~8000 ms): Specify the ringing on value (default
is 1000msec)
Ring off (0~8000ms): Specify the ringing off value (default
is 2000msec)
Ring level (10~95volt): Specify the ringing level ( d ef au lt is
94 volt)
40
CH6 Dialing Plan
6-1 General
Figure 6-1 General setting
F irst Digit Time Out:
Specify the duration of dial waiting when the
receiver is off hook. The r ange is 1~60 sec.
I nt er Digit Time Out: Specify the interva l of input digits, if the
interval is over the setting, the sys te m will end the dial and send out the DTMF. The limitation
range is 1~10sec.
End of Digit: The assigned key will be tread as end of dial. Retrieve Number: it will forced to get back line, if used Welltech 2540
make transfer to other devices but the dev ic es no answer and into voice mail, You can press the code forced to get back line. Default is “*#”.
41
6-2 Dialing Rule
Figure 6-2 Dialing Rule setting
Dialing rule is used to speed up the dialin g procedure. Some user don ’t like to use the end of dialin g digit su ch as “#”, the adminis tra tor can use dialin g rule instead. The longest pref ix will be matched first.
Dialed Prefix: The prefix to be matched Max Digits: The digits will be receiv ed based on th e Dialed Pr efix.
The followin g is an example for dialing ru le: Mobile call is star ted with 09 an d it is 10 digits Long distance call is starte d with 0 and it is 10 dig its International ca ll is start ed with 00 and its max di git should be less than 32
The others ar e loc a l call and 8 digits
Emergency call is s tarted with 1 and 3 digits The Dialing rule can be set as follows:
Prefix, max digits 09, 10 0, 10 00, 15 1, 3 2, 8 3, 8 4, 8 5, 8 6, 8 7, 8 8, 8 9, 8
42
6-3 Digit Manipulation
The Digit Manipulation will be processed based on pr efix and DM group after the DNIS is determined.
Figure 6-3 Digit Manipulatio n setting
DM Group: Different DM group hav e dif ferent case to be used.
FXO: This DM group is used for FXO 2 stage dialing. After the
DNIS is collected, this DM group will be pro cessed before enter the routing procedure.
VOIP: This DM group is used for VOIP incoming call. After the
DNIS is collect ed in 2 sta ge dialin g or 1 sta ge dialing DNIS, this DM group will be proc es sed before enter the routing procedure.
1-4: These DM groups are used for backup routing purpose.
When a backup routing is used, the administrator can select a DM group to be processed before start the backup route.
Matched Prefix: The prefix to be matched for D M. Th e longest prefix
will be matched first.
Matched Length: S et to 0 for ignorin g the length. The other 1-32 ar e
the length to be ma tched as a condition.
Sta rt P os: The start position to be replaced. St op P os: The stop position to be replaced. Replace Value: The value to replace.
Example of Digit Manipulation Settings:
Prefix
Len
Start Pos
Stop Pos
Replace Value
Test DNIS
Result DNIS
886
0 0 0
002
8862123456
0028862123456
886
12 0 0
002
8862123456
8862123456
886
0 2 5
002
8862123456
8800223456
886
0
30
30
002
8862123456
8862123456002
886
0 1 6 8862123456
83456
43
6-4 Phone Book
Phone Book is used for peer to peer c a ll.
Figure 6-4 Phone Book setting
Name: This field supports called number only. If you enter words or
text here, it will routes to proxy server automatically.
Tel No: Enter c alled number and I P address. Please follow this sample of
picture, as the format of “number@uri:port”. (default port is 5060)
Export: To backup the phone book records. Import: To reload setting of phon e b ook.
44
CH7 FXO Setting
The FXO Setting contain s the FXO related para m eters.
Figure 7-0 FXO setting
Line ID: FXO line (L1 to L4) State: The line is active or not TE L No: The reference telephone n umber (e.g. PSTN TEL of line) Hotline TEL:
If hot line is se t, this field show s the hot line number.
Export: backup all lines setting. Import: reload all line setting.
45
7-1 FXO line
Figure 7-1 FXO setting
User ID: FXO Line number (L1 to L4) User Type: the line type which is FXO Line State: Set to activ e if y ou w ou ld lik e to us e this lin e. O ther wis e,
set to Inactive.
TEL NO: This field can be used as a reference remark for this line.
Normally, you can put the connected PSTN line’s phone number here for reference.
Polarity Reversal Detection: When enable the Polarity Reversal
Detection; the Welltech 2540 will use the polar ity reversal signal as the answer sign al for FXO outgoing call. When disable the polar ity Reversa l Detection, the Welltech 2540 will use Dialing Answer Delay Time for answering the SIP call.
Current Drop for disconnect: Use Line current drop as a disconnect
supervision or not.
Incoming call handling: The call handling polic y for a FX O incoming
call.
Hot line TEL: When a FXO incoming call was detec ted and after
the PSTN Answe r Ring Co unt, Welltech 2540 will send the SIP call to the specified hot line TEL number through the Route Plan.
2 Stage Diali ng: When a FXO incoming call was det ected and
after the PS TN Answer R ing Count, Welltech 2540 will answer it and play the dial tone for 2 stag e dialing to VOIP.
Playback voice file: To enable play ing voice greet ing file or not. R epeat Count: Repeat how many counts to play voice greeting file.
46
(Used for FXO p or t with 2-Stage Dialin g Only )
Voice file name (MuLaw-mono 8K): Specify the file path and file
name to upload. Please make sure that the file format needs to be
G.711U, 8K, 8 bits raw file. (Used for FXO port Onl y )
Flash Time: Flash Time will be send to PSTN lin e ( inte r nal use only) FAX Relay: Enable T.38 Fax Relay or not Input(Encode)Gain: Adjust the volume from PSTN to VOIP (default
is 0 db)
Output(Decode)Gain: Adjust the volu me from VOIP to PSTN (default
is 0 db)
Dialing Answer Delay Time (sec): When the polarity reversal
detection is disabled, Welltech 2540 will answer the call a fter this time out without a nswer su pervision. A fter the D TMF dialin g, Welltech 2540 will send 183 with SDP to enable the voice path for VOIP side.
PSTN Answer Ring Count: This ring count is used for called ID
detection and 2 sta ge dialing.
If the caller ID is sending during the first rin g and second
ring, this pa ram eter s hould be set to grea ter or equa l to
If the caller ID is sending before the first ring, this
parameter ca n be set to greater or equal to 1. After the ring count was reached, Welltech 2540 will a nswer the call if 2 stage dialing is selected or make the VOIP call out if hot line is selected.
Ca llerID Standa rd: The detected Caller ID stand for th e lin e.
47
CH8 SIP Trunk
The administrator needs to set the SIP trunk for VOIP outgoing call and incoming call. There are up to 4 SIP trunk can be used for whole system.
Figure 8-0 SIP Trunk page
Trunk ID: SIP trunk ID 1 to 4 Register Type: Register type is predefin e or r egister TE L No: The Tel no for the SIP account Proxy S e rv er: The SIP proxy server Proxy S e rv er port: The SIP proxy serv er port O u tbound Proxy: The SIP outbound prox y sever O u tbound Serve r P ort : The SIP outbound proxy serv er port
48
8-1 Create SIP Trunk
Figure 8-1 SIP Trunk page
Trunk ID: SIP trunk ID 1-4 Register Type: Whether this account need register or not
Register: When it is set to register, Welltech 2540 will send
REGISTER message to S IP proxy server for regis tration.
Predefine: When it is set to predefine, Welltech 2540 will NOT
send REGISTER mes s a ge out.
Domain: The SIP domain for registe r or call making Proxy S e rv er: SIP registrar server address Proxy S e rv er Port: SIP registrar serv er por t n umber O u tbound Proxy Ser ver: outbound proxy server a ddres s O u tbound Proxy server port: outbound proxy serv er por t n umber Register Expires: the default register expires for negotiation TE L No: The registrar tele phone number User ID: The SIP user ID for register and call making U ser Password: The SIP password for register and call making Display Name: The SIP display n a m e Reject Anonymous Call: Reject the anonymous call O u tgoing Calle r I D : The outgoing SIP caller ID mode.
-Display Name: The display name will be set according to the following type.
None: No display nam e will be used PSTN caller ID: The displa y name will be the collect ed PSTN
caller ID
49
SIP display name: The display name will be the Display
Name set in this SIP trunk.
FXO Tel NO: The displa y name will be the incomin g FXO’s TEL
No set on FXO lines.
User ID: The SIP caller ID will be used according to the following type. SIP user ID: If the SIP user I D is set, the S IP us er ID set in
this SIP tr unk will be used and the domain/SIP proxy will be the host part. The SI P FROM header’s URL will be the
SIP_User_ID@Domain or SIP_User_ID@SIP_Proxy_Server.
PSTN caller ID: If the PS TN caller ID will be used in SIP URL,
the SIP FROM header’s URL will be
PSTN_Caller_ID@local_IP_address.
FXO Tel NO: If the FXO Tel NO will be used in S IP URL, the
SIP FROM header’s URL will be
FXO_Tel_NO@local_IP_address.
The following guideline could be used for most of c a s e:
1. If the Welltech 2540 in SIP proxy is handled as a gateway, please set the display name and User Id should be set to “PSTN caller ID”.
2. If the Welltech 2540 is SIP proxy is handled as a subscriber, please set to the display name to “PSTN caller ID” and user ID to “SIP User ID”.
For DNIS is Register TEL: When you ha ve a call f rom V oIP to FXO to
call out to PSTN network, the r e are two methods can be used.
Keep Alive: Enable or Disable it. Keep Alive Time (sec): Specify of times s end sip register mes sage to
proxy server.
50
CH9 Route Plan
The core of Welltech 2540 is the routin g po lic y. The policy is b as ed on incoming call type/target, length and prefix to determinate the outgoing call process. For VOIP incoming call, it can send to FXO interface an d vice versa.
Figure 9-0 Route Plan page
I nc oming Call Type: Incoming call type ( FXO or VOIP) Matched Pre f i x: matched DNIS (called number) prefix M a tc hed Incomin g List: matched DNIS incoming interface target M a tc hed Length: matched DNIS (called number) length O u tgoing Type: The outgoing call type (FXO or VOIP ) Export: backup route plan setting. Import: reload route pla n setting.
51
9-1 Create Route Plan
Click Route Plan and Click new to c r eate a new routing policy.
Figure 9-1 Route Plan setting
I nc oming Call Type: Incoming call type
VOIP: The incoming SI P call type
FXO: The PSTN incoming call type Matched Pre f i x: matched DNIS (called number) prefix M a tc hed Incomin g List: matched DNIS incoming interface tar g et
For VO IP incom ing call ty pe, th e incoming tar get w ill be
the SIP trunk ID. Only the call from the selected SIP Trunk will be accepted for this route.
For PS TN incomin g call ty pe, th e incomin g target w ill be
the line ID (L1 to L24) . Only th e call is comin g from the selected line will be acc epted for this route.
Matched Length: matched DNIS (c alled number) length. F or ignoring
the length, please set to 0.
No Answer Timeout: How long the hunting will continue to next
when the called target doesn’t answer.
Create Route Plan>Primary Route
O u tgoing Type: Outgoing call type (FXO or VOIP) H u nting Type: The hunting method will be u s ed for this route.
Priority Ring: The call will be hunted based on the
routing list or d er one by one.
Cyclic Ring: The call will be hunted based on th e cyc lic
52
basis. This is the r ec omm ended method.
Routing List:
The routing target list will be used for this route. DM Group: Select DM group 1 to 4 in case it requires an DM (for
example remove the prefix) before to mak e the call.
Create Route Plan>Backup Route
Backup Route Active: Active the backup route or not. O u tgoing Type: The backup route outgoing call type. Hunting Type: The hunting meth od will be used for this route . Please
refer to the Pr im a ry Route.
Routing List: The backup routing targ et list will be us ed for this route. Route DM Group: Select DM group 1 to 4 in case the backup required
the DM before to make the call. The DNIS is unchanged by the prima ry route DM and same as the DNIS before routing. For example, the DNIS is 886282265699 an d primary DM grou p remove 886 an d use it (DNIS = 282265699) to mak e call. When backup route is started, th e DNIS is still unchan ged as 886282 2656 99. This mak es th e DM ea sy to pred ic t and implement.
2 special default route, “VOIP Default Route” and “FXO default Route”, are used as the default routing when there is no any other routing are matched. It is not recommended to disable these 2 default route. The FXO default route is used when a FXO incoming call’s default routing. VOIP defau lt route is used for a VOIP incoming c a ll’s default routing.
53
CH10 Status
Welltech 2540 provides the system statu s here.
Figure 10-0 Device Status
10-1 Device States
See the figure 10-0 Device Status
Model: The model numberMAC-Address: The MAC address of Welltech 2540 Network Type: The Network Interface Type Settings IP-Address: IP address is using IPV6 IP-address: display IPV6 address Firmware: The firmware version a nd release information
54
10-2 Line Stat es
This page shows the each line’s current status.
Figure 10-2 Line Status
Line: L1 to L4 Call State: The Line status for this line Refresh Interval (second): The tim e to r e fresh the status
55
10-3 SIP Trunk States
Figure 10-3 SIP Trunk Status
Account: SIP trunk accountRegistered: The SIP trunk register status Concurrent Call: The concurrent calls are used for this SIP trunk Refresh Interval (second): The tim e to r e fresh the status
56
CH11 Maintenance
Welltech 2540 can be managed by this man a gem ent page for upgrading firmware or reset.
Figure 11-0 Maintenance
Backup: Backup the system settings for r estoring purpose Restore: Restoring the backup setting back to Welltech 2540 R e set to Def aul t: Reset system setting to factory default Quick-Reset: Wa r m Reset without reboot Welltech 2540 Reboot: reboot Welltech 2540
11-1 Firmware Update
This maintenance page provides the firmware upgrade features.
Figure 11-1 firmware update
Firmware Update: Upgrade the new firmwar e th r ough web page
57
Appendix A --- System Recovery
WG2540 use dual firmware image to ensure the system stabilities. In most of case, you will not encounter the system failed to boot issue. Normally, the user should be able to use W eb pa ge to login and upgrade the firmware through it. If you are not able to do it, please follow the follow ing s teps for recovery.
1. Star t the WG2540 and to check the STAT US led is up or not. If STATUS led is ON, please press the reset button for 5 seconds to reset to default. After all LED are light up, the system is back to factory settings.
2. Change your PC IP address to 192.168.123.111 and network set to fix IP address mode.
3. Connect your PC to WAN port and use http://192.168.123.123 to upgrade the firmware. Make sure you are using Micrsoft IE 6 or later version. Do not support
FireFox Web browser.
4. If you cannot login to the web page through 192.168.123.123. Open a command line windows and type “telnet 192.168.123.123”. If you can see the following display, go to the next step. Otherwise, please contact Welltech FAE for RMA (Repair).
5. Pr e p are a TFTP s er ver for firmware downlo a d as follo w s
- download tftp server http://www.welltech.com/support/voip/TFTP/TFTP_Server.zip
or http://tftpd32.jounin.net/tftpd32_download.html
- s tart tftp server
58
- d ownload the firmware into tftp data directory
6. I n the telne t te rminal, do the following command
- 1. __dmctw
- 2 . cd /config_fs
- 3. rm -f wg25*.bin
- 4 . tftp –g –r wg25.1. 0. bin 192.1 68.123.111
59
- 4. copy firmware successfully
- 5. reboot
7. Che c k w he ther the syste m was recovered or not
60
Appendix B --- HTTP auto provisioning
Get the http pro visioning pac ket from Welltech and start the pr ovisioning as follows:
Step 1: build mac l ist for mass configurati on file gene r a tion
For FXO>
The Welltech 2540 MAC.csv contains most frequently changed parameters as following:
MACAddress: WellGate 2540 MAC Address Siptk1.displa yname ~ siptk4.displayname: display name for each line Siptk1.userid ~ siptk4.userid: user id f or register to SIP proxy for each line siptk1.password ~ siptk4.password: user pa s s word for register to SIP
proxy for each line Siptk1.telno ~ siptk4.telno: tel no for each line
Please save and close it.
Step 2: create a t emplate configuration file
Open the “Welltech 2540 Parameter.txt” getting from Welltech and make the required change. Please at least make the changes for those provisioning and SIP proxy settin gs . For detail, please refer the comments of “wg2540
Parameter.txt”.
Step 3: Make the c h ange for we gencfg.ini as follows if ne c essary
# Template File BaseFile=.\Welltech 2540 Parameter.txt # MAC list file
ListFile=.\Welltech 2540 MAC.csv # 0: Off , 1: On Encrypt=0
Step 4: Generat e t he individual configurat ion file.
Double click the “wtgencfg.exe”, it will generate the configur ation file for each MAC list in “MAC address.cfg” as the following pictur e s .
61
Step 5:
Put the “*.cfg” file into http or ftp directory. Set the pr ovisioning settings in WellGate 2540 an d reboot to test it. You can use the hfs for http file serv er. It can be download from http://www.rejetto.com/hfs/.
Note: please link it to downloa d prov ision f ile. More inf ormation please refers “wg2540 Parameter.txt”.
http://www.welltech.com/support/voip2/SIP%20series/FXSO%20series/25x x/provision/2540/2540_Provision.zip
62
Appendix C--- WellGate 250 4 (4 -FXS) and WellGate 2540(4-FXO)
in peer to peer mode with hotline by port to port application.
Purpose
This paper is g oing to descr ibe how to configure FXO to FXS in peer to peer
mode with hotline function to link from one desire port a t FXO via SIP I P link
to remote FX S desire port. This applicat ion is widely u sed to extend tradition al PAB X extension fr om one location to r em ote office v ia IP Link wh ich could be VPN, Private network, fiber link or Wireless network. Here is an typical diagram of this application at Figure 1.
Figure 1.
Before start to conf igure of both FX O and FXS gatew ay, we have as signed the following parameters to both devices as follows. Please note that both IP
addresses at FXO and FXS gateway’s WAN port should be able to see each other. Both FXO and FXS gateway CAN NOT install behind Router or Firewall or IP Sharing.
WellGate 2504 (4-FXS Gateway ) information :
IP address : 192.168. 18.201 Line number : 501, 502, 503 a nd 504
63
WellGate 2540 (4-FXO Gateway ) i nformation :
IP address : 192.168.23.23 SIP Line number : 1001, 1002, 1003 and 1004 FXO Telephone Number : def a ult is Blank PABX Exten sion number 201, 202, 203 a nd 204 which were connec ted to Port #1 to #4 at FXO Gateway.
WellGate 2504 (FXS Gateway) configuration
Step 1: Configure static IP address to WellGate 2504, like below Figure 2. For example: Set static IP address of 192. 168.18.201 at WAN port on Device Setting Network of WellGate 2504 WEB page.
Figure 2. Step 2: Go to VOIP Setting  SIP to select the “Accept Proxy Only
feature to NO and m a ke sure to setup the SIP Local Port number. In this example, the SIP local por t is 8080. See Figure 3. This port number shou ld be the same as P hone book configuration SIP port number.
Figure 3. Step 3: Set the FXS lin e’ s inf ormation to eac h port ( Line I D is the FXS’s port
number at Figure 4). Enable Hotlin e feature at FXS g a teway to port #1 and enter HOT LINE TEL
64
field to 1001 which is WellGate 2540 FXO port 1 n umber. This command let FXS port #1 point to remote FXO por t #1 directly. Continue to configure
FXS port number 2 to 4 as following example at Modify Line Setting
web page. See Figure 5. Enter HOT LINE TEL field to 1002 which is WellGate 2540 FXO port 2 number. (This command let FXS port #2 point to remote FX O p or t #2 directly.) Enter HOT LINE TEL field to 1003 which is WellGate 2540 FXO port 3 number. (This command let FXS port #3 point to remote FX O p or t #3 directly.) Enter HOT LINE TEL field to 1004 which is WellGate 2540 FXO port 4 number. (This command let FXS port #4 point to remote FX O p or t #4 directly.)
Step 4: Go to Modify Line Settin g w ebpage (S ee Figur e 5) of FXS gateway at Port #1 (LINE ID 1) to continue setting of port #1.
Select Register Type to “predefine”. Enter FXS port #1 inform ation as follows. TEL No : 501 User ID : 501 User password: 501 Display Name: 501
Enter FXS port #2 information a s follows.
TEL No : 502 User ID : 502 User password: 502 Display Name: 502
Enter FXS port #3 information a s follows.
TEL No : 503 User ID : 503 User password: 503 Display Name: 503
Enter FXS port #4 information a s follows.
TEL No : 504 User ID : 504 User password: 504 Display Name: 504
Step 5: Select HOT Line to Enable at webpage ( See Figure 5) of Lin e Setting at FXS Gatew ay . And enter HOT Line TEL at 1001 which is WellGate 2540 FXO port #1 number. For example: The FXS port 1 number is 501, FXS port 2 is 502, F XS port 3 is 503, FXS port 4 is 504. FXS port 1 number 501 hotline to FXO SIP Trunk 1 which number is 1001,
65
FXS port 2 number 502 hotline to FXO SIP Trunk 2 which number is 1002, FXS port 3 number 503 hotline to FXO SIP Trunk 3 which number is 1003, FXS port 4 number 504 hotline to FXO SIP Trunk 4 which number is 1004,
See Figure 4.
Figure 4.
Figure 5. Step 6: set the SIP Prox y information on FXS Setting SIP Proxy. See
Figure 6. For example: Set the SIP Proxy Server’s IP address at 192.168.23.23, Proxy port number at 8080 and Ou tbound Proxy s erver port number at 8080 a s well which were FXO’s IP address and SIP port number.
Note: Y ou h ave to f ill in remote FX O Gateway’s I P address and port nu mber at this step. See figure 6.
66
Figure 6. Step 7: set WellGate 2540 FXO number and IP a ddress on FXS gateway’s
webpage Dialing Plan Phone Book. See Figure 7. For example: th e WellGate 2540 FXO port 1 number is 1001, S IP local por t is
8080. The FX S gateway’s phone Book format is as follows. FXO_line_number@ F XO_ip_address:sip_port number.
At this example, the FXS gateway phone book should c onfigure four p or ts as follows. Port 1 configure to 1001@192.168.23.23:8080 Port 2 conf igu r e to 1002@192.168.23.23:8080 Port 3 conf igu r e to 1003@192.168.23.23:8080 Port 4 conf igu r e to 1004@192.168.23.23:8080
Note: The Name field of FXS Gatew ay’s phone book sh ould be remote FXO gateway’ s port number as 1001 to 1004. Don’t key in text format here. It should be same as the remote FXO ga teway’s port number.
Figure 7.
67
WellGate 2540 (FXO Gateway) configuration
Step 1: set static IP address to WellGate 2540 FXO gateway’s WAN port as following picture. See Figure 8. For example: Set s ta tic IP address
192.168.23.23 on Device Setting
Network of WellGate 2540 WE B page.
Figure 8. Step 2: Go to VOIP Setting  SIP to select the “Accept Proxy Only
feature to NO and m a ke sure to setup the SIP Local Port number to 8080. See Figure 9.
Figure 9. Step 3: Set the FXO SIP lin e ’s information to each line.
Go to FXO Setting webpage of WellGate 2540 FXO G a teway and configure each line by selecting Lin e ID from 1 to 4. See Figur e 10. Enable Hotline feature by selecting Incoming Ca ll Handling to Hot Line and give remote WellGate 2504 FXS ga teway port 1 number to 501. For example: FXO SIP port 1 num ber 1001 hotline to remote FXS port 1 n umber 501 directly.
68
FXO SIP port 2 num ber 1002 hotline to remote FXS port 2 number 502 directly. FXO SIP port 3 num ber 1003 hotline to remote FXS port 3 n umber 503 directly. FXO SIP port 4 num ber 1004 hotline to remote FXS port 4 n umber 504 directly.
Figure 10.
Step 4: Set the SIP Trunk information to WellGate 2540 by going to SIP Trunk  Modify SIP T r unk webpage. See Figure 11.
1. Select Register Type to Predefine an d key in the Proxy Server IP
address at 192.168.18.201 and port 808 0 whi ch are remote FXS Gateway’s IP a ddress and SIP port number.
2. Next, configure each SIP Trunk number, user ID, password and display
name to four SIP Trunks as following exa m ple s . See Figure 11.
Enter SIP Trunk # 1 information as follows.
TEL No : 1001 User ID : 1001 User password: 1001 Display Name: 1001
Enter SIP Trunk #2 information as foll ows.
TEL No : 1002 User ID : 1002 User password: 1002 Display Name: 1002
Enter SIP Trunk # 3 information as follows.
TEL No : 1003
69
User ID : 1003 User password: 1003 Display Name: 1003
Enter SIP Trunk # 4 information as follows.
TEL No : 1004 User ID : 1004 User password: 1004 Display Name: 1004
3. Select “2 Stage Dialin g” at “DNIS is Register TEL” webpage. When user
picks up the han dset from FXS port # 1 of WellGate 2504, you shou ld hear Dial Tone from P ABX extens ion 201 whic h was conn ected to FXO Line #1. And it works like this analog phone was con nected at remote PABX’s extension 201. See Figure 11.
If set “1 st age diali ng” in here, FXO will dial out lin e number 1001 to PABX automatica lly when user picks up the handset f r om FXS port #1 of WellGate
2504.
Figure 11.
70
Step 5: Set Route P lan to each FXO lin e. Disable the “ VOIP Defaul t Route” first.
Figure 12. Set the Incoming Call Type to VOIP; Matched Prefix number from 1001 to
1004; Matched Length to 0 and Outgoing Type to FXO. See Figure 12. For exa mple: Configur e Route Plan to each line of F XO Gateway.
a. Line #1 of FXO Gateway setting, see Figure 13.
An FXS port 1 in coming call routes to F XO port 1 conf iguration example.
Incoming Cal l Type : VOIP Matched Pref ix : 1001 Matched Length : 0 No Answer Time out : 30 (MUST be longer than 10 seconds). Outgoing Type : FXO Hunting Type : selected anyone. Routing List : 01. Line 1 ; 02. None. ; 03. None ; 04. None.
Routin g L is t is going to select the first priority of Line number 1 to 4. At this application, Only L ine 1 is allowed to conn e c t with remote FXS telephone 1.
71
Figure 13.
b. Line #2 of FXO Gateway setting, see Figure 14.
An FXS port 2 in coming call routes to F XO port 2 conf iguration example.
Incoming Cal l Type : VOIP Matched Pref ix : 1002 Matched Length : 0 No Answer Timeout : 30 (MUST be longer than 10 seconds). Outgoing Type : FXO Hunting Type : selected anyone. Routing List : 01. Line 2 ; 02. None. ; 03. None ; 04. None.
Figure 14.
c. Line #3 of FXO Gateway setting, see Figure 15.
An FXS port 3 incoming call routes to FXO port 3 configuration example.
Incoming Cal l Type : VOIP Matched Pref ix : 1003 Matched Length : 0 No Answer Timeout : 30 (MUST be longer than 10 seconds). Outgoing Type : FXO Hunting Type : selected anyone. Routing List : 01. Line 3 ; 02. None. ; 03. None ; 04. None.
72
Figure 15.
d. Line #4 of FXO Gateway setting, see Figure 16.
An FXS port 4 in coming call routes to F XO port 4 conf iguration example.
Incoming Cal l Type : VOIP Matched Pref ix : 1004 Matched Length : 0 No Answer Timeout : 30 (MUST be longer than 10 secon ds ). Outgoing Type : FXO Hunting Type : selected anyone. Routing List : 01. Line 4 ; 02. None. ; 03. None ; 04. None.
Figure 16.
73
4. Configure incoming Ring Cadence to FXO Gateway
When you conn ect WellGate 2540 FXO gateway Lines to loca l PABX’s ex tension or PSTN switch, please go to WellGate 2540 webpage setting a t VOIP
Advance
Ring to configure pr oper R ing C adenc e ( Ring ON time an d Ring
OFF time ) according to the P A BX or PSTN ring Cadence specification.
Without conf iguring Ring Cadence to F XO gateway properly according to PA BX or PSTN Ring Ca dence, FXO m ay detec t Ring signal in a stran ge beha vior and cause abnormal operation.
WellGate 2540 factory default Ring Cadence setting is 2 seconds ON , 4 seconds OFF. Some PABX or PSTN provides 1 second ON and 3 seconds OFF Ring Cadence. In this case, please con figure WellGate 2540 Ring Cadence to 1 second ON and 3 seconds OFF to match incoming Ring signal. See Figure 17.
See Figure 17.
5. Enable Caller ID function at FXO and FXS gateway.
The Caller ID configuration at FXO gateway sh ould be configure d to m atch PAB X extension or local P STN Caller ID incoming signal in ord er to carry this signal to remot e FX S g atew a y to d ispla y at FX S an alog phon e set. Of c ourse, the remote FXS Gateway also has to enable C aller ID generation f unction ( see Figure 21. ) Here are s teps to enable FXO Caller ID detec tion specification an d enable FXS gateway Caller ID generation steps.
Step 1: Make sure the Ca ller ID m ode you have configured to WellGate 2540 FXO gateway is the same as PABX extension or local PSTN switch which WellGate 2540 F XO L ine p or ts h a v e c onn ec ted. I f y ou don ’t kn ow wha t Ca ller ID mode you need to configu r e at FXO gateway, plea se consult to PABX suppliers or PSTN loc al switch technician to support you. In global market, there are several Caller ID modes which are most used such as Bellcore FSK,
ETSI FSK, ETSI DTMF, Danish DTMF, India DTMF, Brazilian DTMF. See Figure
18.
74
See Figure 18.
Step 2: Go to FXO Gatew ay webpage configuration at SIP Trunk  Modify SIP Trunk to enable Outgoing Caller ID with both Display Name: PSTN
Caller ID and User ID: PSTN Caller ID as following Figure 19. After this
configuration , FXO gateway send detected Caller ID sign al from PABX or PSTN Lines to remote FXS gateway. There are additional two options at Display Name and User ID to select what number are going to send to remote FXS gateway. Here are summary of three options.
a. PSTN Caller ID : Deliver Line number from PSTN or PABX extension. At
this example, they are number f rom 201 to 205. See Fig u r e 1 . And FXO Caller ID function should be a b le to detect Caller ID signal corr e c tly.
b. SIP Display Name : See Figure 11 of four SIP Trunk numbers. At this
example, they are n umber from 1001 to 1004.
c. FXO TEL NO. : See Figure 20 to configure TEL NO from FXO Setting
FXO Line Modify Line Setting TEL NO. Here, default value is blank. This option allows you to configure your desir e L ine number to deliver to remote FXS gateway.
75
See figure 19. FXO Gateway Caller ID Mode.
Figure 20. FXO Telephone Number. Step 3: Enable Caller ID gene ration at WellGate 2504 FXS ga teway. See
Figure 21. Go to FXS Setting  FXS Line  Caller ID Mode to select Transparent to enable Caller ID gener ation. After en able this command, a nalog telephone se t is able to displa y Caller ID either FXS phone number (at this example, they are 501 to 504) or displa y number which wer e sent from FXO gatewa y ( PSTN, SIP
Trunk or FXO Line number).
76
Step 4: Select FXS gateway’s Caller ID Mode. See Figure 22 and 23. FXS Gatew ay Caller ID gener ation is able to con figure whic h Caller ID mode in order to match an alo g ph o ne set’s Caller ID specifica t ion . G o to FXS Setting
Caller ID  Caller ID Mode to select one of Caller ID Mode ( DTMF, FSK
Bellcore, FSK ETSI, See Figure 23 ). There are other options you may need to
pay attenti on at P olar ity R eve rse Befor e Caller ID , Du al Tone Before Caller ID ,
Caller ID Pr e s ent, DTMF Caller ID start and s top d igit. See Figure 22.
Figure 21. Caller ID feature enable.
Figure 22. Select Call er ID Mode.
77
Figure 23. Three options of Caller ID Mode.
78
6. Release FXO Line from PSTN or PABX extension after
call was dropped.
FXO analog interface detec t dis connect tone which was sent from PABX extension or P STN line to release t ip/rin g phone wire. In other w ord, the F XO line can only drop call after detec t a n effective dis connect tone. In FXO gateway webpage config uration, Go to VOIP Setting
Tone to configure
Disconnect 1 and Disconnect 2 in which disconnec t tone are n eeded to match
with P ABX or PSTN disconn e c t tone. See figure 24. For details description, please refer to User ma nu al f or 2504 an d 2540 f irm w ar e v er 2. 01 at page 31 in details. You can also go to Country Template to select defau lt s e tting by each country.
Figure 24. Disconnect tone ta b le. WellGate 2540 suppor ts a n alternative featur e to release FXO port by
detection Loop Current Drop signal. Go to FXO Setting  Select FXO Line 
Modify Line Setting
Current Drop for Disconnect to YES to enable this feature. O nce calling user drop this call, PST N or PABX ma y drop Loop Current
signal for abou t 300 ms ec (d efau lt settin g) to in form F XO in terfac e. To detect
Loop current drop du r a tion can be ch an ged. Go to FXS Setting
Others 
Current Drop Time. See Figure 26. This feature depends on the PSTN switch
or PABX you are using. See Figure 25 at webpage conf igu ration.
79
Figure 25. Loop Cur r ent Drop to release FXO port
Figure 26. Loop Cur r ent Drop detection Time.
80
7. FLASH command generation and detection on FXO and FXS gateway.
FLASH feature is widely used for PABX extension to imple m ent PAB X’s
advanced features such as Call Tra nsfer, Call Hold, Conferenc e, Forwarding or Ca ll Park and ot hers. PABX relies on ex te nsion’s analog phone set to gener ate Flash time to inform PAB X this is an FLASH command.
In this FXO +FXS P2P Hotline a p plication, FXS needs to detect a FLA SH command fr om a nalog phone set and transmit to FXO gatewa y via VoIP network. Then, F XO generates an equivalent Flash time to PABX. Here are step to step guidan ce to configure th is function at both FX O and FXS gateway.
Step 1 : Setup FXS Flash detection time range. Since FLASH command was initialized from analog phone set, check what flash time this phone set can generate. Then, configure FXS gateway flash time detection ra nge. See Figure 27 as f ollows. Go to FXS Setting
Others 
setup Minim um a nd Maximum Fl a sh T ime range. Note : the analog
phone flash time sh ould be located insid e FXS gatewa y setting range to detect an Flash command correctly. Once FXS detec t this com mand, it sends to F XO
gateway via SIP IP protoco l a utomatically.
Figure 27. Setup FX S Flash detection time range. Step 2 : Setup FXO F lash time generation.
Go to FXO Sett ing  FXO Line Modify Line Setting  Flash Time (msec). See Figure 28. Flash time has to match PSTN or PABX Flash command specification. Consult to PSTN or PAB X tec hnician to fill in proper time.
81
Figure 28. Setup FX O F las h time generation.
Loading...