AGI
===
        $res = $AGI->exec("Hangup");

        $foo = ${CDR(billsec)};
        myVerbose($foo);           #print on CLI
        $foo = ${CDR(duration)};
        myVerbose($foo);
        $foo = ${CDR(answer)};
        myVerbose($foo);
        $foo = ${CDR(start)};
        myVerbose($foo);


when exected with perl
========================
Undefined subroutine &main::CDR 


Im passing ${EXTEN} ${CALLERIDNUM} variables through extension table. agi
accepts them fine.




Original Message:
-----------------
From: Justin Tunney [EMAIL PROTECTED]
Date: Sun, 27 Aug 2006 11:41:02 -0400
To: [EMAIL PROTECTED], [email protected]
Subject: Re: [asterisk-users] CDR Function - Asterisk-1.2.10


Can you give us some more info?  Like agi debug output?

On 8/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm having problems with calling the ${CDR(billsec)} & ${CDR(duration)}
> variables in an AGI.
>
> Note that I'm using Asterisk-1.2.10 and Realtime extensions + Realtime sip
> users/peers.
>
> John
>
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to