[Asterisk-cvs] asterisk/channels chan_iax2.c,1.231,1.232
markster at lists.digium.com
markster at lists.digium.com
Sat Jan 8 12:47:51 CST 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv7239/channels
Modified Files:
chan_iax2.c
Log Message:
Don't native bridge when needing digits
Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.231
retrieving revision 1.232
diff -u -d -r1.231 -r1.232
--- chan_iax2.c 5 Jan 2005 23:05:49 -0000 1.231
+++ chan_iax2.c 8 Jan 2005 18:52:18 -0000 1.232
@@ -2548,7 +2548,8 @@
return -2;
}
/* check if transfered and if we really want native bridging */
- if (!transferstarted && !ast_test_flag(iaxs[callno0], IAX_NOTRANSFER) && !ast_test_flag(iaxs[callno1], IAX_NOTRANSFER)) {
+ if (!transferstarted && !ast_test_flag(iaxs[callno0], IAX_NOTRANSFER) && !ast_test_flag(iaxs[callno1], IAX_NOTRANSFER) &&
+ !(flags & (AST_BRIDGE_DTMF_CHANNEL_0 | AST_BRIDGE_DTMF_CHANNEL_1))) {
/* Try the transfer */
if (iax2_start_transfer(callno0, callno1))
ast_log(LOG_WARNING, "Unable to start the transfer\n");
More information about the svn-commits
mailing list