DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies...

25
DAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen, China 518057 Telephone: +86-755-26456664 Fax: +86-755-26456659 Emails: [email protected], [email protected] Website: www.dinstar.com

Transcript of DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies...

Page 1: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

DAG Command Line Manual V 2.1

Dinstar Technologies Co., Ltd.

Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen, China

518057

Telephone: +86-755-26456664

Fax: +86-755-26456659

Emails: [email protected], [email protected]

Website: www.dinstar.com

Page 2: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

Update history

Versions Date Update Description Software version

V2.0 2012/08/27 1. Add Guide to get debug log

2. Adjust DSP Parameter

3. Modify IP via COM port

4. Reset to default for Linux version

All

V2.1 2013/2/22 1. Update Linux platform

commands

Linux platform

Page 3: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

Contents

1. Login DAG & General Knowledge of DAG Command ............................................................ 4

2. Commands in "ROS#" Mode .................................................................................................... 4

2.1 Summarize of commands in "ROS#" mode ................................................................. 5

2.2 General Purpose Commands in "ROS#" mode ............................................................ 5

(1) Show IP address (sho int) ................................................................................. 5

(2) Show Time (show clock) .................................................................................... 5

(3) Show version (show ver) ................................................................................... 5

(4) Show sip Information (sh sip config) .............................................................. 6

(5) Show memory status (show memory detail) ....................................................... 7

(6) Show SIP port status (sh sip all) ............................................................................ 7

(7) Show Current calls (sh ecc call) ............................................................................. 7

(8) Show RTP session ( sho rtp se) ............................................................................. 8

3. Commands in "Config" Mode ................................................................................................... 8

3.1 Summarize of commands in "Config" mode ................................................................ 8

3.2 General Purpose Commands in "Config" mode ........................................................... 9

(1) Set time (clock set) ............................................................................................ 9

(2) Load firmware (load filename server IP) ........................................................ 9

(3) Save the configuration (save) .............................................................................. 10

(4) Restart device (reset) ............................................................................................ 10

(5) Enable SIP debug (deb sip msg all) .................................................................... 10

4. Commands in "ada" Mode ...................................................................................................... 10

4.1 Summarize of commands in "ada" Mode.................................................................... 10

4.2 General Purpose Commands in "ada" mode .............................................................. 11

(1) Turn on Trace of SD (turnon 53) .................................................................... 11

(2) Turn off Trace of SD (turnoff 53).................................................................... 12

(3) Turn on Trace of ECC (turnon 84) .................................................................. 13

(4) Turn off ECC trace (turnoff 84) ....................................................................... 16

(5) Enable SIP message display (turnon 71) ...................................................... 17

(6) Disable sip message display (turnoff 71) ...................................................... 17

5. How to get debug log on telnet ................................................................................................... 18

5.1 Set PUTTY software . ....................................................................................................... 18

5.2 DAG setting ...................................................................................................................... 19

5.3 make call to test ................................................................................................................. 19

6. How to Adjust DSP Parameter .................................................................................................... 20

7. How to modify IP via COM port ................................................................................................ 23

8 How to reset to default setting via COM port ................................................. 错误!未定义书签。

Page 4: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

1. Login DAG & General Knowledge of DAG Command

This is a document for some customers who need more details of Dinstar’s products with

command lines. To make sure the system runs successfully, we suggest customers setting DAG

by GUI. In this manual, some topics such as how to check the IP, signaling and call conversation

are covered.

Run system tool Telnet to login DAG. The default username and password is "admin".

C:\Users\Administrator>telnet 172.16.101.142

Input "?" to show the all commands and its information.

Abbreviation is supported in DAG command. For example you can input "en" substitute for

"enable", input "sh" substitute for "show", input "cl" substitute for "clock",

2. Commands in "ROS#" Mode

There is only a litter commans in "ROS>" mode. If you need more commands you must enter

the "ROS#" mode. Input "enable" to enter "ROS#" mode if you have in the "ROS>" mode.

Page 5: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

2.1 Summarize of commands in "ROS#" mode

Input "?" to get the information of all commands in "ROS#" mode.

2.2 General Purpose Commands in "ROS#" mode

(1)Show IP address (sho int)

(2)Show Time (show clock)

(3) Show version (show ver)

Page 6: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

(4)Show sip Information (sh sip config)

Page 7: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

(5) Show memory status (show memory detail)

