[asterisk-dev] Re: [asterisk-commits] branch 1.2 r29733 - /branches/1.2/channels/chan_sip.c

Kevin P. Fleming kpfleming at digium.com
Tue May 23 10:24:00 MST 2006


asterisk-commits at lists.digium.com wrote:

> +		if (lockretrycount > 100) {
> +			ast_log(LOG_ERROR, "We could NOT get the channel lock for %s! \n", p->owner->name);
> +			ast_log(LOG_ERROR, "SIP MESSAGE JUST IGNORED: %s \n", req.data);
> +			ast_log(LOG_ERROR, "BAD! BAD! BAD!\n");
> +			return 1;

This condition will not occur; the previous code continues looping until
the value reaches 100, it will not go above 100.



More information about the asterisk-dev mailing list