[asterisk-commits] oej: trunk r45204 - in /trunk: ./ channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Oct 16 06:03:03 MST 2006


Author: oej
Date: Mon Oct 16 08:03:02 2006
New Revision: 45204

URL: http://svn.digium.com/view/asterisk?rev=45204&view=rev
Log:
Importing rev 45196 from 1.4 - don't kill dialog for a bad response

Modified:
    trunk/   (props changed)
    trunk/channels/chan_sip.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=45204&r1=45203&r2=45204&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Oct 16 08:03:02 2006
@@ -11514,10 +11514,8 @@
 static void handle_response_refer(struct sip_pvt *p, int resp, char *rest, struct sip_request *req, int seqno)
 {
 	/* If no refer structure exists, then do nothing */
-	if (!p->refer) {
-		ast_set_flag(&p->flags[0], SIP_NEEDDESTROY);
+	if (!p->refer)
 		return;
-	}
 
 	switch (resp) {
 	case 202:   /* Transfer accepted */



More information about the asterisk-commits mailing list