1.0 Login & General Knowledge of EVG CLI
SSH to the IP address of the device to enter the OS console:
C:UsersAdministrator>ssh (contact support for user)@172.16.101.142
OS Console credentials:
-
User: (contact support)
-
Pass: (contact support)
Enter the enable prompt:
> enable
Enter the aos prompt — this puts you into the EVG CLI:
(contact support for user)@iad enable# aos
EVG CLI credentials:
-
User: (contact support)
-
Pass: (contact support)
Input ? to show all available commands:
Abbreviations are supported. For example:
2.0 "ROS#" Mode
There are only a few commands in the ROS> mode. For more access, you must enter ROS# prompt.
Input enable to enter ROS# mode:
2.1 Command Menu
Input ? to show all available commands:
2.2 General Purpose Commands
Show IP information
sho int
Show Time
sho cl
Show Version
sho ver
Show SIP Information
sho sip config
Show Memory Status
sho memory detail
Show SIP Port Status
sho sip all
Show Current Calls
sho ecc call
Show RTP Session
sho rtp se
3.0 "config" Mode
Input ^config in ROS# mode to enter config mode.
Input exit in config mode to go back to ROS# mode.
3.1 Command Menu
Input ? to show all available commands:
3.2 General Purpose Commands
Set Time
clock set
Load Firmware
load filename server IP
Command format:
load down filetype filename tftp/ftp serverIP servicePort
Save the Configuration
save
Restart Device
reset
Enable Debug
deb port + port No (0,1,2.... all = all ports)
Examples:
deb port all deb port 1
Enable SIP Debug
deb sip msg all
4.0 "ada" Mode
Input ^ada in ROS# mode to enter ada mode.
Input exit in ada mode to go back to ROS# mode.
4.1 Command Menu
Input ? to show all available commands:
4.2 General Purpose Commands
Turn on Trace of SD
turnon 53
The SD log outputs detailed messages of the physical interface, such as dialled digits, hook status, flash events, etc.
ROS(ada)#turnon 53 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 [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 ... [235-22:00:34:630]SD:<port:1>,sd detect onhook on pots:1 // Onhook notification
Turn off Trace of SD
turnoff 53
Turn on Trace of ECC
turnon 84
The ECC log outputs detailed call connection messaging:
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)#[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:4294967295, 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:31@172.16.0.8:2080>, peer:<sip:816@172.16.0.8:2080> 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)#[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-12-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:31@172.16.0.8:2080>, peer:<sip:816@172.16.0.8:2080> [075-22:09:40:090]ECC:<port:1>,<2,1,out_deliver> Free ECCB 2
Turn off ECC Trace
turnoff 84
Enable SIP Message Display
turnon 71
Disable SIP Message Display
turnoff 71
Enable Provisioning Message Display
turnon 92
Disable Provisioning Message Display
turnoff 92
5.0 How to get debug log on telnet
5.1 Set PUTTY Software
-
Open PuTTY.
-
Type the IP of the gateway (ATA, GSM VoIP gateway).
-
Select Telnet as the connection type.
-
Click Logging.
-
Select All Session Output.
-
Click Browse to select a directory to save the log file.
-
Click Open.
5.2 EVG Settings
Type username and password — default is (contact support) / (contact support).
After connecting, enter the following sequence:
ROS>en ROS#^config ROS(config)>#debug sip msg all ROS(config)>#debug port all ROS(config)>#ex ROS#^ada ROS(ada)#[...] ADA CONNECTED ....,WELCOME!
ROS(ada)#turnon 71 ROS(ada)#turnon 84 ROS(ada)#turnon 53 ROS(ada)#turnon 92
5.3 Replicate the Fault
-
Reproduce the issue.
-
Retrieve the log file
putty.logfrom the chosen directory.
6.0 How to modify IP information via COM port
Connect the COM port of your computer to the CONSOLE port of the EVG.
You can check which COM port is connected and available in Windows Device Manager.
Use a COM port access tool (PuTTY in this example) with the following settings:
|
Setting |
Value |
|---|---|
|
COM Port |
COM2 (match Device Manager) |
|
Baud Rate |
115200 |
|
Flow Control |
None |
After applying the settings, click Open to enter the Command Shell of the EVG.
6.1 Modify Network Parameters via COM port access
Default credentials: admin / admin
Input en to enter the enable prompt, then MENU to access the system menu configuration tool:
ROS>en ROS# ROS#MENU
Follow the prompts to configure all network parameters:
--------------------------------------------------------- | System menu configuration tool. | | 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 WAN Network access method (0-3): 1 WAN Local ip address (A.B.C.D): 172.16.55.32 WAN Local ip mask (A.B.C.D): 255.255.0.0 Default Gateway address (A.B.C.D): 172.16.1.5 Current protocol is SIP MGC ip address (A.B.C.D/domain name): 172.16.100.136 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
After completing the MENU prompts, apply and reboot:
ROS#^config ROS(config)#reset eia Are you sure to reset? (y/n):y
The gateway will reboot with the new network parameters.