[svn-commits] tilghman: trunk r127000 - in /trunk: ./ channels/chan_iax2.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jul 1 11:52:30 CDT 2008


Author: tilghman
Date: Tue Jul  1 11:52:29 2008
New Revision: 127000

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

........
r126999 | tilghman | 2008-07-01 11:50:46 -0500 (Tue, 01 Jul 2008) | 2 lines

Suppress annoying warning by finding the remaining cases where the callno is not in the hash.

........

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

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

Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?view=diff&rev=127000&r1=126999&r2=127000
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Tue Jul  1 11:52:29 2008
@@ -1648,6 +1648,15 @@
 				pvt = NULL;
 				return res;
 			}
+		}
+
+		/* This will occur on the first response to a message that we initiated,
+		 * such as a PING. */
+		if (callno && dcallno && iaxs[dcallno] && !iaxs[dcallno]->peercallno && match(sin, callno, dcallno, iaxs[dcallno], check_dcallno)) {
+			iaxs[dcallno]->peercallno = callno;
+			res = dcallno;
+			store_by_peercallno(iaxs[dcallno]);
+			return res;
 		}
 
 		for (x = 1; !res && x < maxnontrunkcall; x++) {




More information about the svn-commits mailing list