<div dir="ltr">Hey Bote,<div><br></div><div>Thanks for adding that doc. I'm thinking maybe <a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_verto#mod_verto-Examples">https://freeswitch.org/confluence/display/FREESWITCH/mod_verto#mod_verto-Examples</a> would be a more appropriate spot for it?</div><div><br></div><div>Chad</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 28, 2016 at 3:37 PM, Bote Man <span dir="ltr"><<a href="mailto:bote_radio@botecomm.com" target="_blank">bote_radio@botecomm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I have added your template code to the wiki as an example. You can review it at<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="https://freeswitch.org/confluence/display/FREESWITCH/Event+Socket+Outbound#EventSocketOutbound-VertoLiveArray" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/Event+Socket+Outbound#EventSocketOutbound-VertoLiveArray</a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">---<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Bote<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">FreeSWITCH Docs Janitor<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="http://freeswitch.org/confluence" target="_blank"><span style="color:blue">http://freeswitch.org/confluence</span></a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> David Wafula<br><b>Sent:</b> Monday, 28 March, 2016 12:02<br><b>Subject:</b> Re: [Freeswitch-users] Verto js: how to create custom near-realtime listener to conference events<u></u><u></u></span></p></div></div><span class=""><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Thank you, Chad.<u></u><u></u></p><div><p class="MsoNormal"> <span style="font-size:9.5pt">$.verto.liveArray() just got me what i was looking for:</span><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal"><span style="font-size:9.5pt">....</span><u></u><u></u></p></div><div><div><p class="MsoNormal"><span style="font-size:9.5pt"> var la = new $.verto.liveArray(verto, data.pvtData.laChannel, data.pvtData.laName,</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"> {subParams: {callID: dialog ? dialog.callID : null}, "onChange": function (obj, args) {</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"> </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"> }});</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"> la.onChange = function (obj, args) {</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"> console.error("The change", args);</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"> };</span><u></u><u></u></p></div></div><div><p class="MsoNormal"><span style="font-size:9.5pt">....</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">Now i have raw events coming through ..just what i needed.</span><u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">Regards,</span><u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Mon, Mar 28, 2016 at 4:45 PM, Chad Phillips <<a href="mailto:chad@apartmentlines.com" target="_blank">chad@apartmentlines.com</a>> wrote:<u></u><u></u></p><div><p class="MsoNormal">David,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">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 <a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_conference#mod_conference-ConferenceProfileParameters" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/mod_conference#mod_conference-ConferenceProfileParameters</a> for those).<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">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. :)<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Chad<u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><div><div><p class="MsoNormal">On Mon, Mar 28, 2016 at 7:10 AM, David Wafula <<a href="mailto:davidwaf@gmail.com" target="_blank">davidwaf@gmail.com</a>> wrote:<u></u><u></u></p></div></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><div><div><p class="MsoNormal">Hi all,<u></u><u></u></p><div><p class="MsoNormal">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.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Regards <span style="color:#888888"><br clear="all"><u></u><u></u></span></p><div><p class="MsoNormal"><span style="color:#888888"><u></u> <u></u></span></p></div><p class="MsoNormal"><span style="color:#888888">-- </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="color:#888888"><u></u> <u></u></span></p><div><div><div><p class="MsoNormal"><span style="color:#888888">David W<u></u><u></u></span></p></div></div></div></div></div><p class="MsoNormal"><u></u> <u></u></p></div></div></blockquote></div></div></div></div></span></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>