mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	chan_sip: Add TLS and SRTP status to CLI command 'sip show channel'
ASTERISK-23564 #close Reported by: Patrick Laimbock Review: https://reviewboard.asterisk.org/r/3474/ ........ Merged revisions 413876 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 413877 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@413878 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -21527,6 +21527,10 @@ static char *sip_show_channel(struct ast_cli_entry *e, int cmd, struct ast_cli_a | ||||
|  				} | ||||
| 			} | ||||
| 
 | ||||
| 			/* add transport and media types */ | ||||
| 			ast_cli(a->fd, "  Transport:              %s\n", ast_transport2str(cur->socket.type)); | ||||
| 			ast_cli(a->fd, "  Media:                  %s\n", cur->srtp ? "SRTP" : cur->rtp ? "RTP" : "None"); | ||||
| 
 | ||||
| 			ast_cli(a->fd, "\n\n"); | ||||
| 
 | ||||
| 			found++; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user