Solwise Elite ITG Manual

Solwise Ltd
.
Extra Set-up instructions for
Solwise Elite ITG
VoIP Gateways
www.solwiseforum.co.uk
The Solwise Forum is designed to be the first port-of-call for technical support and sales advice for the
whole Solwise product range.
Please check the forum for coverage on any technical problems you have. Many people have
trodden your path before you, and a quick check on the forum will reduce the pressure on our support
staff.
Oct 10, 2003

Solwise Elite VoIP Gateway User’s Guide
2
Notification is hereby given that Solwise Ltd. reserves the right to modify, change, update or revise this
document from time to time as required without the prior obligation to notify any person, company or
organization. Further, Solwise makes no warranty or representation, either express or implied, with
respect to merchantability, or fitness of its products for a particular purpose.
Solwise Ltd.
13/15 Springfield Way
Anlaby
Hull HU10 6RJ
UK
Tel 0845 458 4558 (local rate)
Fax 0845 458 4559
Http www.solwise.co.uk
Copyright
All rights reserved. No part of this document may be reproduced in any form or by any means
without written permission from the product manufacturer.
Changes are periodically made to the information in this document. They will be incorporated in
subsequent editions. The product manufacturer may take improvement and/or changes in the
product described in this document at any time.
FCC compliance
This equipment complies with Part 68 of the FCC Rules. On this equipment is a label that contains,
among other information, the FCC registration number and Ringer Equivalence Number (REN) for this
equipment. You must, upon request, provide this information to your telephone company.
If your telephone equipment causes harm to the telephone network, the Telephone Company may
discontinue your service temporarily. If possible, they will notify in advance. But, if advance notice isn’t
practical, you will be notified as soon as possible. You will be informed of your right to file a complaint
with the FCC.
Your telephone company may make changes in its facilities, equipment, operations, or procedures
that could affect proper operation of your equipment. If they do, you will be notified in advance to give
you an opportunity to maintain uninterrupted telephone service. The FCC prohibits this equipment to
be connected to party lines or coin-telephone service.
In the event that this equipment should fail to operate properly, disconnect the equipment from the
phone line to determine if it is causing the problem. If the problem is with the equipment, discontinue
use and contact your dealer or vendor.
Before installing this equipment, users ensure that it is permissible to be connected to the facilities of
the local Telecommunications Company. The equipment must also be installed using an acceptable
method of connection. The customer should be aware that compliance with the above conditions
might not prevent degradation of service in some situations.

Solwise Elite VoIP Gateway User’s Guide
3
Repairs to certified equipment should be made by an authorized Canadian maintenance facility
designated by the supplier. Any repairs or alterations made by the user to this equipment, or
equipment malfunctions, may give the telecommunications company cause to request the user to
disconnect the equipment.
Users should ensure for their own protection that the electrical ground connections of the power utility,
telephone lines and internal metallic water pipe system, if present, are connected together. This
precaution may be particularly important in rural areas.
CAUTION: Users should not attempt to make such connections themselves, but should contact the
appropriate electric inspection authority, or electrician, as appropriate.
European CTR 21 compliance
The equipment has been approved in accordance with Council Decision 98/482/EC for pan-European
single terminal connection to the public switched telephone network (PSTN). However, due to
differences between the individual PSTNs provided in different countries, the approval does not, of
itself, give an unconditional assurance of successful operation on every PSTN network termination
point. In the event of problem, you should contact your equipment supplier in the first instance.


