If you get ANI2 then you should be able to determine that it is a collect call and just do busy or congestion. In any case you can ask your provider to not allow collect calls.
On 7/12/05, Armin Schindler <[EMAIL PROTECTED]> wrote: > On Tue, 12 Jul 2005, Dhennys Pestana wrote: > > Hello, Armin! > > Flash() should issue a flash for a few milliseconds, just like flash button > > on > > some analog phones. > > As far as I know (based on Google and AsteriskBrasil.org search), it works > > only > > on ZAP channels for now. > > I found out Flash() runs smoothly on analog channels when receiving calls > > with > > FXO interfaces (like Intel537 modems). > > I'm not an ISDN expert, but if there's any way to add this feature to the > > CAPI > > level I'm pretty sure most ISDN users would love it. :) > > I know the 'flash' on analog lines, but I don't know what kind of > information must be sent on ISDN lines to 'emulate' this. > I will try to find out, but maybe someone here can help out. > > A bug-report (or feature-request) on the sourceforge site of chan_capi-cm > would be nice ;-) > > Armin > > > ----- Original Message ----- > > From: "Armin Schindler" > > To: "Dhennys Pestana" > > Cc: <[email protected]> > > Sent: Tuesday, July 12, 2005 8:48 AM > > Subject: Re: [Asterisk-Users] How to avoid collect calls on ISDN BRI trunks? > > > > > > On Tue, 12 Jul 2005, Dhennys Pestana wrote: > > > I need to block collect calls on my PBX. > > > > > [...] > > > > > > By using ZAP channels with HFC ISDN cards, it's possible to use Hangup() > > > and > > > Flash() commands, which won't do any good on CAPI channels because it will > > > hangup the call immediatelly. > > > > > [...] > > > > Yes, because Hangup() means 'disconnect'. > > > > I'm not aware of Flash() and what it is doing, but it is surely not > > implemented in chan_capi. > > If someone can tell me what Flash() is supposed to do, we can implement it > > in chan_capi-cm. > > > > Armin > > > _______________________________________________ > Asterisk-Users mailing list > [email protected] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
