[Asterisk-cvs] asterisk/channels chan_sip.c,1.462,1.463

markster at lists.digium.com markster at lists.digium.com
Wed Jul 28 17:21:35 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory localhost.localdomain:/tmp/cvs-serv20424/channels

Modified Files:
	chan_sip.c 
Log Message:
Add "username" to sip show peer (bug #2163) as well as a few config cleanups


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.462
retrieving revision 1.463
diff -u -d -r1.462 -r1.463
--- chan_sip.c	27 Jul 2004 19:00:06 -0000	1.462
+++ chan_sip.c	28 Jul 2004 21:07:38 -0000	1.463
@@ -5582,6 +5582,7 @@
 		ast_cli(fd, "  ToHost       : %s\n", peer->tohost);
 		ast_cli(fd, "  Addr->IP     : %s Port %d\n",  peer->addr.sin_addr.s_addr ? ast_inet_ntoa(iabuf, sizeof(iabuf), peer->addr.sin_addr) : "(Unspecified)", ntohs(peer->addr.sin_port));
 		ast_cli(fd, "  Defaddr->IP  : %s Port %d\n", ast_inet_ntoa(iabuf, sizeof(iabuf), peer->defaddr.sin_addr), ntohs(peer->defaddr.sin_port));
+		ast_cli(fd, "  Username     : %s\n", peer->username);
 		ast_cli(fd, "  Codecs       : ");
 		/* This should really be a function in frame.c */
 		if (peer->capability & AST_FORMAT_G723_1)




More information about the svn-commits mailing list