From: Olle Johansson Date: Thu, 26 Oct 2006 20:22:14 +0000 (+0000) Subject: Show if the channel is ready for video or T.38 udptl X-Git-Tag: 1.6.0-beta1~3^2~4258 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ca6b7956927e9aa634191cea62975768ff47e2d;p=thirdparty%2Fasterisk.git Show if the channel is ready for video or T.38 udptl git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46346 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 914fc6da80..44a8da3b55 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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));