diff options
author | Richard Mudgett <rmudgett@digium.com> | 2014-06-16 18:27:51 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2014-06-16 18:27:51 +0000 |
commit | 0c896d8b9b12e0eaacbe1b9d17060c59e6093d1d (patch) | |
tree | e00c8b6f34087a4243773a17d53e6193a069a3d4 /channels/chan_dahdi.h | |
parent | bd0aa4fb04afe0d91b5fac2fc697fafd644cc907 (diff) |
chan_dahdi: Adds support for major update to libss7.
* SS7 support now requires libss7 v2.0 or later. The new libss7 is not
backwards compatible.
* Added SS7 support for connected line and redirecting.
* Most SS7 CLI commands are reworked as well as new SS7 commands added.
See online CLI help.
* Added several SS7 config option parameters described in
chan_dahdi.conf.sample.
* ISUP timer support reworked and now requires explicit configuration.
See ss7.timers.sample.
Special thanks to Kaloyan Kovachev for his support and persistence in
getting the original patch by adomjan updated and ready for release.
SS7-27 #close
Reported by: adomjan
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@416416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_dahdi.h')
-rw-r--r-- | channels/chan_dahdi.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/channels/chan_dahdi.h b/channels/chan_dahdi.h index d302bd7f7..e4a689a1a 100644 --- a/channels/chan_dahdi.h +++ b/channels/chan_dahdi.h @@ -389,19 +389,27 @@ struct dahdi_pvt { unsigned int mwisendactive:1; /*! * \brief TRUE if channel is out of reset and ready - * \note Set but not used. + * \note Used by SS7. Otherwise set but not used. */ unsigned int inservice:1; /*! - * \brief TRUE if the channel is locally blocked. + * \brief Bitmask for the channel being locally blocked. * \note Applies to SS7 and MFCR2 channels. + * \note For MFCR2 only the first bit is used - TRUE if blocked + * \note For SS7 two bits are used + * \note Bit 0 - TRUE if maintenance blocked + * \note Bit 1 - TRUE if hardware blocked */ - unsigned int locallyblocked:1; + unsigned int locallyblocked:2; /*! - * \brief TRUE if the channel is remotely blocked. + * \brief Bitmask for the channel being remotely blocked. 1 maintenance, 2 blocked in hardware. * \note Applies to SS7 and MFCR2 channels. + * \note For MFCR2 only the first bit is used - TRUE if blocked + * \note For SS7 two bits are used + * \note Bit 0 - TRUE if maintenance blocked + * \note Bit 1 - TRUE if hardware blocked */ - unsigned int remotelyblocked:1; + unsigned int remotelyblocked:2; /*! * \brief TRUE if the channel alarms will be managed also as Span ones * \note Applies to all channels |