]> 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 17:22:46 +0000 (12:22 -0500)
commit53a3af6321d07ffca15c384cf126ac11ac7b04b4
tree12c895f406b8b3622af7387dd0fee27c3c8292eb
parentf593b1e93b19dd82b4a73c3a8419750362216b9a
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