]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ACN: Changes specific to the core
authorGeorge Joseph <gjoseph@digium.com>
Mon, 20 Jul 2020 19:39:14 +0000 (13:39 -0600)
committerJoshua Colp <jcolp@sangoma.com>
Tue, 18 Aug 2020 10:26:24 +0000 (05:26 -0500)
commit6faf76308d80ad3d32fc7379d21b9dc920579fb6
treed37e72939118a1c2494c79eb9ac58cf88d54b7ee
parent543f9361474130504acb3ae8d948fc251fe65022
ACN: Changes specific to the core

Allow passing a topology from the called channel back to the
calling channel.

 * Added a new function ast_queue_answer() that accepts a stream
   topology and queues an ANSWER CONTROL frame with it as the
   data.  This allows the called channel to indicate its resolved
   topology.

 * Added a new virtual function to the channel tech structure
   answer_with_stream_topology() that allows the calling channel
   to receive the called channel's topology.  Added
   ast_raw_answer_with_stream_topology() that invokes that virtual
   function.

 * Modified app_dial.c and features.c to grab the topology from the
   ANSWER frame queued by the answering channel and send it to
   the calling channel with ast_raw_answer_with_stream_topology().

 * Modified frame.c to automatically cleanup the reference
   to the topology on ANSWER frames.

Added a few debugging messages to stream.c.

Change-Id: I0115d2ed68d6bae0f87e85abcf16c771bdaf992c
apps/app_dial.c
include/asterisk/channel.h
include/asterisk/frame.h
main/channel.c
main/features.c
main/frame.c
main/stream.c