(6) Show SIP port status (sh sip all)

(7) Show Current calls (sh ecc call)

Page 8: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

(8) Show RTP session ( sho rtp se)

3. Commands in "Config" Mode

3.1 Summarize of commands in "Config" mode

Input "^config" in the "ROS# " to enter "config" mode.

Input "?" to show the all commands and its information.

Page 9: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

3.2 General Purpose Commands in "Config" mode

(1)Set time (clock set)

(2)Load firmware (load filename server IP)

Commad format:

Load down filetype filename tftp/ftp serverIP servicePort

Page 10: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

(3) Save the configuration (save)

(4) Restart device (reset)

(5) Enable debug

The command is deb port + port No (0,1,2…. all represent all ports)

deb port 0 represent port 0

(6) Enable SIP debug (deb sip msg all)

4. Commands in "ada" Mode

4.1 Summarize of commands in "ada" Mode

Input "^ada" in the "ROS# " to enter "ada" mode.

Page 11: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

Input "?" to show the all commands and its information.

4.2 General Purpose Commands in "ada" mode

(1)Turn on Trace of SD (turnon 53)

SD log is help to output detailed message of physical interface, such as dialed number digits,

FXS/FXO offhook/onhook status, flash event etc.

ROS(ada)#turnon 53

ROS(ada)#

ROS(ada)#

ROS(ada)#[215-22:00:23:430]SD:<port:1>,sd detect offhook on pots:1

[216-22:00:23:430]FAX CED signal detecting on port=1......

[217-22:00:23:430]ECC:<port:1>,<<==** SD_OFFHOOK, port:1

[218-22:00:23:430]

[219-22:00:23:430]ECC:<port:1>,<<== SD_OFFHOOK, para:

[220-22:00:23:430]ECC:<port:1>,eccb:1, State:0(out_idle), calling:31, dial:

// SD_OFFHOOK: port 1 off-hook notification

[221-22:00:23:430]ECC:<port:1>,Dial timer start, timerlen:10000 ms!

[222-22:00:23:430]ECC:<port:1>,eccb:1, State:0(out_idle), calling:31, dial:

[223-22:00:23:430]ECC:<port:1>,<1,1,out_overlap> ==>> SD_TONE, Sig:1

[224-22:00:23:430]ECC:<port:1>,====Processed: SD_OFFHOOK

Page 12: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

[225-22:00:23:430]ECC:<port:1>,eccb:1, State:1(out_overlap), calling:31, dial:

[226-22:00:23:430]SD:<port:1>,sd recv ecc msg, port=1, prim=5, sigtype=1, param:

[227-22:00:23:430]SD:<port:1>,SD recv msg:Tone request:Portid:1 ,ToneType:1

ROS(ada)#[228-22:00:33:430]ECC:<port:1>,dial timeout

[229-22:00:33:430]ECC:<port:1>,eccb:1, State:1(out_overlap), calling:31, dial:

//Dialed digits

[230-22:00:33:430]ECC:<port:1>,<1,1,out_overlap> <<== SD_SEND

[231-22:00:33:430]ECC:<port:1>,<1,1,out_overlap> proc msg SD_SEND, but dia is too long

or too s

[232-22:00:33:430]ECC:<port:1>,<1,1,out_overlap> ==>> SD_TONE, Sig:0

[233-22:00:33:430]SD:<port:1>,sd recv ecc msg, port=1, prim=5, sigtype=0, param:

[234-22:00:33:430]SD:<port:1>,SD recv msg:Tone request:Portid:1 ,ToneType:0

ROS(ada)#[235-22:00:34:630]SD:<port:1>,sd detect onhook on pots:1

// Onhook notification

[236-22:00:34:630]SD:<port:1>,SD Stop tone or ring request:Portid:1 .

[237-22:00:34:630]ECC:<port:1>,<<==** SD_ONHOOK, port:1

[238-22:00:34:630]

[239-22:00:34:630]ECC:<port:1>, <<== SD_ONHOOK

[240-22:00:34:630]ECC:<port:1>,<1,1,out_release> delete eccb index 1, stat:out_release

[241-22:00:34:630]ECC:<port:1>,<1,1,out_release> all ecc timer stop !

[242-22:00:34:630]ECC:<port:1>,<1,1,out_release> ==>> SD_STOP_SIG, stop signal

