CLI Command To See If SRTP Is Active?

Home » Asterisk Users » CLI Command To See If SRTP Is Active?
Asterisk Users 2 Comments

Hi,

I’ve setup TLS/SRTP with Asterisk 11.8.1 and wonder if there is a CLI
command to see if SRTP is active on a channel/call. I went through sip show … and core show channel… and did not see any mentioning of SRTP
while there is an SRTP call active.

Thanks, Patrick

2 thoughts on - CLI Command To See If SRTP Is Active?

  • I don’t have any encrypted calls up in front of me at this second to provide an example, however if you are just wanting to verify SRTP is active for a call you will see SRTP related messages on the CLI if you turn up DEBUG message verbosity and have it going to the console, or else possibly with output from “rtp set debug on”.

    As for the “show channels” type commands, it may say something about encryption rather than “SRTP” directly. I’ll take a look later if I
    get a chance.