5
Table of Contents
1Extra set-up notes for the Elite series
VoIP gateways ...............................................11
1.1 Using a ‘Wildcard’ phone number............................11
1.2 Clearing to defaults...................................................12
1.3 How can I set-up a ‘hotline’?....................................12
1.3.1 Lets give an example:.....................................12
1.4 How can I stop the gateways ‘playing’ the
DTMF tones when a call is received?.............................14
1.5 How can I configure the gateway to handle
the clear forward signal (caller disconnect) ....................14
1.5.1 So what does this mean? ...............................14
1.5.2 So what’s this got to do with VoIP
gateways?.................................................................15
1.5.3 So how do you configure the gateway
to handle the polarity reversal then?........................15
1.5.4 So how do you configure the gateway
to a disconnect tone correctly then? .......................16
2Integration Examples for 2 & 4 Port
Desktop Version .............................................24
2.1 Application A: FXS ...................................................24
2.2 Application B: FXS / FXO combination....................24
3Integration Examples for 4 & 8 Port Rack
Mount Version ................................................26
3.1 Application A: FXS ...................................................26
3.2 Application B: FXS/FXO Combination.....................26
3.3 Application C: FXS/FXO Extended
Combination ....................................................................27
3.4 Configuration Examples...........................................28
3.4.1 Scenario 1 .......................................................28
3.4.2 Scenario 2 .......................................................32
4Upgrading Software ..........................................38
5CLI Documentation ...........................................40
5.1 Using The Command Line Interface (CLI) ..............40
5.2 Utility Commands .....................................................48
5.2.1 clrscr ................................................................48
5.2.2 download .........................................................49
5.2.3 help..................................................................49

Solwise Elite VoIP Gateway User’s Guide
6
5.2.4 ping..................................................................49
5.2.5 tel erase_ivr.....................................................49
5.2.6 tel set pcm_gain_level ....................................50
5.2.7 tel set ring_freq................................................50
5.2.8 tel show pcm_gain_level.................................51
5.2.9 tel show port ....................................................51
5.2.10 tel show ring_freq..........................................51
5.3 3. IP Configuration Commands................................52
5.3.1 arp....................................................................52
5.3.2 net reset...........................................................52
5.3.3 net set gateway ...............................................52
5.3.4 net set http.......................................................53
5.3.5 net set ip ..........................................................53
5.3.6 net set ip_preced.............................................54
5.3.7 net set mask....................................................54
5.3.8 net set speed...................................................55
5.3.9 net set telnet....................................................55
5.3.10 net set http.....................................................56
5.3.11 net set user_pw.............................................56
5.3.12 net show ........................................................57
5.3.13 net show hwstat ............................................57
5.4 Telephony Interface Port Configuration
Commands ......................................................................58
5.5 Common Telephony Port Configuration
Commands ......................................................................58
5.5.1 set port port ans_wait......................................58
5.5.2 set port port call_limit ......................................59
5.5.3 set port port cid name .....................................59
5.5.4 set port port cid number..................................59
5.5.5 set port port copyof .........................................60
5.5.6 set port port cp_tone_det_cfg.........................60
5.5.7 set port port cp_tone_det_ctrl.........................61
5.5.8 set port port dial_in plar...................................62
5.5.9 set port port fax_holdover ...............................62
5.5.10 set port port fax_tone_det_ctrl......................62
5.5.11 set port port fax_prof.....................................63
5.5.12 set port port hangup_wait .............................63
5.5.13 set port port out_type ....................................64

Solwise Elite VoIP Gateway User’s Guide
7
5.5.14 set port port out_wait ....................................64
5.5.15 set port port prof_bit......................................64
5.5.16 set port port proto..........................................65
5.5.17 set port port rxgain ........................................65
5.5.18 set port port tone_out_off..............................66
5.5.19 set port port tone_out_on..............................66
5.5.20 set port port tone_out_pwr............................67
5.5.21 set port port tone_table.................................67
5.5.22 set port port txgain ........................................67
5.5.23 set port port voice_prof .................................68
5.6 E&M Common Signaling Configuration
Commands ......................................................................68
5.6.1 set port port em clear_conf_detect.................68
5.6.2 set port port em clear_conf_wait_max ...........69
5.6.3 set port port em clear_detect..........................69
5.6.4 set port port em connected_min.....................69
5.6.5 set port port em dial_tone ...............................70
5.6.6 set port port em disable_hangup....................70
5.6.7 set port port em guard_all...............................70
5.6.8 set port port em guard_out .............................71
5.6.9 set port port em offhook_db............................71
5.6.10 set port port em onhook_db..........................71
5.6.11 set port port em size_detect .........................72
5.7 E&M Immediate Start Signaling
Configuration Commands ...............................................72
5.7.1 set port port emi glare_report .........................72
5.7.2 set port port emi wait_dsp_ready ...................72
5.8 E&M Delay Start Signaling Configuration
Commands ......................................................................73
5.8.1 set port port emd in_delay_max .....................73
5.8.2 set port port emd in_delay_min ......................73
5.8.3 set port port emd in_digit_ign .........................73
5.8.4 set port port emd out_delay_check ................74
5.8.5 set port port emd out_delay_dur_max ...........74
5.8.6 set port port emd out_delay_dur_min ............74
5.8.7 set port port emd out_intg_check ...................75
5.9 E&M Wink Start Signaling Configuration
Commands ......................................................................75

