[Asterisk-cvs] asterisk/channels chan_sip.c,1.365,1.366

markster at lists.digium.com markster at lists.digium.com
Tue May 4 15:33:14 CDT 2004


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

Modified Files:
	chan_sip.c 
Log Message:
Print route when doing sip show channel foo


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.365
retrieving revision 1.366
diff -u -d -r1.365 -r1.366
--- chan_sip.c	4 May 2004 19:11:25 -0000	1.365
+++ chan_sip.c	4 May 2004 19:41:31 -0000	1.366
@@ -4812,6 +4812,7 @@
 			ast_cli(fd, "Their Tag:           %s\n", cur->theirtag);
 			ast_cli(fd, "Need Destroy:        %d\n", cur->needdestroy);
 			ast_cli(fd, "Last Message:        %s\n", cur->lastmsg);
+			ast_cli(fd, "Route:               %s\n", cur->route ? cur->route->hop : "N/A");
 			strcpy(tmp, "");
 			if (cur->dtmfmode & SIP_DTMF_RFC2833)
 				strcat(tmp, "rfc2833 ");




More information about the svn-commits mailing list