]> 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:39:45 +0000 (17:39 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 14 Mar 2012 17:39:45 +0000 (17:39 +0000)
commit2019a7e6b9672af4f560b5e2c087c6301beb4537
treebfabe8ab97fcb684e4214d8a7163e75139359d5d
parent6df0ae5c1fb6b780874f859e9c1be89c5ee881ac
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
........

Merged revisions 359355 from http://svn.asterisk.org/svn/asterisk/branches/10

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