<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How can I hide Supervised Transfer icon?]]></title><description><![CDATA[<p dir="auto">Hello Sir,<br />
I have installed FOP2(version 2.2.7 with trail license) on my server (OS: CenteOS 6.2) .<br />
Due to my asterisk vsersion is 1.4.2.2, Supervised Transfer action will not action when I assign a transfer authority to my user account. and it might be strange to have an non-action icon on tool bar.<br />
So, Can you tell me how to hide Supervised Transfer icon and keep Blind Transfer icon with transfer authority ?</p>
<p dir="auto">Thanks for your help</p>
<p dir="auto">Mfhsu</p>
]]></description><link>http://localhost:4567/topic/1673/how-can-i-hide-supervised-transfer-icon</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 11:21:00 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/1673.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Dec 2013 01:13:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How can I hide Supervised Transfer icon? on Mon, 13 Jan 2014 02:00:52 GMT]]></title><description><![CDATA[<p dir="auto">Dear Sir,<br />
Sorry, for mismatch userName/Secret, it should be fop2/fop2sec.</p>
<pre><code>function reload_all()
{
	$socket = fsockopen("127.0.0.1","5038", $errno, $errstr);
	fputs($socket, "Action: Login\r\n");
	fputs($socket, "UserName: fop2\r\n");
	fputs($socket, "Secret: fop2sec\r\n\r\n");
	fputs($socket, "Action: Command\r\n");
	fputs($socket, "Command: reload\r\n\r\n");
	fputs($socket, "Action: Logoff\r\n\r\n");
	$wrets=fgets($socket,128);
	fclose($socket);
}
</code></pre>
]]></description><link>http://localhost:4567/post/7243</link><guid isPermaLink="true">http://localhost:4567/post/7243</guid><dc:creator><![CDATA[mfhsu]]></dc:creator><pubDate>Mon, 13 Jan 2014 02:00:52 GMT</pubDate></item><item><title><![CDATA[Reply to How can I hide Supervised Transfer icon? on Mon, 13 Jan 2014 01:51:50 GMT]]></title><description><![CDATA[<p dir="auto">Dear Sir,<br />
Now I can hide Icons by using remove() function. thanks a lot.But I get another icon display problem now, that need your help.<br />
When I reload all my asterisk configuration file by using "reload" command, all buttons I configured will become double immediate, for example from 5 extension buttons to 10 buttons, and so does Icons and logout button, and it will not happen if I use "sip reload" command.<br />
How can I avoid buttons and Icons become double when I exec "reload" command in AMI Mode?</p>
<pre><code>function reload_conf()
{
      $socket = fsockopen("127.0.0.1","5038", $errno, $errstr);
      fputs($socket, "Action: Login\r\n");
      fputs($socket, "UserName: fop2\r\n");
      fputs($socket, "Secret: fop2sec\r\n\r\n");
      fputs($socket, "Action: Command\r\n");
      fputs($socket, "Command: extensions reload\r\n\r\n");
      fputs($socket, "Action: Command\r\n");
      fputs($socket, "Command: sip reload\r\n\r\n");
      fputs($socket, "Action: Logoff\r\n\r\n");
      $wrets=fgets($socket,128);
      fclose($socket);
}
</code></pre>
<p dir="auto">Calling reload_conf() function will not effect buttons on FOP2 web page.</p>
<pre><code>function reload_all()
{
	$socket = fsockopen("127.0.0.1","5038", $errno, $errstr);
	fputs($socket, "Action: Login\r\n");
	fputs($socket, "UserName: test\r\n");
	fputs($socket, "Secret: test\r\n\r\n");
	fputs($socket, "Action: Command\r\n");
	fputs($socket, "Command: reload\r\n\r\n");
	fputs($socket, "Action: Logoff\r\n\r\n");
	$wrets=fgets($socket,128);
	fclose($socket);
}
</code></pre>
<p dir="auto">Calling reload_all() function will make buttons/Icons on FOP2 web page become double.</p>
]]></description><link>http://localhost:4567/post/7242</link><guid isPermaLink="true">http://localhost:4567/post/7242</guid><dc:creator><![CDATA[mfhsu]]></dc:creator><pubDate>Mon, 13 Jan 2014 01:51:50 GMT</pubDate></item><item><title><![CDATA[Reply to How can I hide Supervised Transfer icon? on Thu, 09 Jan 2014 11:15:30 GMT]]></title><description><![CDATA[<p dir="auto">try changing hide() to remove()</p>
]]></description><link>http://localhost:4567/post/7241</link><guid isPermaLink="true">http://localhost:4567/post/7241</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 09 Jan 2014 11:15:30 GMT</pubDate></item><item><title><![CDATA[Reply to How can I hide Supervised Transfer icon? on Thu, 09 Jan 2014 07:35:47 GMT]]></title><description><![CDATA[<p dir="auto">Dear Sir,<br />
After add codes below (In xxx/xxx/fop2/jcallback.js ), Icons can be hide when I login FOP2 page.<br />
But after click extension buttons on the page more than two times, The hide icons(Supervised Transfer * &amp; Transfer to MailBox) appear again.</p>
<p dir="auto">Did I miss any procedure that cause this problem ? How can I hide those two Icons forever?</p>
<p dir="auto">Thanks for your help.</p>
<pre><code>function jCallBack() {
    function reload(nro,data,slot) {
        debug("reload inside jCallBack");
    }

    function link(nro,data,slot) {
        debug("received link command from server with "+data+", button number"+nro+" in slot "+slot);
    }
    //20140109
    function zbuttons(nro,data,slot) {
        $('#action_supervisedtransfer').hide();
        $('#action_vmail').hide();
    }
    this.zbuttons = zbuttons;
    //20140109 end

    this.reload  = reload;
    this.link    = link;
}

