You can also create an API object and issue a uuid_dump <uuid> command and parse the results. 
-MC

On Thu, Jun 9, 2011 at 7:20 AM, Steven Ayre <steveayre@gmail.com> wrote:
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


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org