[asterisk-dev] Bug with set variable from AGI?

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Tue Aug 21 08:44:03 CDT 2007


On Tuesday 21 August 2007, Niklas Larsson wrote:
> trying to make a dialplan / AGI work with trunk and 1.4. I have been
> converting all | to , and the dialplan are good and working. But in 1.4, if
> i set an variable like: IAX2/2009,,tw and then try to dial it: dial(${ds})
> - it fails with can't create channel.
>
> It seams like the converting from , to | is not done when the var is set
> via AGI.
>
> So my question is this a bug in asterisk or me?

This is all you.  The application separator in 1.4 in the '|', not the ','.
The translation for extensions.conf is done at load time, not at run time.

BTW, this is exactly the kind of confusion that led me to change the
argument separator to ',' in trunk.

-- 
Tilghman



More information about the asterisk-dev mailing list