[asterisk-commits] oej: branch oej/rana-dtmf-duration-1.8 r363937 - /team/oej/rana-dtmf-duration...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Apr 26 04:55:57 CDT 2012
Author: oej
Date: Thu Apr 26 04:55:52 2012
New Revision: 363937
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=363937
Log:
Backporting fixes from Terry's code in trunk that was a port of code originally found here.
Life can be like that. Back and forth, back and forth.
Modified:
team/oej/rana-dtmf-duration-1.8/main/features.c
Modified: team/oej/rana-dtmf-duration-1.8/main/features.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/rana-dtmf-duration-1.8/main/features.c?view=diff&rev=363937&r1=363936&r2=363937
==============================================================================
--- team/oej/rana-dtmf-duration-1.8/main/features.c (original)
+++ team/oej/rana-dtmf-duration-1.8/main/features.c Thu Apr 26 04:55:52 2012
@@ -4086,11 +4086,11 @@
digits to come in for features. */
ast_debug(1, "Timed out for feature!\n");
if (!ast_strlen_zero(peer_featurecode)) {
- ast_dtmf_stream(chan, peer, peer_featurecode, 0, f->len);
+ ast_dtmf_stream(chan, peer, peer_featurecode, 0, f ? f->len : 0);
memset(peer_featurecode, 0, sizeof(peer_featurecode));
}
if (!ast_strlen_zero(chan_featurecode)) {
- ast_dtmf_stream(peer, chan, chan_featurecode, 0, f->len);
+ ast_dtmf_stream(peer, chan, chan_featurecode, 0, f ? f->len : 0);
memset(chan_featurecode, 0, sizeof(chan_featurecode));
}
if (f)
More information about the asterisk-commits
mailing list