How to Capture Yeastar S-Series SIP Packets with Putty

This guide introduces how to capture S-Series VoIP PBX's SIP packets with Putty. Please follow the steps below to capture SIP packets.

Step 1. Login via SSH.

1> Login S Series PBX Web Administrator Interface and go to Settings->System→Security→ Service, enable SSH.


2> Login S Series PBX via SSH, the default username is support, password is iyeastar.


Step 2. Change Putty Settings.

1> Right click Putty window, click "Change Settings".

2> Change the "Lines of scrollbar" to a larger value.


Step 3. Enter asterisk CLI.

Execute command asterisk –vvvvvvvvvvvvvvvvr to enter asterisk CLI.


Step 4. Enable PJSIP debug.

After entering asterisk CLI, execute command pjsip set logger host x.x.x.x to enable PJSIP debug for a specific IP address. (i.e. pjsip set logger host

Note: x.x.x.x is the IP where the PJSIP packets are sent to or from.

Or you can execute command pjsip set logger on to capture all the SIP packets which are sent to or from S Series PBX. If you are not sure which command to use, please execute pjsip set logger on.


Step 5. Stop capturing SIP logs when the problem reappears.

When the problem reappears, execute command pjsip set logger off to stop capturing the PJSIP log.

1> If you can’t register an extension, you can try to register the extension again. If you cannot find any SIP packets, it means S-Series VoIP PBX didn’t receive any SIP packets. Maybe you should check your network first.

2> If you have any issue of the incoming calls or outbound calls, please try to make a call again, and you will see the PJSIP packets and logs are printed in putty window. 

Step 6. Copy All to Clipboard and paste the logs to a document.

Copy all the logs and paste the logs to a .txt file, send the txt file to Yeastar support. 


Have more questions? Submit a request


Please sign in to leave a comment.