bridge core: Add owed T.38 terminate when channel leaves a bridge.

The channel is now going to get T.38 terminated when it leaves the
bridging system and the bridged peers are going to get T.38 terminated as
well.

ASTERISK-25582

Change-Id: I77a9205979910210e3068e1ddff400dbf35c4ca7
This commit is contained in:
Richard Mudgett
2016-02-22 13:54:47 -06:00
parent 0e296563d7
commit c7d45b84f9
3 changed files with 72 additions and 0 deletions

View File

@@ -162,6 +162,8 @@ struct ast_bridge_channel {
struct timeval dtmf_tv;
/*! Digit currently sending into the bridge. (zero if not sending) */
char dtmf_digit;
/*! Non-zero if a T.38 session terminate is owed to the bridge. */
char t38_terminate;
} owed;
/*! DTMF hook sequence state */
struct {