Solwise Elite VoIP Gateway User’s Guide
8
5.9.1 set port port emw in_wink_digit_ignore..........75
5.9.2 set port port emw in_wink_dur........................76
5.9.3 set port port emw in_wink_wait_max .............76
5.9.4 set port port emw in_wink_wait_min ..............76
5.9.5 set port port emw out_wink_dur_max ............77
5.9.6 set port port emw out_wink_dur_min .............77
5.9.7 set port port emw out_wink_wait_max...........77
5.10 FXO Signaling Configuration Commands..............78
5.10.1 set port port fxo answer_after.......................78
5.10.2 set port port fxo batt_rev_times ....................78
5.10.3 set port port fxo caller_id...............................79
5.10.4 set port port fxo cpc_detect ..........................79
5.10.5 set port port fxo guard_out............................79
5.10.6 set port port fxo loop_det_db........................80
5.10.7 set port port fxo ringing_db ...........................80
5.10.8 set port port fxo ringing_inter_cycle .............81
5.10.9 set port port fxo ringing_inter_pulse .............81
5.11 FXS Signaling Configuration Commands ..............82
5.11.1 set port port fxs answ_clear_detect..............83
5.11.2 set port port fxs caller_id...............................83
5.11.3 set port port fxs cpc_dur ...............................83
5.11.4 set port port fxs cpc_wait ..............................84
5.11.5 set port port fxs offhook_db ..........................84
5.11.6 set port port fxs offhook_detect ....................84
5.11.7 set port port fxs onhook_db ..........................85
5.11.8 set port port fxs onhook_detect ....................85
5.11.9 set port port fxs ring_id .................................86
5.12 Voice and Fax Coder Configuration
Commands ......................................................................86
5.12.1 Common Coding Profile
Configuration Commands ........................................87
5.12.2 Voice Coding Profile Configuration
Commands ...............................................................89
5.12.3 Fax Coding Profile Configuration
Commands ...............................................................93
5.13 Call Progress Tone Configuration
Commands ......................................................................96
5.13.1 Configuring CP Tones ..................................96
5.13.2 Configuring CP Tone Detector .....................98

Solwise Elite VoIP Gateway User’s Guide
9
5.14 H323 Configuration Commands...........................101
5.14.1 set h323 alias ..............................................101
5.14.2 set h323 allow_calls_wo_gk.......................101
5.14.3 set h323 alt_dtmf.........................................102
5.14.4 set h323 auto_answer ................................102
5.14.5 set h323 call_name.....................................103
5.14.6 set h323 cisco_t38 ......................................103
5.14.7 set h323 default_dtmf .................................103
5.14.8 set h323 display_name...............................104
5.14.9 set h323 dns_ip...........................................104
5.14.10 set h323 dtmf_duration.............................105
5.14.11 set h323 endpoint_prefix ..........................105
5.14.12 set h323 endpoint_reg_type.....................105
5.14.13 set h323 g723_frame_rate .......................106
5.14.14 set h323 gk_addr ......................................106
5.14.15 set h323 gk_id...........................................106
5.14.16 set h323 gk_max_tries..............................107
5.14.17 set h323 gk_mode ....................................107
5.14.18 set h323 h245_term_type.........................107
5.14.19 set h323 h245_timeout .............................108
5.14.20 set h323 h245_tunneling ..........................108
5.14.21 set h323 in_fast_start................................108
5.14.22 set h323 master_delay .............................109
5.14.23 set h323 nat_call.......................................109
5.14.24 set h323 out_fast_start .............................110
5.14.25 set h323 rtp_port_base.............................110
5.14.26 set h323 term_id .......................................110
5.14.27 set h323 time_to_live................................111
5.15 Configuration Management Command................111
5.15.1 config ...........................................................112
5.16 The Show Command............................................112
5.16.1 show call_record .........................................112
5.16.2 show coding ................................................113
5.16.3 show cp_tone_det.......................................113
5.16.4 show cp_tone_det_cfg................................114
5.16.5 show h323...................................................114
5.16.6 show port.....................................................115

