Yeastar Asterisk realtime SIP logging

Modified on Thu, 25 Jul, 2024 at 9:24 AM

P-Series Cloud and Software versions don't allow you to run tcpdump at the command line but you can use the pjsip logger to get realtime logs at the command line.


At the command line enter the Asterisk console

asterisk -r


Quieten down the standard Asterisk logging

core set verbose 0


Then you can set the SIP logger on/off and log to file or view in realtime

pjsip set logger on



IP addresses will be private and won't reflect your public IPs as the PBX is behind an SBC.


HINT: updates to your screen will keep auto-scrolling you, either exit the Asterisk console (CTRL-C) or disable the pjsip logging (pjsip set logger off) if you want to scroll up your terminal to see events.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article