[asterisk-commits] branch bweschke/polycom_acd_functions - r8031 /team/bweschke/polycom_acd_func...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Jan 12 13:50:30 CST 2006


Author: bweschke
Date: Thu Jan 12 13:50:29 2006
New Revision: 8031

URL: http://svn.digium.com/view/asterisk?rev=8031&view=rev
Log:
 Bug fix so functionality actually works with debug turned off. Doh!

Modified:
    team/bweschke/polycom_acd_functions/channels/chan_sip.c

Modified: team/bweschke/polycom_acd_functions/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/bweschke/polycom_acd_functions/channels/chan_sip.c?rev=8031&r1=8030&r2=8031&view=diff
==============================================================================
--- team/bweschke/polycom_acd_functions/channels/chan_sip.c (original)
+++ team/bweschke/polycom_acd_functions/channels/chan_sip.c Thu Jan 12 13:50:29 2006
@@ -11097,8 +11097,8 @@
 			if (res == -3) {
 				if (debug) {
 					ast_log(LOG_DEBUG, "This is an agent login attempt via SUBSCRIBE\n");
-					handle_request_agentlogin(p, req, p->randdata, sizeof(p->randdata), e, debug);
 				}
+				handle_request_agentlogin(p, req, p->randdata, sizeof(p->randdata), e, debug);
 			} else if (res < 0) {
 				ast_log(LOG_NOTICE, "Failed to authenticate user %s for SUBSCRIBE\n", get_header(req, "From"));
 				ast_set_flag(p, SIP_NEEDDESTROY);	



More information about the asterisk-commits mailing list