Page 61 / 83 Scroll up to view Page 56 - 60
59
-outpx
define the out bound proxy for the endpoints.
-prefix
this will be prefix the alphabets before the sip line number.
-line1
assign FXO Line1 number.
-line2
assign FXO Line2 number.
-line3
assign FXO Line3 number.
-line4
assign FXO Line4 number.
Note:
User can also set “x” in line number to disable the port. If the port is disabled, it
can only receive calls but not calling out.
-expire
It just like the TTL function in H323, the gateway will make sure the
registration is success or not for a period times.
-port
define the local sip port for this gateway.
-rtp
to allocate RTP port range—NOT RECOMMENDED. This may be
used when RTP port range conflicts with Firewall policy. (each port
of Gateway use 2 RTP ports)
4.2.12 [security]
This is the authentication for the SIP account.
----------------------------------------------------------------------------------------------
usr/config$ security
Secuirty information and configuration
Usage:
security [-name username] [-password password]
security -print
-print
Display system account information and configuration.
-line
Specify which line number you want to set the account.
-name
Specify user name.
-password
Specify password.
Example:
security -line 1 -name kkk -password 12345
usr/config$
Parameter Usages:
-print
print out all current settings of security.
Page 62 / 83
60
-line
the line number, which you want to define the security info
-name
the name is as same as the SIP number.
-password the password for the authentication if it is the necessary for the
proxy.
4.2.13 [line]
This command is for configure each line parameters of Gateway.
-------------------------------------------------------------------------------------------------
usr/c
onfig$ line
Gateway line information and configuration
Usage:
line -config number [hunt number][hotline number]
line -print
Gateway line information.
hunt
Hunting group.
hotline
Hot line configuration.
Example:
line -config 1 hunt 1 hotline 1003
usr/config$
Parameter Usages:
-print
print out all current settings of line
-config
determine which line to configure
-hunt
set hunting group flag of each line. User can assign different hunt
group number represent different hunt group.
-hotline
set hotline table.The Hotline Mode is applied in limited two
channels. Users just make calls into the FXO port and gateway will
automatically dial out a phone number. In the other hand, user will
hear ring back tone or dial tone immediately depended on
configurations of destination device.
Note: This function can both work in Proxy or P2P mode.
Proxy Mode Usage:
Set gateway under proxy mode.
Create a Hotline table with “
line
” command.
-------------------------------------------------------------------------------
Page 63 / 83
61
usr/config$ line –config 1 hotline 1001
-------------------------------------------------------------------------------
In this example means: if users make calls into the FXO Line1,
gateway will automatically dial out “1001”.
P2P Mode Usage:
Set gateway under P2P mode.
Create phone book table with “
pbook
” command.
Create a Hotline table with “
line
” command.
-------------------------------------------------------------------------------
usr/config$ pbook –add name sipfxs ip 10.1.1.1 e164 1001
usr/config$ line –config 1 hotline 1001
-------------------------------------------------------------------------------
In this example means: if users make call into the FXO Line1,
gateway will automatically dial out IP address of “1001”.
4.2.14 [route]
This command is to set routing table for Gateway.
usr/config$ route
Routing table information and configuration
Usage:
route -add [prefix number][dst number][e164 number]
[min number][max number][hunt number]
route -delete index
route -modify index [prefix number][dst number][e164 number]
[min number][max number][hunt number]
route -ip [dst number][e164 number]
route -fxo [dst number][e164 number]
route -print
Routing table information.
prefix
The prefix of dialed number.
dst
Destination port(FXO:1/IP:2).
e164
Destination e164 number(when destination is FXO).
min
Min digits.(0 ~ 255)
max
Max digits.(0 ~ 255)
hunt
Hunt method for busy forward(NONE:0/GROUP:1/ALL:2).
Example:
Page 64 / 83
62
route -add prefix 100 dst 1 e164 1001 min 1 max 3 hunt 1
route -ip dst 1 e164 1001
route -fxo dst 2 e164 x
route -modify 1 prefix 100 dst 2 e164 1001 min 1 max 3 hunt 1
route -delete 1
usr/config$
Parameter Usages:
-print
print out all routing table information
-add
add a routing rule in routing table. User can add less than 50 rules.
(
route –add prefix “prefix number” dst “destination port type”
e164 “SIP number of port” min “minimum digits needed” max
“maximum digits can’t be exceeded”
)
-delete
delete a routing rule in routing table (
route –delete “index of
routing rule”
)
-modify
modify a routing rule in routing table. (
route –modify “index of
routing rule” prefix “prefix number” dst “destination port
type” e164 “SIP number of
port” min “minimum digits
needed” max “maximum digits can’t be exceeded”
)
-ip
create routing table for incoming call from IP side. (
route –ip dst
“destination port type” e164 “SIP number of port”
)
-fxo
create routing table for incoming call from FXO Lines. (
route –fxo
dst “destination port type” e164 “SIPnumber of port”
)
prefix
prefix of dialed number
dst
destination port, 0 means FXS TELs, 1 means FXO Lines, 2
means IP side, x means no determinate number.
e164
destination SIP number. This only need to be set when routed port
is FXS TELs or FXO Lines to determine which port will this call be
routed to.
min
minimum digits needed.
max
maximum digits needed.
hunt
set hunt method for busy forward. 0 means no hunting, 1 means
hunting method follows the rule of
[line]
, 2 means hunting method
is to hunt between all ports in the same type, for example,
destination port is FXS TEL will hunt in all FXS TELs, destination
port is FXO Lines will hunt in all FXO Lines.
Page 65 / 83
63
Usage Example:
1. route –add prefix 100 dst 1 e164 1001 min 1 max 3 hunt 1
This command means if gateway has incoming call’s prefix number is 100,
and total digits is between 1 to 3, this call will be routed to FXO port 1001,
and if port 1001 is busy, call will be routed to another FXO port.
2. route –ip dst 1 e164 1002
This command means incoming call from IP side will be routed to FXO Line
of number 1002.
3. route –fxo dst 2
This command means incoming call from FXO Lines will be routed to IP
side.
Note:
(1) When destination is IP side, SIP number doesn’t need to determine.
(Ex. route –fxo dst 2)
(2) If user doesn’t want to determine a specific port to route, SIP number
must set as “x”. (Ex. route –ip dst 1 e164 x)
4.2.15 [prefix]
This command is for make rules for drop or insert prefix digits.
----------------------------------------------------------------------------------------------
usr/config$ prefix
Prefix drop/insert information and configuration
Usage:
prefix -add [prefix number][drop number][insert digits]
prefix -delete index
prefix -modify index [prefix number][drop number][insert number]
prefix -print
Prefix drop/insert information.
prefix
The prefix of dialed number.
drop
Drop prefix(Enable:1/Disable:0).
insert
Insert digits.
Example:
prefix -add prefix 100 drop 1 insert 2000
prefix -add prefix 100 drop 1
prefix -add prefix 100 drop 0 insert 200
prefix -delete 1

Rate

3.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top