projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b283a02
)
If we don't accept a SUBSCRIBE, set needdestroy
author
Mark Spencer
<markster@digium.com>
Mon, 28 Jun 2004 21:37:25 +0000
(21:37 +0000)
committer
Mark Spencer
<markster@digium.com>
Mon, 28 Jun 2004 21:37:25 +0000
(21:37 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3333
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
5ea41e6
..
3f8cf4f
100755
(executable)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-7022,8
+7022,10
@@
static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
}
if (found)
transmit_response(p, "200 OK", req);
- else
+ else {
transmit_response(p, "403 Forbidden", req);
+ p->needdestroy = 1;
+ }
} else
p->subscribed = 1;