[Asterisk-cvs] asterisk/channels chan_sip.c,1.428,1.429
markster at lists.digium.com
markster at lists.digium.com
Mon Jun 28 17:51:34 CDT 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv12135/channels
Modified Files:
chan_sip.c
Log Message:
If we don't accept a SUBSCRIBE, set needdestroy
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.428
retrieving revision 1.429
diff -u -d -r1.428 -r1.429
--- chan_sip.c 26 Jun 2004 21:17:12 -0000 1.428
+++ chan_sip.c 28 Jun 2004 21:37:25 -0000 1.429
@@ -7022,8 +7022,10 @@
}
if (found)
transmit_response(p, "200 OK", req);
- else
+ else {
transmit_response(p, "403 Forbidden", req);
+ p->needdestroy = 1;
+ }
} else
p->subscribed = 1;
More information about the svn-commits
mailing list