[asterisk-commits] branch oej/iptos r11884 - in /team/oej/iptos: ./ channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Mar 5 06:21:54 MST 2006


Author: oej
Date: Sun Mar  5 07:21:51 2006
New Revision: 11884

URL: http://svn.digium.com/view/asterisk?rev=11884&view=rev
Log:
Restore automerge, resolve conflict

Modified:
    team/oej/iptos/   (props changed)
    team/oej/iptos/channels/chan_sip.c

Propchange: team/oej/iptos/
------------------------------------------------------------------------------
    automerge = Ja

Propchange: team/oej/iptos/
------------------------------------------------------------------------------
Binary property 'branch-1.2-blocked' - no diff available.

Propchange: team/oej/iptos/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Sun Mar  5 07:21:51 2006
@@ -1,1 +1,1 @@
-/trunk:1-11827
+/trunk:1-11883

Modified: team/oej/iptos/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/oej/iptos/channels/chan_sip.c?rev=11884&r1=11883&r2=11884&view=diff
==============================================================================
--- team/oej/iptos/channels/chan_sip.c (original)
+++ team/oej/iptos/channels/chan_sip.c Sun Mar  5 07:21:51 2006
@@ -12346,6 +12346,7 @@
 	struct sockaddr_in old_bindaddr = bindaddr;
 	int registry_count = 0, peer_count = 0, user_count = 0;
 	int temp_tos = 0;
+	int debugflag;
 
 	cfg = ast_config_load(config);
 
@@ -12356,7 +12357,11 @@
 	}
 	
 	/* Clear all flags before setting default values */
+	/* Preserve debugging settings for console */
+	ast_copy_flags((&debugflag), (&global_flags_page2), SIP_PAGE2_DEBUG_CONSOLE);
 	ast_clear_flag(&global_flags, AST_FLAGS_ALL);
+	ast_clear_flag(&global_flags_page2, AST_FLAGS_ALL);
+	ast_copy_flags((&global_flags_page2), (&debugflag), SIP_PAGE2_DEBUG_CONSOLE);
 
 	/* Reset IP addresses  */
 	memset(&bindaddr, 0, sizeof(bindaddr));



More information about the asterisk-commits mailing list