]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Merged revisions 62218 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Fri, 27 Apr 2007 21:11:46 +0000 (21:11 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 27 Apr 2007 21:11:46 +0000 (21:11 +0000)
commitc2468b4c32f69fe117df94840e0211cfc454ec2e
tree20689a24ee6a8ec3065ca60da5068c50e37dd5da
parentfdbb94bb1921034502a946ee632142f37e7d7015
Merged revisions 62218 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62218 | russell | 2007-04-27 16:10:51 -0500 (Fri, 27 Apr 2007) | 11 lines

Fix a weird problem where when a caller talking to someone sitting behind an
agent channel sent a digit, the digit would be played to the agent for forever.
This is because chan_agent always returned -1 from its send_digit_begin and _end
callbacks.  This non-zero return value indicates to the Asterisk core that it
would like an inband DTMF generator put on the channel.  However, this is the
wrong thing to do.  It should *always* return 0, instead.  When the digit begin
and end functions are called on the proxied channel, the underlying channel
will indicate whether inband DTMF is needed or not, and the generator will be
put on that one, and not the Agent channel.
(issue #9615, #9616, reported by jiddings and BigJimmy, and fixed by me)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_agent.c