From: Automerge Script Date: Tue, 13 Feb 2007 19:37:42 +0000 (+0000) Subject: automerge commit X-Git-Tag: 1.2.16-netsec~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=155aee0b84ca1823c22b2ba9f9b860df38b027ac;p=thirdparty%2Fasterisk.git automerge commit git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@54203 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e3c8a3fcdb..0244fbf1ed 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2264,8 +2264,7 @@ static int update_call_counter(struct sip_pvt *fup, int event) ast_copy_string(name, fup->username, sizeof(name)); /* Check the list of users */ - u = find_user(name, 1); - if (u) { + if (!outgoing && (u = find_user(name, 1))) { inuse = &u->inUse; call_limit = &u->call_limit; p = NULL;