bridge features: Dial and Queue add features instead of replace them.
authorJonathan Rose <jrose@digium.com>
Mon, 5 Aug 2013 20:18:54 +0000 (20:18 +0000)
committerJonathan Rose <jrose@digium.com>
Mon, 5 Aug 2013 20:18:54 +0000 (20:18 +0000)
commit3797639e84a319671ff167306f371394ba9b629a
tree1ccc3d73d873ff5478a2d72e93520c07682cbffa
parent80c9ad102e9d42f4918a4c33a712e60c24d89507
bridge features: Dial and Queue add features instead of replace them.

Dial and Queue would previously apply a new set of features whenever
bridging. These options would be based purely on the options supplied
to the dial/queue applications. This patch changes the function those
applications use to bridge calls so that the features will be added
to the set of existing features for each channel rather than having
them override the existing features.

(closes issue ASTERISK-22209)
Reported by: Jonathan Rose
Review: https://reviewboard.asterisk.org/r/2713/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/bridge_basic.h
main/bridge_basic.c
main/features.c