[Freeswitch-users] Passing a map to session.setVariable()

Michael Collins msc at freeswitch.org
Thu Jun 9 01:51:21 MSD 2011


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=c1c759526d1ccf7cca8afcd139751133d382d34e
and
http://fisheye.freeswitch.org/changelog/freeswitch.git/?cs=860d2a6c12cb5dc1c4e63ecc92b7610bcacf5902

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 at gmail.com> wrote:

> Well you can, but he never said he had a filename to pass...
>
>
>
> On 8 June 2011 20:12, Kris <kris at livecall.com> wrote:
>
>> Why not pass the file name?
>>
>> ----- Original Message -----
>> From: "Steven Ayre" <steveayre at gmail.com>
>> To: "FreeSWITCH Users Help" <freeswitch-users at 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 at resolvity.com> wrote:
>> >
>> >> Hi,
>> >>
>> >> In javascript, is passing a map or array to session.setVariable()
>> >> supported? Thanks.
>> >>
>> >> _______________________________________________
>> >> FreeSWITCH-users mailing list
>> >> FreeSWITCH-users at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110608/6a4a78a9/attachment.html 


More information about the FreeSWITCH-users mailing list