mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
Add ability for chan_dahdi ISDN to block connected line updates per span.
Added new chan_dahdi.conf colp_send option parameter to block connected line updates per span. (closes issue ASTERISK-17025) Reported by: Michael Smith git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@358997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -391,6 +391,15 @@ struct sig_pri_mbox {
|
||||
};
|
||||
#endif /* defined(HAVE_PRI_MWI) */
|
||||
|
||||
enum sig_pri_colp_signaling {
|
||||
/*! Block all connected line updates. */
|
||||
SIG_PRI_COLP_BLOCK,
|
||||
/*! Only send connected line information with the CONNECT message. */
|
||||
SIG_PRI_COLP_CONNECT,
|
||||
/*! Allow all connected line updates. */
|
||||
SIG_PRI_COLP_UPDATE,
|
||||
};
|
||||
|
||||
struct sig_pri_span {
|
||||
/* Should be set by user */
|
||||
struct ast_cc_config_params *cc_params; /*!< CC config parameters for each new call. */
|
||||
@@ -452,6 +461,8 @@ struct sig_pri_span {
|
||||
char privateprefix[20]; /*!< for private dialplans */
|
||||
char unknownprefix[20]; /*!< for unknown dialplans */
|
||||
enum sig_pri_moh_signaling moh_signaling;
|
||||
/*! Send connected line signaling to peer option. */
|
||||
enum sig_pri_colp_signaling colp_send;
|
||||
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 */
|
||||
|
Reference in New Issue
Block a user