Actually Christian, it is since you have a session object in javascript and have to access the variables via the Session api.<br><br>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.<br>
<br>-Steve<br><br><br><div class="gmail_quote">On 9 June 2011 15:03, Christian Benke <span dir="ltr"><<a href="mailto:benkokakao@gmail.com">benkokakao@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 8 June 2011 20:18, Yungwei Chen <<a href="mailto:yungwei@resolvity.com">yungwei@resolvity.com</a>> wrote:<br>
> Hi,<br>
><br>
> I'm wondering if there's way to enumerate the list of variable names in a session in javascript. Thanks.<br>
<br>
</div>This is not a FreeSWITCH specific question - a javascript-focused<br>
community or a more general programming website like <a href="http://stackoverflow.com" target="_blank">stackoverflow.com</a><br>
would be suited better.<br>
<br>
Best regards,<br>
<font color="#888888">Christian<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>