[asterisk-commits] trunk r29668 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue May 23 05:39:49 MST 2006


Author: oej
Date: Tue May 23 07:39:48 2006
New Revision: 29668

URL: http://svn.digium.com/view/asterisk?rev=29668&view=rev
Log:
Breaking once will stop us... :-)

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=29668&r1=29667&r2=29668&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Tue May 23 07:39:48 2006
@@ -2594,7 +2594,7 @@
 			ast_copy_string(name, fup->peername, sizeof(name));
 		} else {
 			if (option_debug > 1)
-				ast_log(LOG_DEBUG, "%s is not a local user, no call limit\n", name);
+				ast_log(LOG_DEBUG, "%s is not a local device, no call limit\n", name);
 			return 0;
 		}
 	}
@@ -2651,11 +2651,10 @@
 					if (*inringing > 0)
 						(*inringing)--;
 					else
-						ast_log(LOG_WARNING, "Inringing for peer '%s' < 0?\n", fup->peername);
+						ast_log(LOG_WARNING, "Inringing for peer '%s' < 0?\n", p->name);
 					ast_clear_flag(&fup->flags[1], SIP_PAGE2_INC_RINGING);
 				}
 			}
-			break;
 			break;
 		default:
 			ast_log(LOG_ERROR, "update_call_counter(%s, %d) called with no event!\n", name, event);



More information about the asterisk-commits mailing list