[asterisk-commits] murf: branch murf/bug7433 r47643 - /team/murf/bug7433/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Nov 14 17:20:23 MST 2006


Author: murf
Date: Tue Nov 14 18:20:23 2006
New Revision: 47643

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47643
Log:
removed another debug log, and straightened up some formatting

Modified:
    team/murf/bug7433/channels/chan_sip.c

Modified: team/murf/bug7433/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/murf/bug7433/channels/chan_sip.c?view=diff&rev=47643&r1=47642&r2=47643
==============================================================================
--- team/murf/bug7433/channels/chan_sip.c (original)
+++ team/murf/bug7433/channels/chan_sip.c Tue Nov 14 18:20:23 2006
@@ -2960,9 +2960,9 @@
 
 	/* Check the list of users only for incoming calls */
 	if (global_limitonpeers == FALSE && !outgoing && (u = find_user(name, 1)))  {
-			inuse = &u->inUse;
-			call_limit = &u->call_limit;
-			inringing = NULL;
+		inuse = &u->inUse;
+		call_limit = &u->call_limit;
+		inringing = NULL;
 	} else if ( (p = find_peer(ast_strlen_zero(fup->peername) ? name : fup->peername, NULL, 1) ) ) { /* Try to find peer */
 		inuse = &p->inUse;
 		call_limit = &p->call_limit;
@@ -8035,7 +8035,7 @@
 		peer->onHold++;
 	else
 		peer->onHold--;
-	ast_log(LOG_NOTICE, "onHold now: %d;  hold arg was: %d\n", peer->onHold, hold);
+
 	/* Request device state update */
 	ast_device_state_changed("SIP/%s", peer->name);
 



More information about the asterisk-commits mailing list