[asterisk-commits] oej: branch 1.2 r48127 -
/branches/1.2/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Nov 30 02:05:08 MST 2006
Author: oej
Date: Thu Nov 30 03:05:07 2006
New Revision: 48127
URL: http://svn.digium.com/view/asterisk?view=rev&rev=48127
Log:
Do proper test and don't leave dialogs hanging...
Modified:
branches/1.2/channels/chan_sip.c
Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?view=diff&rev=48127&r1=48126&r2=48127
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Thu Nov 30 03:05:07 2006
@@ -11207,7 +11207,7 @@
error = 1;
}
if (error) {
- if (!p->initreq.header) /* New call */
+ if (!p->initreq.headers) /* New call */
ast_set_flag(p, SIP_NEEDDESTROY); /* Make sure we destroy this dialog */
return -1;
}
More information about the asterisk-commits
mailing list