]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_dial: Flip stream direction of outgoing channel.
authorMaximilian Fridrich <m.fridrich@commend.com>
Wed, 13 Apr 2022 13:12:03 +0000 (15:12 +0200)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Tue, 26 Apr 2022 15:48:48 +0000 (10:48 -0500)
commit37829b4461dadf798611af25de0d58f55eedbfa4
tree647147523daf62a137ce4a518921fba8cdb0c6ed
parent2587e58e05bf9f56aa20c86e5a31054330b10240
app_dial: Flip stream direction of outgoing channel.

When executing dial, the topology of the incoming channel is cloned and
used for the outgoing channel. This creates issues when an incoming
stream is sendonly or recvonly as the stream state of the outgoing
channel will be the same as the stream state of the incoming channel.

Now the stream state is flipped for the outgoing stream in
dial_exec_full if the incoming stream topology is recvonly or sendonly.

ASTERISK-29655
Reported by: Michael Auracher

ASTERISK-29638
Reported by: Michael Auracher

Change-Id: I294dc834ac9a5f048b101b691669959e9df630e1
apps/app_dial.c