[Asterisk-cvs] asterisk/channels chan_sip.c,1.207,1.208

markster at lists.digium.com markster at lists.digium.com
Mon Nov 10 10:51:57 CST 2003


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv14992/channels

Modified Files:
	chan_sip.c 
Log Message:
If somehow we don't have an answer, set need destroy on CANCEL


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.207
retrieving revision 1.208
diff -u -d -r1.207 -r1.208
--- chan_sip.c	10 Nov 2003 04:22:33 -0000	1.207
+++ chan_sip.c	10 Nov 2003 17:18:09 -0000	1.208
@@ -5111,6 +5111,8 @@
 		}
 		if (p->owner)
 			ast_queue_hangup(p->owner, 0);
+		else
+			p->needdestroy = 1;
 		transmit_response(p, "200 OK", req);
 		transmit_response_reliable(p, "487 Request Terminated", &p->initreq);
 	} else if (!strcasecmp(cmd, "BYE")) {




More information about the svn-commits mailing list