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
parent
3040edcb
No related branches found
No related tags found
Showing
- apps/app_dial.c 29 additions, 3 deletionsapps/app_dial.c
- include/asterisk/channel.h 67 additions, 0 deletionsinclude/asterisk/channel.h
- include/asterisk/frame.h 6 additions, 2 deletionsinclude/asterisk/frame.h
- main/channel.c 22 additions, 2 deletionsmain/channel.c
- main/features.c 7 additions, 1 deletionmain/features.c
- main/frame.c 9 additions, 0 deletionsmain/frame.c
- main/stream.c 15 additions, 2 deletionsmain/stream.c
Loading
Please register or sign in to comment