asterisk/channels
Russell Bryant dcca8f345f Merged revisions 51311 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51311 | russell | 2007-01-19 11:49:38 -0600 (Fri, 19 Jan 2007) | 23 lines

Merge the changes from the /team/group/vldtmf_fixup branch.

The main bug being addressed here is a problem introduced when two SIP
channels using SIP INFO dtmf have their media directly bridged.  So, when a
DTMF END frame comes into Asterisk from an incoming INFO message, Asterisk
would try to emulate a digit of some length by first sending a DTMF BEGIN
frame and sending a DTMF END later timed off of incoming audio.  However,
since there was no audio coming in, the DTMF_END was never generated.  This
caused DTMF based features to no longer work.

To fix this, the core now knows when a channel doesn't care about DTMF BEGIN
frames (such as a SIP channel sending INFO dtmf).  If this is the case, then
Asterisk will not emulate a digit of some length, and will instead just pass
through the single DTMF END event.

Channel drivers also now get passed the length of the digit to their digit_end
callback.  This improves SIP INFO support even further by enabling us to put
the real digit duration in the INFO message instead of a hard coded 250ms.
Also, for an incoming INFO message, the duration is read from the frame and
passed into the core instead of just getting ignored.

(issue #8597, maybe others...)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 18:06:03 +00:00
..
h323 Merged revisions 44684 via svnmerge from 2006-10-07 14:48:32 +00:00
misdn Merged revisions 49313 via svnmerge from 2007-01-03 11:15:02 +00:00
DialTone.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
Makefile Merged revisions 48586 via svnmerge from 2006-12-19 21:28:43 +00:00
answer.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
chan_agent.c Merged revisions 51311 via svnmerge from 2007-01-19 18:06:03 +00:00
chan_alsa.c Merged revisions 51311 via svnmerge from 2007-01-19 18:06:03 +00:00
chan_features.c Merged revisions 51311 via svnmerge from 2007-01-19 18:06:03 +00:00
chan_gtalk.c Merged revisions 51311 via svnmerge from 2007-01-19 18:06:03 +00:00
chan_h323.c Merged revisions 51311 via svnmerge from 2007-01-19 18:06:03 +00:00
chan_iax2.c Merged revisions 51311 via svnmerge from 2007-01-19 18:06:03 +00:00
chan_jingle.c Merged revisions 51311 via svnmerge from 2007-01-19 18:06:03 +00:00
chan_local.c Merged revisions 51311 via svnmerge from 2007-01-19 18:06:03 +00:00
chan_mgcp.c Merged revisions 51311 via svnmerge from 2007-01-19 18:06:03 +00:00
chan_misdn.c Merged revisions 51311 via svnmerge from 2007-01-19 18:06:03 +00:00
chan_nbs.c A fair number of changes for the sake of bug 7506 2006-11-07 21:47:49 +00:00
chan_oss.c Merged revisions 51311 via svnmerge from 2007-01-19 18:06:03 +00:00
chan_phone.c Merged revisions 51311 via svnmerge from 2007-01-19 18:06:03 +00:00
chan_sip.c Merged revisions 51311 via svnmerge from 2007-01-19 18:06:03 +00:00
chan_skinny.c Merged revisions 51311 via svnmerge from 2007-01-19 18:06:03 +00:00
chan_vpb.cc A fair number of changes for the sake of bug 7506 2006-11-07 21:47:49 +00:00
chan_zap.c Merged revisions 51311 via svnmerge from 2007-01-19 18:06:03 +00:00
gentone-ulaw.c remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
gentone.c remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
iax2-parser.c IAX2 remote variables - Bug 7619 2007-01-16 08:38:59 +00:00
iax2-parser.h IAX2 remote variables - Bug 7619 2007-01-16 08:38:59 +00:00
iax2-provision.c Constify a bunch of usage strings for CLI commands. 2006-12-06 07:35:31 +00:00
iax2-provision.h useless 'extern' and trailing whitespace removal 2006-03-31 10:11:10 +00:00
iax2.h IAX2 remote variables - Bug 7619 2007-01-16 08:38:59 +00:00
misdn_config.c Merged revisions 49313 via svnmerge from 2007-01-03 11:15:02 +00:00
ring10.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00