diff options
author | Mark Spencer <markster@digium.com> | 2004-07-20 15:29:09 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-07-20 15:29:09 +0000 |
commit | e49aae74d0daaf9a7672153362837c8bd9c68e83 (patch) | |
tree | 0cfa074631fc2f3959f5b0e31db988086dd1b476 /channels | |
parent | c87d1f630965f95fd64f1327a912dd32c9734a46 (diff) |
Never destroy channel when there is an owner
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3484 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 1f3dcec8d..d780bf631 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -7535,7 +7535,7 @@ restartsearch: } } } - if (sip->needdestroy && !sip->packets) { + if (sip->needdestroy && !sip->packets && !sip->owner) { ast_mutex_unlock(&sip->lock); __sip_destroy(sip, 1); goto restartsearch; |