mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +00:00
core_unreal: Fix T.38 faxing when using local channels.
After some changes to streams and topologies, receiving fax through local channels stopped working. This change adds a stream topology with a stream of type IMAGE to the local channel pair and allows fax to be received. ASTERISK-29035 #close Change-Id: Id103cc5c9295295d8e68d5628e76220f8f17e9fb
This commit is contained in:
committed by
Friendly Automation
parent
a96eb6de6c
commit
00b229c69c
@@ -98,6 +98,8 @@ struct ast_unreal_pvt {
|
||||
/*! Base name of the unreal channels. exten@context or other name. */
|
||||
char name[AST_MAX_EXTENSION + AST_MAX_CONTEXT + 2];
|
||||
struct ast_stream_topology *reqtopology; /*!< Requested stream topology */
|
||||
struct ast_stream_topology *owner_old_topology; /*!< Stored topology for owner side when we need to restore later (faxing) */
|
||||
struct ast_stream_topology *chan_old_topology; /*!< Stored topology for chan side when we need to restore later (faxing) */
|
||||
};
|
||||
|
||||
#define AST_UNREAL_IS_OUTBOUND(a, b) ((a) == (b)->chan ? 1 : 0)
|
||||
|
Reference in New Issue
Block a user