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:
b64094d
)
Destroy channels on BYE when no owner is present
author
Mark Spencer
<markster@digium.com>
Tue, 30 Sep 2003 04:57:20 +0000
(
04:57
+0000)
committer
Mark Spencer
<markster@digium.com>
Tue, 30 Sep 2003 04:57:20 +0000
(
04:57
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1584
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
feb3abf
..
38af795
100755
(executable)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-5043,6
+5043,8
@@
static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
}
} else if (p->owner)
ast_queue_hangup(p->owner, 0);
+ else
+ p->needdestroy = 1;
transmit_response(p, "200 OK", req);
} else if (!strcasecmp(cmd, "MESSAGE")) {
if (sipdebug)