-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[EMAIL PROTECTED] wrote:
> 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.

${CDR(xxx)} is a function, not a variable.  Are you using a library?

- --
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://freevoip.gedameurope.com (Free Asterisk Voip Community)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE8cskS6d5vy0jeVcRAkj4AJ9KPowmwU/2NkPDb6tN7Md2oQ4R4ACeKwT5
RDevNr7jS/RHV5NaO7FTbTQ=
=sMTX
-----END PGP SIGNATURE-----
_______________________________________________
--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