[svn-commits] russell: branch 1.4 r63608 -
/branches/1.4/main/channel.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Wed May 9 09:43:50 MST 2007
Author: russell
Date: Wed May 9 11:43:50 2007
New Revision: 63608
URL: http://svn.digium.com/view/asterisk?view=rev&rev=63608
Log:
Only call ast_senddigit_begin() in ast_senddigit() if the channel has a
send_digit_begin() callback. Checking the END_DTMF_ONLY flag was the
wrong thing to do, because that flag indicates that a *bridged* channel
only wants DTMF END events coming from this channel.
Modified:
branches/1.4/main/channel.c
Modified: branches/1.4/main/channel.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/channel.c?view=diff&rev=63608&r1=63607&r2=63608
==============================================================================
--- branches/1.4/main/channel.c (original)
+++ branches/1.4/main/channel.c Wed May 9 11:43:50 2007
@@ -2654,7 +2654,7 @@
int ast_senddigit(struct ast_channel *chan, char digit)
{
- if (!ast_test_flag(chan, AST_FLAG_END_DTMF_ONLY)) {
+ if (chan->tech->send_digit_begin) {
ast_senddigit_begin(chan, digit);
ast_safe_sleep(chan, 100); /* XXX 100ms ... probably should be configurable */
}
More information about the svn-commits
mailing list