[asterisk-dev] [Code Review] 3474: TLS and SRTP status not available in CLI

Patrick Laimbock reviewboard at asterisk.org
Thu Apr 24 12:33:39 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3474/
-----------------------------------------------------------

(Updated April 24, 2014, 5:33 p.m.)


Review request for Asterisk Developers.


Changes
-------

Added all transport types (UDP, TCP, TLS, WS, WSS) as suggested by oej and added corner case as suggested by mmichelson. Tested UDP/RTP & TLS/SRTP on Asterisk-11.9.0.


Bugs: ASTERISK-23564
    https://issues.asterisk.org/jira/browse/ASTERISK-23564


Repository: Asterisk


Description
-------

AFAICT there is no way to see from the CLI if TLS and SRTP are enabled for a channel. I asked on the ML and in #asterisk but received no answer other than that nobody knew how to get that info from the CLI. This patch shows TLS or non-TLS and SRTP or RTP.


Diffs (updated)
-----

  /branches/11/channels/chan_sip.c 412921 

Diff: https://reviewboard.asterisk.org/r/3474/diff/


Testing
-------

Testing was done on Asterisk-11.8.1 with TLS & RPT, TLS & SRTP, non-TLS & RPT configured and a Nexus GSM using Linphone with similar configs. AFAICT the status of the channel and media was correctly reported for each scenario.


Thanks,

Patrick Laimbock

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140424/58e3011d/attachment.html>


More information about the asterisk-dev mailing list