diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-29 13:52:03 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-29 13:52:03 +0000 |
commit | a809376df83fc16b31c3e3cd827d9364b2a3b996 (patch) | |
tree | e639854793ae50c4577a81c231eb28234ec43fd3 /channels | |
parent | 30784d4f0c9d9edfc1a44235f5ea1d2d478cdfd2 (diff) |
Display invalid extension when there is one, fix minor OSP typo, Don't send 200 OK after 403 Forbidden on SUBSCRIBE
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3349 f38db490-d61c-443f-a65b-d21fe96a405b
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 d599a0d22..28b0ad9af 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -7079,7 +7079,7 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc if (!ignore && p) p->lastinvite = seqno; - if (p) { + if (p && !p->needdestroy) { if (!(p->expiry = atoi(get_header(req, "Expires")))) { transmit_response(p, "200 OK", req); p->needdestroy = 1; |