]> 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:17:03 +0000 (17:17 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 14 Mar 2012 17:17:03 +0000 (17:17 +0000)
commit7141a29e1bba30da2a1f503c653894fe774c2e11
tree5731d2a5a69cb037adb566f986b9eca15a7a8eaa
parent5a87fa5de92638d0fcece2ac21b657192e42c74b
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/

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