diff options
author | Sean Bright <sean@malleable.com> | 2009-07-03 15:44:01 +0000 |
---|---|---|
committer | Sean Bright <sean@malleable.com> | 2009-07-03 15:44:01 +0000 |
commit | ee0cd5a32c46bdf96f7dddbc90b3677331224429 (patch) | |
tree | 2afa7a0121d1e1df081dd367171b5a5b1d08f396 /channels/sig_pri.h | |
parent | c381cf82e72779142b4863e3d49e37fb4612fe7c (diff) |
Add a configure check for Reverse Charging Indication support in LibPRI.
Also go back and wrap all of the places that use the specific reverse charge
APIs with preprocessor conditionals.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@204919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sig_pri.h')
-rw-r--r-- | channels/sig_pri.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/sig_pri.h b/channels/sig_pri.h index 10f3618ac..c7f34d056 100644 --- a/channels/sig_pri.h +++ b/channels/sig_pri.h @@ -162,7 +162,9 @@ struct sig_pri_chan { struct sig_pri_callback *calls; void *chan_pvt; ast_mutex_t service_lock; /*!< Mutex for service messages */ +#if defined(HAVE_PRI_REVERSE_CHARGE) int reverse_charging_indication; +#endif }; struct sig_pri_pri { |