[243-22:00:34:630]ECC:<port:1>,<1,1,out_release> Free ECCB 1

[244-22:00:34:630]SD:<port:1>,sd recv ecc msg, port=1, prim=8, sigtype=-1, param:

[245-22:00:34:630]SD:<port:1>,SD Stop tone or ring request:Portid:1 .

[246-22:00:34:650]DSP: 0:2 - MGB_DM_GET_RXTX_STAT

ROS(ada)#[247-22:00:59:660]ECC: Start slice check !

ROS(ada)#

(2)Turn off Trace of SD (turnoff 53)

Page 13: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

(3)Turn on Trace of ECC (turnon 84)

To enable detailed call connect message display

ROS(ada)#turnon 84

ROS(ada)#

ROS(ada)#[248-22:09:24:920]ECC:<port:1>,<<==** SD_OFFHOOK, port:1

[249-22:09:24:920]

[250-22:09:24:920]ECC:<port:1>,<<== SD_OFFHOOK, para:

[251-22:09:24:920]ECC:<port:1>,eccb:2, State:0(out_idle), calling:31, dial:

[252-22:09:24:920]ECC:<port:1>,Dial timer start, timerlen:10000 ms!

[253-22:09:24:920]ECC:<port:1>,eccb:2, State:0(out_idle), calling:31, dial:

[254-22:09:24:920]ECC:<port:1>,<2,1,out_overlap> ==>> SD_TONE, Sig:1

[255-22:09:24:920]ECC:<port:1>,====Processed: SD_OFFHOOK

[000-22:09:24:920]ECC:<port:1>,eccb:2, State:1(out_overlap), calling:31, dial:

ROS(ada)#[001-22:09:25:600]ECC:<port:1>,<<==** SD_DIAL, port:1

[002-22:09:25:600]

[003-22:09:25:600]ECC:<port:1>,<2,1,out_overlap> <<== SD_DIAL, dial:8

[004-22:09:25:600]

Is send flash event: No

[005-22:09:25:600]ECC:<port:1>,<2,1,out_overlap> Sd timer stop !

[006-22:09:25:600]ECC:<port:1>,<2,1,out_overlap> ==>> SD_STOP_SIG, stop signal

[007-22:09:25:600]NUMBER:8, DIGITMAP:x.#|x.T

[008-22:09:25:600]Digitmap partial match!

[009-22:09:25:600]ECC:<port:1>,Dial timer start, timerlen:4000 ms!

[010-22:09:25:600]ECC:<port:1>,eccb:2, State:1(out_overlap), calling:31, dial:8

ROS(ada)#[011-22:09:25:960]ECC:<port:1>,<<==** SD_DIAL, port:1

[012-22:09:25:960]

[013-22:09:25:960]ECC:<port:1>,<2,1,out_overlap> <<== SD_DIAL, dial:1

[014-22:09:25:960]

Page 14: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

Is send flash event: No

[015-22:09:25:960]ECC:<port:1>,<2,1,out_overlap> Sd timer stop !

[016-22:09:25:960]NUMBER:81, DIGITMAP:x.#|x.T

[017-22:09:25:960]Digitmap partial match!

[018-22:09:25:960]ECC:<port:1>,Dial timer start, timerlen:4000 ms!

[019-22:09:25:960]ECC:<port:1>,eccb:2, State:1(out_overlap), calling:31, dial:81

ROS(ada)#[020-22:09:27:960]ECC:<port:1>,<<==** SD_DIAL, port:1

[021-22:09:27:960]

[022-22:09:27:960]ECC:<port:1>,<2,1,out_overlap> <<== SD_DIAL, dial:6

[023-22:09:27:960]

Is send flash event: No

[024-22:09:27:960]ECC:<port:1>,<2,1,out_overlap> Sd timer stop !

[025-22:09:27:960]NUMBER:816, DIGITMAP:x.#|x.T

[026-22:09:27:960]Digitmap partial match!

[027-22:09:27:960]ECC:<port:1>,Dial timer start, timerlen:4000 ms!

[028-22:09:27:960]ECC:<port:1>,eccb:2, State:1(out_overlap), calling:31, dial:816

ROS(ada)#[029-22:09:31:960]ECC:<port:1>,dial timeout

[030-22:09:31:960]ECC:<port:1>,eccb:2, State:1(out_overlap), calling:31, dial:816

