<div dir="ltr"><div>try</div><div><div><div>        ret = api:execute(&quot;conference&quot;, &quot;list&quot;)</div><div>or</div><div><div><div>        ret = api:executeString(&quot;conference list&quot;)</div><div><b></b><i></i><u></u><sub></sub><sup></sup><strike></strike><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 19, 2016 at 9:12 AM, Mirko Brankovic <span dir="ltr">&lt;<a href="mailto:mirkobrankovic@gmail.com" target="_blank">mirkobrankovic@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr">Hi,<div><br></div><div>I&#39;m trying to set up verto vhost to execute lua scrypt on API calls.</div><div><div>api = freeswitch.API()</div></div><div><br></div><div>That is all working when I use uuid_dump or all uuid commands like this:</div><div><br></div><div><div>        ret = api:execute(&quot;uuid_dump&quot;, uuid)</div><div>        ret = api:execute(&quot;show&quot;, &quot;channels&quot;)</div><div><br></div><div>But if I try to execute conference APIs like:</div><div><div>        ret = api:execute(&quot;conference list&quot;)</div></div><div>i get invalid command response (INVALID COMMAND!)</div><div><br></div><div>Is there some security issue where I need to allow verto to access Conference API, or am I doing something wrong with this?</div><span><font color="#888888"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Regards,<div>Mirko</div></div></div></div></div>
</font></span></div></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank" rel="noreferrer">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank" rel="noreferrer">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank" rel="noreferrer">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" target="_blank" rel="noreferrer">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" rel="noreferrer">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank" rel="noreferrer">http://www.freeswitch.org</a><br></blockquote></div><br></div></div>