[asterisk-commits] oej: branch group/pine-multiple-externip-1.4 r312556 - /team/group/pine-multi...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Apr 4 07:23:54 CDT 2011


Author: oej
Date: Mon Apr  4 07:23:46 2011
New Revision: 312556

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=312556
Log:
Show externip in "sip show channel"

Modified:
    team/group/pine-multiple-externip-1.4/channels/chan_sip.c

Modified: team/group/pine-multiple-externip-1.4/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/pine-multiple-externip-1.4/channels/chan_sip.c?view=diff&rev=312556&r1=312555&r2=312556
==============================================================================
--- team/group/pine-multiple-externip-1.4/channels/chan_sip.c (original)
+++ team/group/pine-multiple-externip-1.4/channels/chan_sip.c Mon Apr  4 07:23:46 2011
@@ -12383,6 +12383,7 @@
 			ast_cli(fd, "  SIP Transfer mode:      %s\n", transfermode2str(cur->allowtransfer));
 			ast_cli(fd, "  NAT Support:            %s\n", nat2str(ast_test_flag(&cur->flags[0], SIP_NAT)));
 			ast_cli(fd, "  Audio IP:               %s %s\n", ast_inet_ntoa(cur->redirip.sin_addr.s_addr ? cur->redirip.sin_addr : cur->ourip), cur->redirip.sin_addr.s_addr ? "(Outside bridge)" : "(local)" );
+			ast_cli(fd, "  ExternIP:               %s\n",  cur->externip.sin_addr.s_addr ? ast_inet_ntoa(cur->externip.sin_addr) : "(Unspecified)");
 			ast_cli(fd, "  Our Tag:                %s\n", cur->tag);
 			ast_cli(fd, "  Their Tag:              %s\n", cur->theirtag);
 			ast_cli(fd, "  SIP User agent:         %s\n", cur->useragent);




More information about the asterisk-commits mailing list