[031-22:09:31:960]ECC:<port:1>,<2,1,out_overlap> <<== SD_SEND

[032-22:09:31:960]ECC:<port:1>,<2,1,out_overlap> <<== SD_DIAL, dial:T

[033-22:09:31:960]

Is send flash event: No

[034-22:09:31:960]NUMBER:816T, DIGITMAP:x.#|x.T

[035-22:09:31:960]Digitmap exact match!

[036-22:09:31:960]ECC:<port:1>,<2,1,out_overlap> Called is 816

[037-22:09:31:960]get route entry 31

[038-22:09:31:960]ECC:<port:1>, port 1 user register OK!

[039-22:09:31:960]ecc_call_try_next

[040-22:09:31:960]mode:4

[041-22:09:31:960]ECC:<port:1>,<2,1,out_overlap> Crcx, ip:255.255.255.255, port:65535,

isact:1, algo:4294967295, pkt:429

4967295, band:4294967295, crypt:FALSE, proto: UDP, p2pv2:N, mode:2 szRtpConn 2-1

[042-22:09:31:960]ECC:<port:1>,<2,1,out_overlap> ==>> SIP_CALL_INVITE, index:2,

local:<sip:[email protected]:2080>, peer:<si

p:[email protected]:2080>

Page 15: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

std sdp:v=0

o=DinStar 112344 112345 IN IP4 172.16.101.142

s=-

c=IN IP4 172.16.101.142

t=0 0

m=audio 8004 RTP/AVP 18 0 8

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=yes

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=ptime:20

replace:

referby:

[043-22:09:31:960]ECC:<port:1>,<2,1,out_outproc> Wait answer timer start !

[044-22:09:31:960]Caller: ucTimeout is 10

[045-22:09:31:960]ECC:<port:1>,====Processed: SD_DIAL

[046-22:09:31:960]ECC:<port:1>,eccb:2, State:2(out_outproc), calling:31, dial:816

ROS(ada)#[047-22:09:32:180]ECC:<port:1>,<==recv msg:SIP_CALL_RING,localindex:2

[048-22:09:32:180]ECC:<port:1>,eccb:2, State:2(out_outproc), calling:31, dial:816

[049-22:09:32:180]ECC:<port:1>,<2,1,out_outproc> <<== SIP_CALL_RING

[050-22:09:32:180]ECC:<port:1>,ring proc, isActiveEcc:TRUE

std sdp

priv sdp:

[051-22:09:32:180]ECC:<port:1>,eccb:2, State:2(out_outproc), calling:31, dial:816

[052-22:09:32:180]ECC:<port:1>,<2,1,out_outproc> delay ring timer start !

[053-22:09:32:180]ECC:<port:1>,====Processed: SIP_CALL_RING

[054-22:09:32:180]ECC:<port:1>,eccb:2, State:3(out_deliver), calling:31, dial:816

ROS(ada)#[055-22:09:32:280]ECC:<port:1>,<==recv msg:SIP_CALL_RING,localindex:2

[056-22:09:32:280]ECC:<port:1>,eccb:2, State:3(out_deliver), calling:31, dial:816

[057-22:09:32:280]ECC:<port:1>,<2,1,out_deliver> <<== SIP_CALL_RING

[058-22:09:32:280]ECC:<port:1>,ring proc, isActiveEcc:TRUE

std sdp

Page 16: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

priv sdp:

[059-22:09:32:280]ECC:<port:1>,eccb:2, State:3(out_deliver), calling:31, dial:816

[060-22:09:32:280]ECC:<port:1>,====Processed: SIP_CALL_RING

[061-22:09:32:280]ECC:<port:1>,eccb:2, State:3(out_deliver), calling:31, dial:816

ROS(ada)#[062-22:09:33:180]ECC:<port:1>,<2,1,out_deliver> delay ring time out !

[063-22:09:33:180]ECC:<port:1>,<2,1,out_deliver> ==>> SD_TONE, Sig:3

ROS(ada)#[064-22:09:40:090]ECC:<port:1>,<<==** SD_ONHOOK, port:1

[065-22:09:40:090]

[066-22:09:40:090]ECC:<port:1>, <<== SD_ONHOOK

[067-22:09:40:090]ECC:<port:1>,<2,1,out_deliver> delete eccb index 2, stat:out_deliver

[068-22:09:40:090]ECC:<port:1>,<2,1,out_deliver> all ecc timer stop !

