[asterisk-commits] oej: branch 1.4 r45196 - /branches/1.4/channels/chan_sip.c

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


Author: oej
Date: Mon Oct 16 08:00:07 2006
New Revision: 45196

URL: http://svn.digium.com/view/asterisk?rev=45196&view=rev
Log:
Don't destroy dialog for unexpected REFER response...

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?rev=45196&r1=45195&r2=45196&view=diff
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Mon Oct 16 08:00:07 2006
@@ -11548,10 +11548,8 @@
 	char *auth2 = "Proxy-Authorization";
 
 	/* 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