[asterisk-users] CDR Function - Asterisk-1.2.10

asterisk at teladdict.com asterisk at teladdict.com
Sun Aug 27 09:05:49 MST 2006


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 jtunney at gmail.com
Date: Sun, 27 Aug 2006 11:41:02 -0400
To: asterisk at teladdict.com, asterisk-users at lists.digium.com
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, asterisk at teladdict.com <asterisk at teladdict.com> 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/ .





More information about the asterisk-users mailing list