[069-22:09:40:090]ECC:<port:1>,<2,1,out_deliver> Wait answer timer stop !

[070-22:09:40:090]ECC:<port:1>,<2,1,out_deliver> ==>> SD_STOP_SIG, stop signal

[071-22:09:40:090]CallReportType:call_fail, calling:31, called:816, origin:callout, answer:<not

applicable> , end:2011-1

2-14 22:09:40, billsec:0

[072-22:09:40:090]ECC:<port:1>,<2,1,out_deliver> delete rtp session

[073-22:09:40:090]ECC:<port:1>,<2,1,out_deliver> szRtpConn 2-1

[074-22:09:40:090]ECC:<port:1>,<2,1,out_deliver> ==>> SIP_CALL_BYE, index:2,

local:<sip:[email protected]:2080>, peer:<sip:8

[email protected]:2080>

[075-22:09:40:090]ECC:<port:1>,<2,1,out_deliver> Free ECCB 2

(4)Turn off ECC trace (turnoff 84)

Page 17: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

(5)Enable SIP message display (turnon 71)

(6)Disable sip message display (turnoff 71)

Page 18: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

5. How to get debug log on telnet

5.1 Set PUTTY software .

1) Open Putty , if you do not have a putty , please down here

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

2) Type the IP of the gateway (ATA , GSM VoIP gateway) . Select Telnet

3) Click Logging

4) Select All Session Output

5) Click Browse to select a directory to save the Logging file

6) Click Open

Page 19: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

5.2 DAG setting

1) Type username and password , default username and password is "admin"

2) Type "en" to enable all function

3) Type "^config "

4) Type "debug sip msg all "

5) Type “debug port all”

6) Type "ex "

7) Type "^ada"

8) Type "turnon 71 "

9) Type "turnon 84"

10) Type "turnon 53"

5.3 make call to test

1) Make call to test

2) Then get the logging file "putty.log" in the directory

Page 20: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

6. How to Adjust DSP Parameter

telnet 192.168.1.100

Welcome to Command Shell!

Username:admin

Password:******

ROS^en

ROS#dsp

note: you can input <quit> to quit

-----------------------------------------------

-------------------Normal set-------------------

-----------------------------------------------

code type: 0~3 (723_6/729A/711A/711U)

value = 1 :

PCM <- NET Port volume gain: (-32~32), default:0

value = 0 :

If u get echo in the PSTN side , decrease this value , -8 is recommendation

PCM -> NET Port volume gain: (-32~32), default:0

value = 0 :

If u get echo in the IP side , decrease this value , -8 is recommendation

FXO CODEC <- PHONE gain: 0 ~ 5 (0 ~ 5 db), default:1

value = 1 :

If u get low volume in the PSTN side , increase this value

FXO CODEC -> PHONE gain: 0 ~ 5 (0 ~ 5 db), default:2

value = 2 :

If u get low volume in the IP side , increase this value

FXS CODEC <-PHONE gain: 0 ~ 2 (0: 0db; 1: -3.5db;2: +3.5db), default:0

value = 0 :

FXS CODEC -> PHONE gain: 0 ~ 2 (0: 0db; 1: -3.5db;2: +3.5db), default:0

value = 0 :

Port SCE flag: (0, 1), default:1

value = 0 :

busytone threshold: -20~-35 (if 0, use default value)

value = 0 :

busytone hangover: 5ms~32767ms (if 0, use default value)

value = 0 :

busytone tone_on_frac: 1~32767 (if 0, use default value)

value = 0 :

busytone lo_cutoff_freq: 200hz~3000hz (if 0, use default value 300hz)

value = 300 :

busytone hi_cutoff_freq: 200hz~3000hz (if 0, use default value 550hz)

value = 700 :

busytone DeltaMs: 30ms~1000ms (Default 50ms)

Page 21: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

value = 50 :

dtmf volume: (-32 ~ 32), (default: 0)

value = 0 :

dtmf internal: (80~200), (default: 200ms)

value = 80 :

set Fxo Offhook wait time : 0 - 1 (0: 4S; 1: 1S) (default: 0)

value = 0 :

Set Fxo Hint Voice for Dialtone? 0 - 1 (0: No; 1: Yes) (default: 0)

value = 0 :

Set Fxo detect cid sended before ring? 0 - 1 (0: No; 1: Yes) (default: 0)

