[asterisk-commits] file: trunk r61642 - in /trunk: ./ channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Apr 13 09:35:34 MST 2007


Author: file
Date: Fri Apr 13 11:35:33 2007
New Revision: 61642

URL: http://svn.digium.com/view/asterisk?view=rev&rev=61642
Log:
Merged revisions 61641 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61641 | file | 2007-04-13 12:32:03 -0400 (Fri, 13 Apr 2007) | 2 lines

Don't assume the callid of a dialog will be set, as in some circumstances it may not. (issue #9534 reported by tecnoxarxa)

........

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?view=diff&rev=61642&r1=61641&r2=61642
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Fri Apr 13 11:35:33 2007
@@ -4721,6 +4721,8 @@
 	for (p = dialoglist; p; p = p->next) {
 		/* In pedantic, we do not want packets with bad syntax to be connected to a PVT */
 		int found = FALSE;
+		if (ast_strlen_zero(p->callid))
+			continue;
 		if (req->method == SIP_REGISTER)
 			found = (!strcmp(p->callid, callid));
 		else 



More information about the asterisk-commits mailing list