[asterisk-dev] [Code Review] Support setting and receiving Reverse Charging Indication over ISDN PRI

Sean Bright sean.bright at gmail.com
Sat Jul 4 09:10:35 CDT 2009



> On 2009-07-03 17:03:59, amorsen wrote:
> > Wouldn't it be more logical to do this as a Dial option, instead of a magical phone number?

Dial(DAHDI/1/4445556666&DAHDI/2/5556667777,<timeout and options here>)

How would you specify RCI on the first channel and not the second or vice versa?


- Sean


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.digium.com/r/303/#review940
-----------------------------------------------------------


On 2009-07-01 19:26:54, Sean Bright wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.digium.com/r/303/
> -----------------------------------------------------------
> 
> (Updated 2009-07-01 19:26:54)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> This is a continuation of review 292 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, 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)}) 
> 
> 
> This addresses bug 13760.
>     https://issues.asterisk.org/view.php?id=13760
> 
> 
> Diffs
> -----
> 
>   /trunk/channels/chan_dahdi.c 204679 
>   /trunk/channels/sig_pri.h 204679 
>   /trunk/channels/sig_pri.c 204679 
>   /trunk/configs/chan_dahdi.conf.sample 204679 
>   /trunk/funcs/func_channel.c 204679 
> 
> Diff: http://reviewboard.digium.com/r/303/diff
> 
> 
> Testing
> -------
> 
> Compilation testing only.
> 
> 
> Thanks,
> 
> Sean
> 
>




More information about the asterisk-dev mailing list