value = 0 :

IpPhone AutoDialer enable: 0 - 1 (default: 0/Disable)

value = 0 :

fax max rate: 2400,4800,7200,9600,12000,14400(unit:bps)(default : 14400)

value = 9600 :

fax volume: (-9 ~ 9)(default: 0)

value = 0 :

fax pkt send internal: (10 ~ 80), (default : 10ms)

value = 10 :

Set fax mode ? 0 - 1 (0: T38; 1: T30) (default: 0)

value = 0 :

set cptone type: 0-USA TYPE, ...(0~21)

cptone type = 17 :

set FXS param: 0-USA TYPE, ...(0~21)

FXS param = 17 :

set FXO param: 0-USA TYPE, ...(0~15)

...3-Germany TYPE,3-New Zealand and India TYPE, 5-England TYPE, 15-global impedence

This is used for modify the impedance , Input "5"and enter key t modify the impedance to

England Type.If you are the other type,please input the number as below:

number Type or impedence value

0 600

1 900

2 270+(750 ||150nF)(TBR21) and 275+ (780 ||150nF)

3 220 + ( 820 ||120nF ) (New Zealand/Australia) and 220 +

(820 ||115nF)(Slovakia/South Africa/Germany/Austria/Bulgaria)

4 370+(620 ||310nF)(New Zealand #2/India)

5 320+(1050 ||230nF)(England)

6 370+(820 ||110nF)

7 275+(780 ||115nF)

8 120+(820 ||110nF)

9 350+(1000 ||210nF)

10 0+(900 ||30nF)

11 600+2.16uF

Page 22: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

12 900+1uF

13 900+2.16uF

14 600+1uF

15 Global impedance

fxo ac param type= 0 :

set caller id mode: 0-USA TYPE, ...(0~21)

caller id mode = 0 :

send rtp keepalive: 0-do not send, 1-send

value = 0 :

..............

( leave here blank ,and type "Enter" key until you see the below )

Then reboot the gateway

( leave here blank ,and type "Enter" key )

Page 23: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

7. How to modify IP via COM port

7.1. Connect COM port of your desktop computer with the CONSOLE port of the DWG.

7.2 Make sure COM port connect well , you can check in the Windows Computer

Management

Page 24: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

7.3 Set COM port access tools , here use PUTTY as a example ,

You can download PUTTY here

http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe

COM port number must keep the same with the number you see in step 2 , here is <COM

2 >,

Rate bit is <115200 > , Flow control set to <None>

After setting the software , you can click <open> to enter the Command shell of DWG.

Page 25: DAG Command Line Manual V 2 - · PDF fileDAG Command Line Manual V 2.1 Dinstar Technologies Co., Ltd. Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District, Shenzhen,

7.4 Modify IP via COM port access .

Welcome to Command Shell!

Username:admin

Password:admin

ROS>en

ROS#

ROS#MENU

--------------------------------------------------------------------------

| System menu configuration tool. |

| (c) COPYRIGHT 2002- by Shenzhen Allywll Information Co.,Ltd |

| All rights reserved. |

--------------------------------------------------------------------------

| Network access method supported: |

| (0) PPP modem |

| (1) ethernet with fixed ip |

| (2) ethernet with dhcp |

| (3) pppoe |

--------------------------------------------------------------------------

| Notice: |

| [1]"quit" Type "quit" to exit this tool |

| [2]A.B.C.D You must input an ip address/mask |

--------------------------------------------------------------------------

EIA Mode( route=0 or bridge=1) : 1 then type <ENTER KEY>

WAN Network access method (0-3): 1

WAN Local ip address(A.B.C.D): 172.16.55.32 input the IP you want to give

WAN Local ip mask(A.B.C.D): 255.255.0.0 input the MASK you want to give

Default Gateway address(A.B.C.D): 172.16.1.5 input the Gateway you want to give

Current protocal is SIP

MGC ip address(A.B.C.D/domain name): 172.16.100.136

input the SIP server IP you want to give

SIP Proxy Port: 5060

SIP LOCAL port: 5060

RTP Start port: 8000

Primary DNS server(A.B.C.D): 202.96.128.68

Second DNS server(A.B.C.D): 202.96.134.133

Enable syslog(Y/N): y

ROS#^config

ROS(config)#reset eia

Are you sure to reset? (y/n):y

7.5 Reboot the gateway