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

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Nov 30 02:12:30 MST 2006


Author: oej
Date: Thu Nov 30 03:12:30 2006
New Revision: 48129

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48129
Log:
Clean up bad dialogs properly. Caused by GS 487 adapter without CSEQ on separate line 
in the REGISTER request. Imported from 1.2.

Modified:
    branches/1.4/   (props changed)
    branches/1.4/channels/chan_sip.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-blocked' - no diff available.

Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=48129&r1=48128&r2=48129
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Thu Nov 30 03:12:30 2006
@@ -14323,7 +14323,7 @@
 		error = 1;
 	}
 	if (error) {
-		if (!p->initreq.header)	/* New call */
+		if (!p->initreq.headers)	/* New call */
 			ast_set_flag(&p->flags[0], SIP_NEEDDESTROY);	/* Make sure we destroy this dialog */
 		return -1;
 	}



More information about the asterisk-commits mailing list