Solwise Elite VoIP Gateway User’s Guide
10
5.16.7 show rxtxstat ...............................................115
5.16.8 show tlevels.................................................116
5.16.9 show tone....................................................116
5.16.10 show tstat ..................................................117
5.16.11 show version .............................................117
5.16.12 show vpstat ...............................................118
5.17 Dial Plan Management Commands .....................118
5.17.1 Database Update Control
Commands .............................................................118
5.17.2 Destination Table Management
Commands .............................................................121
5.17.3 Hunt Group Table Management
Commands .............................................................122
5.17.4 Address Table Management
Commands .............................................................124
5.17.5 Dialing Control Commands ........................126
5.18 The Trace Utility ....................................................127
5.18.1 spy [ key ] [level]..........................................128
5.18.2 spy dump.....................................................129
5.18.3 spy flush ......................................................129
5.19 Software Upgrade Utility Commands...................129
5.19.1 help..............................................................129
5.19.2 ping..............................................................129
5.19.3 quit ...............................................................130
5.19.4 set gateway .................................................130
5.19.5 set ip ............................................................130
5.19.6 set mask ......................................................131
5.19.7 show ............................................................131
5.19.8 start..............................................................131

Solwise Elite VoIP Gateway User’s Guide
11
1 Extra set-up notes for the Elite series VoIP
gateways
1.1 Using a ‘Wildcard’ phone number
In order to accept incoming calls on your Elite gateway you must
first of all create a dial plan which has entries for each number that
your callers will use to contact you.
e.g. Consider a simple set-up consisting of two FXS gateways.
FXS1 end FXS2 end
Local Dial Plan Set-up
Phone Number 501 401
Hunt group 5 5
Destination ID 5 5
Local Destination Channel 0 0
Remote Dial Plan Set-up
Phone Number 401 501
Hunt Group 6 6
Destination ID 6 6
Remote Destination IP IP address of FXS2 gateway IP address of FXS1 gateway
Now in order for FXS gateway 1 to call FXS gateway 2 then it uses
the dial plan tel. Number 401. But this means that BOTH gateways
must have a defined dial plan entry for 401 (i.e. on for FXS1 which
tells it how to connect to FXS2 but also one for FXS2 to accept the
call to 401). This is fine if the calling party know that they have to
dial 401 to connect the FXS2 but what if you want to accept calls
from callers who don’t know that they have to use 401? The way
round this is to create a dial plan entry which uses “.” (i.e. ‘dot’) i.e.
FXS2 end
Local Dial Plan Set-up
Phone Number .
Hunt group 5
Destination ID 5
Local Destination Channel 0
Then FXS gateway 2 will accept ANY calls.

Solwise Elite VoIP Gateway User’s Guide
12
1.2 Clearing to defaults
In the GW's memory, there are 3 portions to record the different
setting values: network setting, atpm setting and configuration
(port,coding,h323 etc.).
You need to reset (erase) each section separately. After you’ve
erased it all you then re-boot the system and the defaults are
loaded.
Following are the commands:
for dialplan: 'atpm req', 'atpm erase'
for configuration: 'config erase' 'y'
for network: 'net set fac_default' 'y'
re-boot system
1.3 How can I set-up a ‘hotline’?
A hotline means that when an FXS or FXO port is picked up (i.e. a
handset connected to an FXS port is picked up or a PSTN call is
made to an FXO port) then the gateway will autodial to another
VoIP device.
To set this feature up you need to use the CLI command
set port <port> dial_in plar [plar number]
where [plar number] is a predefined dial plan phone number.
1.3.1 Lets give an example:
You have one site with an FXO device connected to four phone
lines.
At the other site you have a four port FXS device with handsets
plugged into each port.
So first of all, at each end, you need to create two dial plans: One is
a dial plan entry which pertains to the local port on the gateway. The
second dial plan entry is to connect to the gateway at the other end
(so, this remote destination is to connect to the local destination of
the other gateway).
e.g. (remember this is just an example, the actual numbers will differ
in your set-up)

