From 0071975778c7b36b5c63d55df350397e63c45b3b Mon Sep 17 00:00:00 2001 From: seanbright Date: Thu, 2 Jul 2009 17:46:14 +0000 Subject: 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 --- configs/chan_dahdi.conf.sample | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configs/chan_dahdi.conf.sample') diff --git a/configs/chan_dahdi.conf.sample b/configs/chan_dahdi.conf.sample index 742de81bd..676c83ec9 100644 --- a/configs/chan_dahdi.conf.sample +++ b/configs/chan_dahdi.conf.sample @@ -77,6 +77,11 @@ ;service_message_support=yes ; Enable service message support for channel. Must be set after switchtype. ; +; PRI Reverse Charging Indication: Indicate to the called party that the +; call will be reverse charged. To enable, prefix the dialed number with one +; of the following letters: +; C - Reverse Charge Indication Requested +; ; PRI Dialplan: The ISDN-level Type Of Number (TON) or numbering plan, used for ; the dialed number. For most installations, leaving this as 'unknown' (the ; default) works in the most cases. In some very unusual circumstances, you -- cgit v1.2.3