I've never been able to reproduce these problems. I just tried again and
it worked the way you would expect.
$AGI->set_variable("TESTVAR","This is a test");
$tempvar = $AGI->get_variable("TESTVAR");
$AGI->verbose("The variable is: ($tempvar) . \n");
Output:
/home/james/projects/testagis/ani.agi|arg1|arg2: The variable is: (This
is a test) .
On another note, CALLERIDNAME is a special variable that you can't set you
have to use the apps to do that.
James
On Wed, 15 Jun 2005, Brian Roy wrote:
> Since this list has seen a brief resurgence I thought I might bring up
> an old problem that I (and others) have had. I posted this back in '04
> and didn't find any resolution so I just used a hack with underscores.
> It still annoys me to this day so I was wondering if anyone has a fix
> for it.
>
> Whenever I do something like....
>
> $AGI->set_variable('CALLERIDNAME',"Brian Roy");
>
> the channel variable only gets everything up until the space. I've
> tried different enclosure methods ()'s '''s etc, and no luck.
>
> Maybe someone (Tilghman I see you are on this list) might be willing
> to fix this in the source? I obviously don't have the skills for this,
> but I like to hack around with perl AGI's.
>