output 'our tag' in proper format
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 14 Sep 2005 00:27:51 +0000 (00:27 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 14 Sep 2005 00:27:51 +0000 (00:27 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6573 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 9040def..871133f 100755 (executable)
@@ -7987,7 +7987,7 @@ static int sip_show_channel(int fd, int argc, char *argv[])
                        ast_cli(fd, "  Received Address:       %s:%d\n", ast_inet_ntoa(iabuf, sizeof(iabuf), cur->recv.sin_addr), ntohs(cur->recv.sin_port));
                        ast_cli(fd, "  NAT Support:            %s\n", nat2str(ast_test_flag(cur, SIP_NAT)));
                        ast_cli(fd, "  Audio IP:               %s %s\n", ast_inet_ntoa(iabuf, sizeof(iabuf), cur->redirip.sin_addr.s_addr ? cur->redirip.sin_addr : cur->ourip), cur->redirip.sin_addr.s_addr ? "(Outside bridge)" : "(local)" );
-                       ast_cli(fd, "  Our Tag:                %08d\n", cur->tag);
+                       ast_cli(fd, "  Our Tag:                as%08x\n", cur->tag);
                        ast_cli(fd, "  Their Tag:              %s\n", cur->theirtag);
                        ast_cli(fd, "  SIP User agent:         %s\n", cur->useragent);
                        if (!ast_strlen_zero(cur->username))