[Asterisk-Users] Re: pickup account code in agi

Juan Cardenas jaycard at bellsouth.net
Thu Mar 11 17:25:22 MST 2004


I'm trying to pick up the account code that has been set already earlier in the dial plan inside an AGI script.

So far what I have is:

$user = $AGI ->get_variable('ACCOUNTCODE');

But it only returns  a ' 0 '??
Is there a way around this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040311/7562309f/attachment.htm


More information about the asterisk-users mailing list