FYI, in the latest and greatest version of FreeSWITCH we *do* have arrays! I haven't had a chance to document it yet, but you can check it out: http://fisheye.freeswitch.org/changelog/freeswitch.git/?cs=c1c759526d1ccf7cc... and http://fisheye.freeswitch.org/changelog/freeswitch.git/?cs=860d2a6c12cb5dc1c... In fact, if anyone knows about these and would like to help me get them wikified then please let me know. -MC On Wed, Jun 8, 2011 at 12:56 PM, Steven Ayre <steveayre@gmail.com> wrote:
Well you can, but he never said he had a filename to pass...
On 8 June 2011 20:12, Kris <kris@livecall.com> wrote:
Why not pass the file name?
----- Original Message ----- From: "Steven Ayre" <steveayre@gmail.com> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, June 08, 2011 11:01 AM Subject: Re: [Freeswitch-users] Passing a map to session.setVariable()
Variables can only store strings. You'd want to serialise the map/array to a string and storing that. What do you need to store?
-Steve
On 8 June 2011 18:43, Yungwei Chen <yungwei@resolvity.com> wrote:
Hi,
In javascript, is passing a map or array to session.setVariable() supported? Thanks.
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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