your Python example is missing the action, <div>conference confname memberid</div><div>^^^^ that&#39;s not a valid command<span></span></div><div><br>On Wednesday, April 20, 2016, Deepika Yadav &lt;<a href="mailto:deepikay@iiitd.ac.in">deepikay@iiitd.ac.in</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, <div><br></div><div>I want to change the speaking status of a conference member through a python script as:</div><div><br></div><div>import ESL</div><div>freeswitchcon =  ESL.ESLconnection(freeswitch_ip, freeswitch_port, freeswitch_name)<br></div><div>cmd = conferencename + member_id</div><div>freeswitchcon.api(&quot;conference&quot;, str(cmd))</div><div><br></div><div>This api doesn&#39;t doesn&#39;t fired though &quot;originate&quot; command works </div><div><br></div><div>Another option :</div><div><br></div><div>import freeswitch</div><div><br></div><div><div>new_api_obj = API()</div><div>new_api_obj.executeString(&quot;conference &quot;+conferencename+&quot; &quot;+member_id)</div></div><div><br></div><div>but this can&#39;t be called, due to module &quot;_freeswitch&quot; import error, instead need to called via the dialplan that calls the handler, doesn&#39;t looks a good way to do it</div><div><br></div><div>I am able to achieve this functionality in mod_java ESL simply using ; </div><div><br></div><div>org.freeswitch.swig.API a = new API(new JavaSession());<br></div><div>String rt = a.executeString(&quot;conference &quot;+conferencename+&quot; mute &quot;+member_id);<br></div><div><br></div><div>How can I achieve this in python?</div><div><br></div><div>Regards,</div><div>Deepika</div><div><br></div></div>
</blockquote></div>