diff options
author | Richard Mudgett <rmudgett@digium.com> | 2012-03-13 21:18:31 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2012-03-13 21:18:31 +0000 |
commit | a22b56235ba019d83260aac47121e5aa155de6ee (patch) | |
tree | 6663f978f3557b820c67141b6f65fe00c1fec278 /channels/sig_pri.h | |
parent | cb94c35a8524323b52a3c66eff4d15f72778a7d7 (diff) |
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
Diffstat (limited to 'channels/sig_pri.h')
-rw-r--r-- | channels/sig_pri.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/channels/sig_pri.h b/channels/sig_pri.h index 8123f6bf8..3317c7ef5 100644 --- a/channels/sig_pri.h +++ b/channels/sig_pri.h @@ -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 */ |