]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix Dial m and r options and forked calls generating warnings for voice frames.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 14 Mar 2012 17:24:00 +0000 (17:24 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 14 Mar 2012 17:24:00 +0000 (17:24 +0000)
commit46f24f059632ca4fec5262420671d3e7df6881f0
treef96e34912f2b6d9aa8490f01041db28b27fbf020
parentcca76a24b64c966bfb437a6035827c89e4f5fdba
Fix Dial m and r options and forked calls generating warnings for voice frames.

When connected line support was added, the wait_for_answer() variable
single changed its meaning slightly.  Unfortunately, the places where
single was used did not necessarily get updated to reflect that change.
Also audio/video frames were sent to all forked calls when the endpoints
were never made compatible.

* Don't pass audio/video media frames when the channels have not been made
compatible.

* Added handling of AST_CONTROL_SRCCHANGE to app_dial.c.

* Fixed app_dial.c passing on AST_CONTROL_HOLD because that frame can also
pass a requested MOH class.

(closes issue ASTERISK-16901)
Reported by: Chris Gentle

(closes issue ASTERISK-17541)
Reported by: clint

Review: https://reviewboard.asterisk.org/r/1805/
........

Merged revisions 359344 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@359355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_dial.c
main/channel.c