[asterisk-dev] libpri: reverse charging

Matthew Fredrickson creslin at digium.com
Fri Nov 9 15:28:39 CST 2007

Vinícius Fontes wrote:
> Hello everyone. I apologize in advance if this is not the right place  
> to ask this.
> Here in Brazil it is a very common request from our clients to block  
> incoming collect calls. The PSTN sends me a reverse charging message  
> in the call setup, and I found this on q931.c:
>          { 1, Q931_REVERSE_CHARGE_INDIC, "Reverse Charging  
> Indication" },

> My doubt is: is there a way to detect this in the dialplan so I can do  
> a Hangup() in those calls?

It looks like we don't do anything with that IE in libpri right now.  So 
the answer to your question is no.

Matthew Fredrickson
Software/Firmware Engineer
Digium, Inc.

More information about the asterisk-dev mailing list