<div dir="ltr">Thanks, I did see this. But not what i&#39;m looking for. I still want to be able to send commands to the backend. In my case I want to broadcast a specific event to a specific channel.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 1, 2016 at 1:46 PM, Ítalo Rossi <span dir="ltr">&lt;<a href="mailto:italo@freeswitch.org" target="_blank">italo@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="http://evoluxbr.github.io/verto-docs/tut/holding-a-call.html" rel="noreferrer" target="_blank">http://evoluxbr.github.io/verto-docs/tut/holding-a-call.html</a><br>
<br>
<br>
&gt; On 1 de jun de 2016, at 13:09, stevem &lt;<a href="mailto:stevem@singlecomm.com">stevem@singlecomm.com</a>&gt; wrote:<br>
&gt;<br>
&gt; I was not able to find any documentation on this. Basically all I want to do<br>
&gt; from my frontend. Is post an event to the backend. Basically run the<br>
&gt; command: uuid_broadcast 69d58330-7f7f-4e52-bb2c-9e25d9f5238b<br>
&gt; event::Event-Name=HOLD.<br>
&gt;<br>
&gt; I&#39;m using FreeSWITCH Version 1.4.21~64bit<br>
&gt;<br>
&gt; I got the verto/webrtc working using the demo located here:<br>
&gt; <a href="https://webrtc.freeswitch.org/verto/index.html#page-main" rel="noreferrer" target="_blank">https://webrtc.freeswitch.org/verto/index.html#page-main</a><br>
&gt;<br>
&gt; I&#39;m able to connect to the dialplan and drop the caller (PSTN/ITSPs) and<br>
&gt; verto client into a conference and the audio is flowing. I just want to send<br>
&gt; a message to the backend to tell it to do things. In my example above I want<br>
&gt; to set the caller on hold.<br>
&gt;<br>
&gt; My verto connection in javascript looks like this:<br>
&gt;<br>
&gt;    $.verto.init({}, bootstrap);<br>
&gt;<br>
&gt;    function bootstrap(status) {<br>
&gt;      that.vertoHandle = new jQuery.verto({<br>
&gt;        login: userId + &#39;@&#39; + host,<br>
&gt;        passwd: password,<br>
&gt;        tag: &quot;vertoAudio&quot;,<br>
&gt;        socketUrl: &#39;wss://&#39; + host + &#39;:8082&#39;,<br>
&gt;        audioParams: {<br>
&gt;          googAutoGainControl: false,<br>
&gt;          googNoiseSuppression: false,<br>
&gt;          googHighpassFilter: false<br>
&gt;        },<br>
&gt;        iceServers: true<br>
&gt;      }, vertoCallbacks);<br>
&gt;    }<br>
&gt;<br>
&gt;    var vertoCallbacks = {<br>
&gt;      onWSLogin: onWSLogin,<br>
&gt;      onWSClose: onWSClose,<br>
&gt;      onDialogState: onDialogState<br>
&gt;    };<br>
&gt;<br>
&gt;<br>
&gt; On successful login i make a call:<br>
&gt;<br>
&gt;     that.call= that.vertoHandle.newCall({<br>
&gt;          destination_number: that.liveCall.ani,<br>
&gt;          caller_id_name: user.firstName + &#39; &#39; + user.lastName,<br>
&gt;          caller_id_number: userId,<br>
&gt;          useVideo: false,<br>
&gt;          useStereo: false,<br>
&gt;          userVariables: {}<br>
&gt;        });<br>
&gt;<br>
&gt;<br>
&gt; Thanks alot. This is my first post and I&#39;ve only been doing Freeswitch for a<br>
&gt; few months. I have alot of experience in Asterisk though. Let me know if<br>
&gt; more data is needed.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/Webrtc-Verto-jsapi-tp7596220.html" rel="noreferrer" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Webrtc-Verto-jsapi-tp7596220.html</a><br>
&gt; Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; 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>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<br>
Ítalo Rossi<br>
<a href="mailto:italo@freeswitch.org">italo@freeswitch.org</a><br>
<br>
<br>
<br>
<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></blockquote></div><br></div>