Page 66 / 83 Scroll up to view Page 61 - 65
64
prefix -modify 1 prefix 100 drop 0 insert 300
usr/config$
Parameter Usages:
-add
add a rule to drop or insert prefix digits of incoming call.(
prefix –add prefix
“prefix number” drop 0/1 insert “insert number”
)
-delete
delete a rule to drop or insert prefix digits of incoming call. (
prefix –delete
prefix “prefix number”
)
-modify
modify a rule to drop or insert prefix digits of incoming call. (
prefix –modify
prefix “prefix number” drop 0/1 insert “insert number”
)
prefix
set which prefix number to implement prefix rule.
drop
enable or disable drop function.If this function is enabled, Gateway will
drop prefix number on incoming call.
insert
set which digit to insert on incoming call.
4.2.16 [pbook]
Phone Book function allows users to define their own numbers, which mapping
to real IP address. It is effective only in peer-to-peer mode. When adding a
record to Phone Book, users also
have to reboot
the machine, and the record
will be effective immediately.
-----------------------------------------------------------------------------------------------
u
usr/config$ pbook
Phone book information and configuration
Usage:
pbook
[-add [name string][e164 number][ip address]
[drop digit][insert number]]
[-modify number [name string][e164 number][ip address]
[drop digit][insert number]]
[-delete number]
pbook
-print
-print
Display phone book information and configuration.
-add
Add new phone book record)
-delete
Delete phone book record
-modify
Modify phone book record.
Page 67 / 83
65
name
: 1 ~ 10 characters.
e164
: 1 ~ 10 digits.
ip
: IP adress.
port
: 1024 ~ 65535.
drop
: 0:Disable/1:Enable.
insert : 1 ~ 10 digits.
Example:
pbook -add name test e164 1234 ip 192.168.1.10 drop 1 insert 5678
pbook -delete 1
pbook -modify 1 name test e164 5678 ip 192.168.1.10 drop 0
usr/config$
Parameter Usages:
-print
print out current contents of Phone Book. (
pbook -print
) Users can
also add
index number
, from 1 to 100, to the parameter to show
specific phone number. (Ex.
pbook –print 1
)
Note: <index number> means the sequence number in phone book.
If users do request a specific index number in phone book,
Gateway will give each record a automatic
sequence number as index.
-add
add a new record to phone book. When adding a record, users
have to specify
name
,
ip
, and
e164
number to complete the
command.
name
name to represent callee.
e164
e.164 number for mapping with IP address of callee
ip
ip address of callee
port
call signal port number of callee
drop
drop e.164 number when dial out. 0 means to keep e.164 number,
1 means to drop e.164 number when dialing out.
insert
insert digits.(1~10 digits)
-modify
modify an existing record. When using this command, users have
to specify the record’s index number, and then make the change.
-delete
delete a specific record. “pbook –delete 3” means delete
index 3
record.
Page 68 / 83
66
PhoneBook Rules:
The e164 number defined in phone book will fully carry to destination. It is not
just a representative number for destination’s IP Address. In other words, user
dial this e164 number to reach destination, destination will receive the number
and find out if it is matched to its e164, including Line number in some particular
device.
4.2.17 [voice]
The voice command is associated with the audio setting information.
There are four voice codecs supported by Gateway.
-----------------------------------------------------------------------------------------------
usr/config$ voice
Voice codec setting information and configuration
Usage:
voice [-send [G723 ms] [G729 ms] [G729A ms] [G729B ms] [G729AB ms]
[G711U ms] [G
711A ms] ]
[-volume line [voice level] [input level] [dtmf
level]]
[-nscng [G711U used1] [G711A used2] [G723 used3]]
[-echo used] [-mindelay t1] [-maxdelay t2] [-optfactor f]
voice -print
voice -priority [G723] [G729] [G729A] [G729B] [G729AB] [G711U] [G711A]
-print
Display voice codec information and configuration.
-send
Specify sending packet size.
G.723
(30/60/90 ms)
G.729
(20/40/60 ms)
G.729A (20/40/60 ms)
G.729B
(20/40/60 ms)
G.729AB (20/40/60 ms)
G.711U (20/40/60 ms)
G.711A (20/40/60 ms)
-priority
Priority preference of installed codecs.
G.723
G.729
G.729A
Page 69 / 83
67
G.729B
G.729AB
G.711U
G.711A
-volume
Specify the following levels:
voice volume (0~63, default: 30),
input gain (0~63, default: 30),
dtmf
volume (0~31, default: 23),
-nscng
No sound compression and CNG. (G.723.1 only, On=1,
Off=0).
-echo
Setting of echo canceller. (On=1, Off=0, per port basis).
-mindelay
Setting of jitter buffer min delay. (0~150, default: 90).
-maxdelay
Setting of jitter buffer max delay. (0~150, default: 150).
Example:
voice -send g723 60 g729 60 g729a 60 g729b 60 g729ab 60 g711u 60
g711a 60
voice -volume 1 voice 20 input 32 dtmf 27
voice -echo 1 1 1 1
usr/config$
Parameters Usage:
-print
print current voice information and configurations.
-send
define packet size for each codec. 20/40/60ms means to send a
voice packet per 20/40/60 milliseconds. The smaller the packet
size, the shorter the delay time. If network is in good condition,
smaller sending packet size is recommended. In this parameter,
20/40/60ms is applicable to G.711u/a law, and
G.729/G.729A/G.729B/G.729AB codec, while 30/60ms is applicable
to G.723.1 codec.
-priority
codec priority while negotiating with other SIP device. This
parameter determines the listed sequence in SDP message. The
codec listed in left side has the highest priority when both parties
determining final codec. User can also select the particular codec
without others.
usr/config$ voice –priority g723
(only select this codec)
Page 70 / 83
68
usr/config$ voice –priority g723 g729 g711u g711a (select four codecs,
and g723 is the first choice)
-volume
There are three adjustable values.
voice volume
stands for
volume, which can be heard from Gateway side;
input gain
stands
for volume, which the opposite party hears;
dtmf
volume stands for
DTMF volume/level, which sends to its own Line.
Note:
level of volume is too high or too low may be result in bad
performance while connecting to each other. Please make the value below
35.
-nscng
silence suppression and comfort noise generation setting (1 = ON;
0 = OFF). It is applicable to G.723 codec only. An example is
demonstrated below:
usr/config$ voice -nscng g723 1
-echo
activate each canceler (1 = ON; 0 = OFF).
-mindelay
the minimum jitter buffer size. (Default value= 90 ms)
-maxdelay the minimum jitter buffer size. (Default value= 150 ms)
usr/config$ voice –mindelay 90 –maxdelay 150
Note: be sure to know well the application before you change
voice
parameters because this might cause incompatibility.
4.2.18 [tone]
This command is basically for FXO ports.
-------------------------------------------------------------------------------------------------
usr/config$ tone
Disconnect tone and remote ring back tone configuration
Usage:
tone
[num][freqLo ][freqHi
][freqLoLev][freqHiLev]

Rate

3.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top