mycallback = new jCallBack();

</code></pre>
]]></description><link>http://localhost:4567/post/7240</link><guid isPermaLink="true">http://localhost:4567/post/7240</guid><dc:creator><![CDATA[mfhsu]]></dc:creator><pubDate>Thu, 09 Jan 2014 07:35:47 GMT</pubDate></item><item><title><![CDATA[Reply to How can I hide Supervised Transfer icon? on Mon, 30 Dec 2013 05:21:57 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your help,<br />
it works now.</p>
<p dir="auto">best regards,<br />
mfhsu</p>
]]></description><link>http://localhost:4567/post/7239</link><guid isPermaLink="true">http://localhost:4567/post/7239</guid><dc:creator><![CDATA[mfhsu]]></dc:creator><pubDate>Mon, 30 Dec 2013 05:21:57 GMT</pubDate></item><item><title><![CDATA[Reply to How can I hide Supervised Transfer icon? on Fri, 27 Dec 2013 12:58:07 GMT]]></title><description><![CDATA[<p dir="auto">$('#action_vmail').hide();</p>
]]></description><link>http://localhost:4567/post/7238</link><guid isPermaLink="true">http://localhost:4567/post/7238</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 27 Dec 2013 12:58:07 GMT</pubDate></item><item><title><![CDATA[Reply to How can I hide Supervised Transfer icon? on Fri, 27 Dec 2013 03:35:16 GMT]]></title><description><![CDATA[<p dir="auto">Dear sir,<br />
I can hide the icon now, thanks for your help.<br />
By the way, if I also want to hide  "Transfer to Mailbox" button( voicemail function disable on server)<br />
what command should I use to  replace  $('#action_supervisedtransfer').hide()  ?</p>
<p dir="auto">Thanks for your helps again.</p>
]]></description><link>http://localhost:4567/post/7237</link><guid isPermaLink="true">http://localhost:4567/post/7237</guid><dc:creator><![CDATA[mfhsu]]></dc:creator><pubDate>Fri, 27 Dec 2013 03:35:16 GMT</pubDate></item><item><title><![CDATA[Reply to How can I hide Supervised Transfer icon? on Thu, 26 Dec 2013 11:59:45 GMT]]></title><description><![CDATA[<p dir="auto">You can edit /var/www/html/fop2/js/jcallback.js and add something like this</p>
<pre><code>function jCallBack() {
    function zbuttons(nro,data,slot) {
        $('#action_supervisedtransfer').hide();
    }

    this.zbuttons = zbuttons;
}

mycallback = new jCallBack();
</code></pre>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/7236</link><guid isPermaLink="true">http://localhost:4567/post/7236</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 26 Dec 2013 11:59:45 GMT</pubDate></item></channel></rss>