Applicability:
This article introduces the way of capturing the CLI logs in different Yeastar Gateway products (TA, TB, TE, and TG Gateway).
(If you meet the call failure issue when integrating with the gateway, try to check the trunk status and configuration in advance.)
Step1. Access SSH via Putty
1. Download Putty (Link: Download Putty)
2. Enable SSH service on Yeastar Gateway
Find “System>LAN settings>Enable SSH” or “System>Security Center>Service>Enable SSH”.
After enabling it, save and apply the change, then you will see the SSH account and password.
( If the firmware version is lower than X.19.0.43, try to reboot to make it take effect.)
3. Open Putty
Step2. Commands on Different Gateway
We have to use different commands for different gateway devices to capture the correct CLI Logs.
- Input the below commands.
- Try to replicate the issue.
- When done, use “Ctrl+C” to stop the CLI capture and copy the Log then post it to us.
- Detail us the issue & configuration and when you replicate it.
(1)TAO Gateway
asterisk -vvvr
sip set debug on
dahdi show span state all
(2)TAS Gateway
asterisk -vvvr
sip set debug on
dahdi show span state all
(3)TG Gateway
asterisk -vvvr
sip set debug on
gsm show spans
gsm show span <span>
( <span>=<gsm port>+1) (E.g. gsm show span 2 means check gsm trunk on port 1)
mobile set debug level all for span <span> (For TGv3 device, use this command.)
gsm debug span <span> (For TGv2 device, use this command.)
(4)TE Gateway
asterisk -vvvr
sip set debug on
dahdi show status
Then, check the Signaling you are using and pick the corresponding commands.
a. If you are using PRI, try below commands.
pri show spans
pri show span <span>
pri set debug 2 span <span>
b. If you are using MFC/R2, try below commands.
mfcr2 set debug
mfcr2 show channels
c. If you are using SS7, try below commands.
ss7 set debug on linkset
ss7 show channels
ss7 show linkset
(5)TB Gateway
asterisk -vvvr
sip set debug on
pri show spans
pri show span <span>
pri set debug on span <span>
1 Comments