Yes, I have used the DeadAGI function. The only problem is that the CDR
is not closed and that particular call is not written yet when that
function is called. So accessing the CDR for the latest information
results in a null.
Ian Service wrote:
http://voip-info.org/wiki/index.php?page=Asterisk+cmd+DeadAGI
DeadAGI is a variant of AGI that you use when the channel is hung up.
- Ian
On 3/4/07, John Oladehinde <[EMAIL PROTECTED]> wrote:
I am trying to access the cdr on the h extension. My agi script works
but the cdr is not written until the full extension is exited. I know
that in 1.4 this is achieved by the enabled option "endbeforehexten" in
cdr.conf. But I am using 1.2.15. Do I have to upgrade or is there a
work around? Any help would be appreciated. Thanks in advanced.
John
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
*John Oladehinde*
*Sophsolutions Group Inc*
951 Wilson Ave Unit 9
Toronto, On M3K 2A7
F: 416-242-8254
C: 416-509-7674
www.sophsolutions.com <http://www.sophsolutions.com>