[asterisk-commits] russell: trunk r94798 - in /trunk: ./ main/autoservice.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Dec 26 12:47:53 CST 2007
Author: russell
Date: Wed Dec 26 12:47:52 2007
New Revision: 94798
URL: http://svn.digium.com/view/asterisk?view=rev&rev=94798
Log:
Merged revisions 94797 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r94797 | russell | 2007-12-26 12:46:39 -0600 (Wed, 26 Dec 2007) | 4 lines
When a channel is in autoservice, mark a flag on the channel that says that
we only care about the END of a digit. That way, no magic digit emulation stuff
will happen when all we're doing is queueing up END frames.
........
Modified:
trunk/ (props changed)
trunk/main/autoservice.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/main/autoservice.c
URL: http://svn.digium.com/view/asterisk/trunk/main/autoservice.c?view=diff&rev=94798&r1=94797&r2=94798
==============================================================================
--- trunk/main/autoservice.c (original)
+++ trunk/main/autoservice.c Wed Dec 26 12:47:52 2007
@@ -169,6 +169,7 @@
} else {
/* New entry created */
as->chan = chan;
+ ast_set_flag(chan, AST_FLAG_END_DTMF_ONLY);
as->use_count = 1;
AST_RWLIST_INSERT_HEAD(&aslist, as, list);
if (asthread == AST_PTHREADT_NULL) { /* need start the thread */
@@ -211,6 +212,7 @@
removed = 1;
if (!ast_check_hangup(chan))
res = 0;
+ ast_clear_flag(chan, AST_FLAG_END_DTMF_ONLY);
break;
}
}
More information about the asterisk-commits
mailing list