asterisk hangup cause

alco
Joined: Wed 04 of Mar, 2009

asterisk hangup cause

Posted:Wed 04 of Mar, 2009 (00:24 UTC)
Hi,

I've been trying to initiate a call and hangup before a ring is heard on the other side. I still need to capture the ISDN cause code and write it to CDR. Using the API manager (asterisk.net library) it is possible as the timeout is specified in milliseconds but the event handler doesn't react in time and the event is caught as an exception. Any other alternatives as to how this could be achieved?

Thanks,