Actually Christian, it is since you have a session object in javascript and have to access the variables via the Session api.

The simple answer is not directly AFAIK, although I think there is an undocumented Session.getXMLCDR() function. The XML CDR contains all variables on the session, so if you parse that XML I think you'll get the full list.

-Steve


On 9 June 2011 15:03, Christian Benke <benkokakao@gmail.com> wrote:
On 8 June 2011 20:18, Yungwei Chen <yungwei@resolvity.com> wrote:
> Hi,
>
> I'm wondering if there's way to enumerate the list of variable names in a session in javascript. Thanks.

This is not a FreeSWITCH specific question - a javascript-focused
community or a more general programming website like stackoverflow.com
would be suited better.

Best regards,
Christian