Solwise Elite VoIP Gateway User’s Guide
13
FXO end FXS end
Local Dial Plan Set-up
Phone Number 501 401
Hunt group 5 5
Destination ID 5 5
Local Destination Channel 0 0
Remote Dial Plan Set-up
Phone Number 401 501
Hunt Group 6 6
Destination ID 6 6
Remote Destination IP IP address of FXS gateway IP address of FXO gateway
To test the dial plan pick up the handset on FXS port 1 and dial 501;
the call should connect to the first port of the FXO (so you should
hear the dial tone from the PSTN line connected to the first port of
the FXO). To test a call the other way make a call to the PSTN line
on the first port of the FXO gateway. When the call comes in the
FXO gateway will pickup the call and present a second dial tone.
You should then dial 401. This should make the call forward to the
phone on the first FXS port.
Now to make it do this automatically you need to use the CLI
command (connect via the serial port using a terminal application)
set port <port> dial_in plar [plar number]
So… at the CLI prompt for the FXO gateway you need to enter the
command
set port 0 dial_in plar 401
Then do
config activate
config store
to activate and store the settings.
Then, at the CLI prompt for the FXS gateway you need to enter the
command

Solwise Elite VoIP Gateway User’s Guide
14
set port 0 dial_in plar 501
Then do
config activate
config store
to activate and store the settings.
Now do the tests again but this time you shouldn’t have to do the
dialling; the gateways should auto-dial as expected.
1.4 How can I stop the gateways ‘playing’ the DTMF tones when a call is
received?
For example, when you make a call to an FXS device on let’s say
local telephone number 203 then, after you pick the ringing handset
up at the FXS end you hear the phone number ‘203’ DTMF tones
played. If you don’t want to hear these tones (they are sent because
some caller ID devices use the DTMF tones) then you need to
instruct the dialling end device to strip the sent numbers (in this
case it would be the first 3 digits). To do this go to the Telephone
number set-up at the dialling gateway and , on the screen you use
to configure the Telephone number enter 3 (in this example) in the
field called ‘Strip Length’.
1.5 How can I configure the gateway to handle the clear forward signal (caller
disconnect)
1.5.1 So what does this mean?
When you make a PSTN call from one site to another then, when
one party hangs up a signal sent to the other parties end to indicate
to the other party that the phone call is finished. This signal is called
the ‘clear forward signal’ or sometimes the ‘call disconnect signal’.
It’s used so that devices can tell when the call is finished e.g.
answering machines. In the UK the standard signal (as used by BT)
is to reverse the polarity of the phone lines. This is different from
other countries e.g. if you are in the States and the other party
hangs up then you get sent a tone. However, in the UK being
different we use a polarity reversal /Private telephone systems as
used by UK buisnesses may use polarity reversal or the tone
method. The particular method used will depend upon PBX system
used. To test which method your PBX uses make a call from one
extension to the other and then get the calling party to hangup.
Then listen to what you hear. Do you hear a tone?

