On 6/15/05, Tilghman Lesher <[EMAIL PROTECTED]> wrote:
> 
> Well, uh, first of all, CALLERIDNAME is a builtin variable that cannot
> be set directly.  You need to use the v1-0 SetCIDName(Brian Roy)
> application or the CVS-HEAD Set(CALLERID(name)=Brian Roy) application.

Yes, sorry, I was quoting this off of the top of my head (to simplify
it) without looking at my code. I do set a variable and then
SetCIDName in the continuation of the dialplan.

> 
> But beyond that, you need to quote your string, so it can see the whole
> thing:
> 
> $AGI->set_variable("somevar", "\"Brian Roy\"");


That fixed it! Man, I thought I had tried this combination of \'s and
" but obviously not. Thank you for that, my underscores are a thing of
the past now.

> If we can get James' blessing, I could be persuaded to take over
> development of the Asterisk-perl modules and get some new releases
> done.
> 

I would be in favor of this! I think Asterisk::AGI is a great tool for
the Asterisk community. This allows novice programmers like myself to
jump into writing AGI's with little effort. Anything that can be done
to further the development of this project would be of great benefit
to the community. James built a great framework, but the project has
sat stagnant for a long time.

-Brian

Reply via email to