On Thu, Sep 3, 2009 at 11:05 PM, Ahmed Munir <ahmedmunir007@gmail.com>wrote:
Hi,
I'm newbie in FS. As far as I know for setting up custom variables in FS we use this syntex in dialplan XML i.e.
<action application="set" data="ABC='value'"/>
But when I call this variable using eval application i.e.
<action application="eval" data="${ABC}"/>
the value I get from variable ABC is undefined means no values are passed to the variable.
So kindly do let me know how I can pass values in variables in FS.
Try using the info app instead of eval. Most likely this is just a case of the dialplan being parsed prior to the variable being assigned. Do this in your dialplan after you set the variable: <action application="info"/> You'll see a whole list of variables and your custom variable(s) should be shown with their values. -MC