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?

Reply via email to