diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 16b2605272c5727d06c3629ef269730569417254..1cbe0b481ba3f73896f4ec8a0f9f1cec67e376fe 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -1767,7 +1767,7 @@ static int update_user_counter(struct sip_pvt *fup, int event) return -1; } } - u->inUse++; + (*inuse)++; ast_log(LOG_DEBUG, "Call from %s '%s' is %d out of %d\n", u?"user":"peer", name, *inuse, *incominglimit); break; #ifdef DISABLED_CODE