Asterisk some CLI commands

From vpsget wiki
Jump to: navigation, search

There listed most used commands i asterisk CLI. For enter Asterisk CLI you should run

asterisk -r

show all sip peers

sip show peers 

show sip peer details

 sip show peer <peername>

show current using of srtp module (will show use count for module if there exists some active srtp sessions at the moment)

 module show like

turn on rtp debug

rtp set debug on

change core debug level

core set debug 8

Set SIP debug on

sip set debug on

show realtime load

realtime load

Show all codecs available on the server

 core show codecs