aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorautomerge <automerge@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-13 19:37:42 +0000
committerautomerge <automerge@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-13 19:37:42 +0000
commitcacdb5c18335625d5ef9c2fdb15641aef483ab4b (patch)
tree13b956293f995ffa31abc40829646386d22b9f62
parentd0b2229ebdf2a6569b092d4adf4ad7a984b2ef15 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@54203 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c3
1 files changed, 1 insertions, 2 deletions
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;