Solwise Elite VoIP Gateway User’s Guide
15
1.5.2 So what’s this got to do with VoIP gateways?
Imagine you have a site-to-site set-up of an FXO gateway talking to
an FXS gateway. So there is a call in progress from a PSTN phone
line which is connected to the first port of the FXO gateway and
then across to the FXS gateway to a phone on the first FXS port.
Now, if the call to the FXO port hangs up then the FXO gateway
needs to know this. If it doesn’t know that the PSTN call is ended
then it keeps the VoIP call to the FXS gateway open! On the other
hand. If the call to the FXS port (lets say from a remote FXO or FXS
gateway) is ended the FXS gateway needs to send a ‘clear forward’
signal to the device on the FXS port to indicate the call is ended e.g.
this might me an answering machine. So, an FXO port needs to be
able to detect a correct clear forward’ from the PSTN line and an
FXS device needs to make the correct ‘clear forward’ signal for the
handset device (e.g. this might be an answering machine). This
could be either polarity reversal or disconnect tone.
1.5.3 So how do you configure the gateway to handle the polarity reversal then?
So, let’s assume that you need to configure the gateways to handle
the UK standard polarity reversal signal.
You need to use CLI commands to configure the ports.
For an FXS gateway key-in the command…
set port <port> fxs ff_batt_rev on
where <port> is port no (0-7) and the setting should be on.
For an FXO port device the commands are
set port <port> fxo cpc_detect <value in msec>
where <port> is port no (0-7) and <value in msec> is the time taken
for the polarity reversal. A typical value would be 30 i.e. it takes
30mS for the polarity reversal event.
You also need to key-in…
set port <port> fxo batt_rev_times <number of times>
this command is to define how many line reversals the FXO port
needs to receive before accepting the ‘clear forward’: In the UK this
value should be ‘2’.
Also,
set port <port> fxo loop_det_db <value in msec>

Solwise Elite VoIP Gateway User’s Guide
16
This is a value to ensure that false polarity reversals are not
detected. A good value is 20 (10 less then the cpc_detect value).
After entering the commands you need to do
config activate
config store
to activate and store the settings.
1.5.4 So how do you configure the gateway to a disconnect tone correctly then?
So, let’s assume that you need to configure the FXO gateways to
handle the US style tone disconnect signal.
By default your gateway automatically detects the disconnect tone
however it may need to be ‘tuned’ to correctly detect the specific
tone your system produces. I.e. the cadence (the tone might go
‘beep-pause-beep-pause’ so you need to tell the gateway the
duration of the ‘beep’ and the duration of the ‘pause’) and power
level (how loud it is).
The first stage is to tell your FXO gateway to analyse the disconnect
tone it receives on it’s FXO port.
The basic method it to set the gateway into debug mode (to display
the tone analysis) then make a call to the FXO gateway and then,
after the gateway has answered make a call from the gateway to
another port on the same gateway. After the forwarded call is
connected then you hang up. The gateway will then print out the
tones it detects. You then take these figures and enter them into the
gateway configuration.
1.5.4.1 Entering debug mode on the gateway
In console mode enter the following commands:

Solwise Elite VoIP Gateway User’s Guide
17
1.5.4.2 Wiring Up to do the test with an FXO/FXS gateway
In the example above the test procedure is going to be make a call
from phone 1234, through the PBX to the FXO port (number 1233).
If you are connecting the FXO port directly to a phone line then just
dial the phone line that the FXO port is connected to. Then, after the
FXO port has answered the call, dial number 101 which is the
phone connected to the FXS port. Thus you have a call from 1234
to 1233 and then to 101. Then, after the call is routed hang up
1234. You should then see tone detection results appear on the PC
terminal.
i.e.

Solwise Elite VoIP Gateway User’s Guide
18

Solwise Elite VoIP Gateway User’s Guide
19
1.5.4.3 Wiring Up to do the test with an FXO only gateway
In the example above the test procedure is going to be make a call
from phone 1234, through the PBX to the FXO port (number 1233).
If you are connecting the FXO port directly to a phone line then just
dial the phone line that the FXO port is connected to. Then, after the
FXO 102 port has answered the call, dial number 101 which is a
second FXO port. You should then here the dial tone from the PBX
on line 1236. (Yet again if you are connecting the FXO ports directly
to phone lines you should here the phone line dial tone from the
second line.) Now make a third call to phone 1235. Thus you now
have a call from 1234 to 1233, then to 101 and then to 1236 and
finally to 1235! Then, after the call is routed hang up 1234. You
should then see tone detection results appear on the PC terminal.
i.e.

Solwise Elite VoIP Gateway User’s Guide
20
1.5.4.4 Tone detection
When the call is disconnected you should see messages similar to
the following on the console screen:
This manual suits for next models
3
Table of contents
Other Solwise Gateway manuals