On Thu, Sep 3, 2009 at 11:05 PM, Ahmed Munir <[email protected]>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
_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to