confbridge: Add support for disabling text messaging.

When in a conference bridge it may be necessary to have
text messages disabled for specific participants or for
all. This change adds a configuration option, "text_messaging",
which can be used to enable or disable this on the
user profile. By default existing behavior is preserved
as it defaults to "yes".

ASTERISK-28841

Change-Id: I30b5d9ae6f4803881d1ed9300590d405e392bc13
This commit is contained in:
Joshua C. Colp
2020-04-16 10:15:42 -03:00
committed by Friendly Automation
parent dd65a66ecb
commit 62183bc777
8 changed files with 41 additions and 1 deletions

View File

@@ -277,6 +277,8 @@ struct ast_bridge_features {
unsigned int mute:1;
/*! TRUE if DTMF should be passed into the bridge tech. */
unsigned int dtmf_passthrough:1;
/*! TRUE if text messaging is permitted. */
unsigned int text_messaging:1;
};
/*!