[asterisk-commits] oej: branch oej/rana-dtmf-duration-1.8 r363930 - /team/oej/rana-dtmf-duration...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Apr 26 04:37:47 CDT 2012
Author: oej
Date: Thu Apr 26 04:37:42 2012
New Revision: 363930
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=363930
Log:
Seems like our beloved IAX2 protocol ignores DTMF duration
Modified:
team/oej/rana-dtmf-duration-1.8/channels/chan_iax2.c
Modified: team/oej/rana-dtmf-duration-1.8/channels/chan_iax2.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/rana-dtmf-duration-1.8/channels/chan_iax2.c?view=diff&rev=363930&r1=363929&r2=363930
==============================================================================
--- team/oej/rana-dtmf-duration-1.8/channels/chan_iax2.c (original)
+++ team/oej/rana-dtmf-duration-1.8/channels/chan_iax2.c Thu Apr 26 04:37:42 2012
@@ -4291,11 +4291,13 @@
static int iax2_digit_continue(struct ast_channel *c, char digit, unsigned int duration)
{
+ /* We propably should find a way to send duration here. */
return send_command_locked(PTR_TO_CALLNO(c->tech_pvt), AST_FRAME_DTMF_CONTINUE, digit, 0, NULL, 0, -1);
}
static int iax2_digit_end(struct ast_channel *c, char digit, unsigned int duration)
{
+ /* We propably should find a way to send duration here. */
return send_command_locked(PTR_TO_CALLNO(c->tech_pvt), AST_FRAME_DTMF_END, digit, 0, NULL, 0, -1);
}
More information about the asterisk-commits
mailing list