> > How to block collect calls on ISDN trunk?
>
> You need Asterisk v1.8 or later and check the value of
> CHANNEL(reversecharge) in your dialplan.
>
> https://wiki.asterisk.org/wiki/display/AST/Function_CHANNEL
> Can you give me an example of how to use this function?
exten => 100,1,Proceeding()
same => n,GotoIf($["${CHANNEL(reversecharge)}" = "-1"]?allow:block)
same => n(allow),Dial()
same => n(block),Hangup()
Please note that CHANNEL(reversecharge) is only valid on ISDN channels.
Richard
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users