diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-07-02 17:46:14 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-07-02 17:46:14 +0000 |
commit | 0071975778c7b36b5c63d55df350397e63c45b3b (patch) | |
tree | 217bddbe9752bc9d7d91a1aaac0610745b5be3f3 /channels/sig_pri.h | |
parent | 63c792a4133b03e697f53e9f6aecf98776f1fae9 (diff) |
Support setting and receiving Reverse Charging Indication over ISDN PRI.
This is a continuation of revision 885 to LibPRI (Capture and expose the Reverse
Charging Indication IE on ISDN PRI) which added the ability to get/set Reverse
Charging Indication in LibPRI. This patch adds the ability to specify RCI on
the outbound leg of a PRI call from within Asterisk, by prefixing the dialed
number with a capital 'C' like:
...,Dial(DAHDI/g1/C4445556666)
And to read it off an inbound channel:
exten => s,1,Set(RCI=${CHANNEL(reversecharge)})
Thanks again to rmudgett for the thorough review.
(closes issue #13760)
Reported by: mrgabu
Review: https://reviewboard.asterisk.org/r/303/
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@204749 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/sig_pri.h')
-rw-r--r-- | channels/sig_pri.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/sig_pri.h b/channels/sig_pri.h index 80cfdd190..10f3618ac 100644 --- a/channels/sig_pri.h +++ b/channels/sig_pri.h @@ -162,6 +162,7 @@ struct sig_pri_chan { struct sig_pri_callback *calls; void *chan_pvt; ast_mutex_t service_lock; /*!< Mutex for service messages */ + int reverse_charging_indication; }; struct sig_pri_pri { |