Show if the channel is ready for video or T.38 udptl
authorOlle Johansson <oej@edvina.net>
Thu, 26 Oct 2006 20:22:14 +0000 (20:22 +0000)
committerOlle Johansson <oej@edvina.net>
Thu, 26 Oct 2006 20:22:14 +0000 (20:22 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46346 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 914fc6d..44a8da3 100644 (file)
@@ -10607,6 +10607,8 @@ static int sip_show_channel(int fd, int argc, char *argv[])
                        ast_cli(fd, "  Their Codec Capability:   %d\n", cur->peercapability);
                        ast_cli(fd, "  Joint Codec Capability:   %d\n", cur->jointcapability);
                        ast_cli(fd, "  Format:                 %s\n", ast_getformatname_multiple(formatbuf, sizeof(formatbuf), cur->owner ? cur->owner->nativeformats : 0) );
+                       ast_cli(fd, "  T.38 support            %s\n", cur->udptl ? "Yes" : "No");
+                       ast_cli(fd, "  Video support           %s\n", cur->vrtp ? "Yes" : "No");
                        ast_cli(fd, "  MaxCallBR:              %d kbps\n", cur->maxcallbitrate);
                        ast_cli(fd, "  Theoretical Address:    %s:%d\n", ast_inet_ntoa(cur->sa.sin_addr), ntohs(cur->sa.sin_port));
                        ast_cli(fd, "  Received Address:       %s:%d\n", ast_inet_ntoa(cur->recv.sin_addr), ntohs(cur->recv.sin_port));