Fix sip show channel
authorMark Spencer <markster@digium.com>
Sat, 29 Mar 2003 16:34:59 +0000 (16:34 +0000)
committerMark Spencer <markster@digium.com>
Sat, 29 Mar 2003 16:34:59 +0000 (16:34 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@717 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index a209a15..510c0b5 100755 (executable)
@@ -2990,8 +2990,8 @@ static int sip_show_channel(int fd, int argc, char *argv[])
        while(cur) {
                if (!strcasecmp(cur->callid, argv[3])) {
                        ast_cli(fd, "Call-ID: %s\n", cur->callid);
-                       ast_cli(fd, "Codec Capability: %s\n", cur->capability);
-                       ast_cli(fd, "Non-Codec Capability: %s\n", cur->noncodeccapability);
+                       ast_cli(fd, "Codec Capability: %d\n", cur->capability);
+                       ast_cli(fd, "Non-Codec Capability: %d\n", cur->noncodeccapability);
                        ast_cli(fd, "Theoretical Address: %s:%d\n", inet_ntoa(cur->sa.sin_addr), ntohs(cur->sa.sin_port));
                        ast_cli(fd, "Received Address:    %s:%d\n", inet_ntoa(cur->recv.sin_addr), ntohs(cur->recv.sin_port));
                        ast_cli(fd, "NAT Support:         %s\n", cur->nat ? "Yes" : "No");