[Asterisk-cvs] asterisk/channels chan_sip.c,1.847,1.848

kpfleming kpfleming
Tue Sep 13 20:29:16 CDT 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv30450/channels

Modified Files:
	chan_sip.c 
Log Message:
output 'our tag' in proper format


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.847
retrieving revision 1.848
diff -u -d -r1.847 -r1.848
--- chan_sip.c	13 Sep 2005 01:38:00 -0000	1.847
+++ chan_sip.c	14 Sep 2005 00:27:51 -0000	1.848
@@ -7987,7 +7987,7 @@
 			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))




More information about the svn-commits mailing list