[Asterisk-cvs] asterisk rtp.c,1.47,1.48
markster at lists.digium.com
markster at lists.digium.com
Wed Feb 18 16:51:51 CST 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv13185
Modified Files:
rtp.c
Log Message:
Fix comparision in RTP native bridge (bug #1043)
Index: rtp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- rtp.c 25 Nov 2003 21:15:28 -0000 1.47
+++ rtp.c 18 Feb 2004 21:38:46 -0000 1.48
@@ -1200,7 +1200,7 @@
codec0 = pr0->get_codec(c0);
codec1 = pr1->get_codec(c1);
/* Hey, we can't do reinvite if both parties speak diffrent codecs */
- if (codec0 != codec1) {
+ if (!(codec0 & codec1)) {
ast_log(LOG_WARNING, "codec0 = %d is not codec1 = %d, cannot native bridge.\n",codec0,codec1);
ast_mutex_unlock(&c0->lock);
ast_mutex_unlock(&c1->lock);
More information about the svn-commits
mailing list