mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Add ISDN display ie text handling options to chan_dahdi.conf.
The display ie handling can be controlled independently in the send and receive directions with the following options: * Block display text data. * Use display text in SETUP/CONNECT messages for name. * Use display text for COLP name updates (FACILITY/NOTIFY as appropriate). * Pass arbitrary display text during a call. Sent in INFORMATION messages. Received from any message that the display text was not used as a name. If the display options are not set then the options default to legacy behavior. The arbitrary display text is exchanged between bridged channels using the AST_FRAME_TEXT frame type. To send display text from the dialplan use the SendText() application when the arbitrary display text option is enabled. JIRA SWP-2688 JIRA ABE-2693 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@306396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -412,6 +412,10 @@ struct sig_pri_span {
|
||||
char unknownprefix[20]; /*!< for unknown dialplans */
|
||||
enum sig_pri_moh_signaling moh_signaling;
|
||||
long resetinterval; /*!< Interval (in seconds) for resetting unused channels */
|
||||
#if defined(HAVE_PRI_DISPLAY_TEXT)
|
||||
unsigned long display_flags_send; /*!< PRI_DISPLAY_OPTION_xxx flags for display text sending */
|
||||
unsigned long display_flags_receive; /*!< PRI_DISPLAY_OPTION_xxx flags for display text receiving */
|
||||
#endif /* defined(HAVE_PRI_DISPLAY_TEXT) */
|
||||
#if defined(HAVE_PRI_MWI)
|
||||
/*! \brief Active MWI mailboxes */
|
||||
struct sig_pri_mbox mbox[SIG_PRI_MAX_MWI_MAILBOXES];
|
||||
@@ -576,6 +580,9 @@ int pri_maintenance_bservice(struct pri *pri, struct sig_pri_chan *p, int change
|
||||
#endif /* defined(HAVE_PRI_SERVICE_MESSAGES) */
|
||||
|
||||
void sig_pri_fixup(struct ast_channel *oldchan, struct ast_channel *newchan, struct sig_pri_chan *pchan);
|
||||
#if defined(HAVE_PRI_DISPLAY_TEXT)
|
||||
void sig_pri_sendtext(struct sig_pri_chan *pchan, const char *text);
|
||||
#endif /* defined(HAVE_PRI_DISPLAY_TEXT) */
|
||||
|
||||
int sig_pri_cc_agent_init(struct ast_cc_agent *agent, struct sig_pri_chan *pvt_chan);
|
||||
int sig_pri_cc_agent_start_offer_timer(struct ast_cc_agent *agent);
|
||||
|
Reference in New Issue
Block a user