Thank you, Chad. $.verto.liveArray() just got me what i was looking for: .... var la = new $.verto.liveArray(verto, data.pvtData.laChannel, data.pvtData.laName, {subParams: {callID: dialog ? dialog.callID : null}, "onChange": function (obj, args) { }}); la.onChange = function (obj, args) { console.error("The change", args); }; .... Now i have raw events coming through ..just what i needed. Regards, On Mon, Mar 28, 2016 at 4:45 PM, Chad Phillips <chad@apartmentlines.com> wrote:
David,
You need to leverage $.verto.liveArray() from the verto lib on the client side, and make sure your conference has the correct livearray flags set in conference.conf.xml (see round about https://freeswitch.org/confluence/display/FREESWITCH/mod_conference#mod_conf... for those).
Guessing this still isn't that well documented. Start there and work your way around, and I think you'll eventually get it figured out. :)
Chad
On Mon, Mar 28, 2016 at 7:10 AM, David Wafula <davidwaf@gmail.com> wrote:
Hi all, What would be the simplest way to listen to conference events in own custom js when using verto? The closest i could see was in the demo, a table updates in near-realtime with conference events, and unless am mistaken, the listening mechanism is embbeded within verto-min.js and couldn't find any documentation on how to customize this to own display needs.
Regards
--
David W
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
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
-- David W