From cacdb5c18335625d5ef9c2fdb15641aef483ab4b Mon Sep 17 00:00:00 2001 From: automerge Date: Tue, 13 Feb 2007 19:37:42 +0000 Subject: automerge commit git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@54203 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_sip.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'channels') diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e3c8a3fcd..0244fbf1e 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; -- cgit v1.2.3