[asterisk-dev] wrong usage of AST_FLAG_END_DTMF_ONLY in ast_senddigit()?

Russell Bryant russell at digium.com
Wed May 9 09:44:46 MST 2007


Russell Bryant wrote:
> ast_senddigit() should not be checking this flag at all, and should 
> always call both the begin() and end() functions.  I'll fix this right now.

Actually, I misstated this.  Your original suggestion of only calling 
send_digit_begin() if the channel has a digit_begin() callback is the 
right thing to do.  In any case, it should be correct now.

-- 
Russell Bryant
Software Engineer
Digium, Inc.


More information about the asterisk-dev mailing list