[svn-commits] jpeeler: branch 1.6.2 r293723 - in /branches/1.6.2: ./ channels/chan_sip.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Nov 2 18:07:18 CDT 2010


Author: jpeeler
Date: Tue Nov  2 18:07:13 2010
New Revision: 293723

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=293723
Log:
Merged revisions 293722 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r293722 | jpeeler | 2010-11-02 18:02:51 -0500 (Tue, 02 Nov 2010) | 8 lines
  
  Add enabled/disabled information for rtautoclear sip show settings output.
  
  When setting to zero/"no", the numeric default was shown making it not obvious
  the disabled setting was respected.
  
  (closes issue #18123)
  Reported by: zerohalo
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/channels/chan_sip.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: branches/1.6.2/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_sip.c?view=diff&rev=293723&r1=293722&r2=293723
==============================================================================
--- branches/1.6.2/channels/chan_sip.c (original)
+++ branches/1.6.2/channels/chan_sip.c Tue Nov  2 18:07:13 2010
@@ -16307,7 +16307,7 @@
 		ast_cli(a->fd, "  Update:                 %s\n", cli_yesno(sip_cfg.peer_rtupdate));
 		ast_cli(a->fd, "  Ignore Reg. Expire:     %s\n", cli_yesno(sip_cfg.ignore_regexpire));
 		ast_cli(a->fd, "  Save sys. name:         %s\n", cli_yesno(sip_cfg.rtsave_sysname));
-		ast_cli(a->fd, "  Auto Clear:             %d\n", sip_cfg.rtautoclear);
+		ast_cli(a->fd, "  Auto Clear:             %d (%s)\n", sip_cfg.rtautoclear, ast_test_flag(&global_flags[1], SIP_PAGE2_RTAUTOCLEAR) ? "Enabled" : "Disabled");
 	}
 	ast_cli(a->fd, "\n----\n");
 	return CLI_SUCCESS;




More information about the svn-commits mailing list