[asterisk-commits] russell: branch russell/iax2-another-fix-to-the-fix r118948 - /team/russell/i...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu May 29 11:18:18 CDT 2008
Author: russell
Date: Thu May 29 11:18:18 2008
New Revision: 118948
URL: http://svn.digium.com/view/asterisk?view=rev&rev=118948
Log:
Force destination call number check for ACK only, as proposed on the -dev list:
http://lists.digium.com/pipermail/asterisk-dev/2008-May/033217.html
Modified:
team/russell/iax2-another-fix-to-the-fix/channels/chan_iax2.c
Modified: team/russell/iax2-another-fix-to-the-fix/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/team/russell/iax2-another-fix-to-the-fix/channels/chan_iax2.c?view=diff&rev=118948&r1=118947&r2=118948
==============================================================================
--- team/russell/iax2-another-fix-to-the-fix/channels/chan_iax2.c (original)
+++ team/russell/iax2-another-fix-to-the-fix/channels/chan_iax2.c Thu May 29 11:18:18 2008
@@ -6815,7 +6815,8 @@
}
if (!fr->callno)
- fr->callno = find_callno(ntohs(mh->callno) & ~IAX_FLAG_FULL, dcallno, &sin, new, 1, fd, ntohs(mh->callno) & IAX_FLAG_FULL);
+ fr->callno = find_callno(ntohs(mh->callno) & ~IAX_FLAG_FULL, dcallno, &sin, new, 1, fd,
+ (ntohs(mh->callno) & IAX_FLAG_FULL) && f.frametype == AST_FRAME_IAX && f.subclass == IAX_COMMAND_ACK);
if (fr->callno > 0)
ast_mutex_lock(&iaxsl[fr->callno]);
More information about the asterisk-commits
mailing list