projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c87d1f6
)
Never destroy channel when there is an owner
author
Mark Spencer
<markster@digium.com>
Tue, 20 Jul 2004 15:29:09 +0000
(15:29 +0000)
committer
Mark Spencer
<markster@digium.com>
Tue, 20 Jul 2004 15:29:09 +0000
(15:29 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3484
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_sip.c
patch
|
blob
|
history
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
1f3dcec
..
d780bf6
100755
(executable)
--- 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;