mfhsu

Member

Last active 9 years ago

  1. 9 years ago
    Wed Apr 29 10:02:17 2015
    mfhsu started the conversation Two questions about FOP2 License .

    Dear Sir,
    Got two questions about FOP2 License that need your help.
    The first one is, if I active license on one server(10.10.10.10), but later we have to change IP of that server( 192.168.3.123) . Will it any side effect in FOP2 license that we installed ?

    The second question is, if we installed license on one server, and some hardware issue happen on that server(Maybe Hard drive crash or broken) ? can we change a new hard driver and re-active license on same server ?

    Thanks for your response.

  2. Wed Apr 15 06:37:03 2015
    mfhsu started the conversation Fop2 License Upgrade issue.

    Dear FOP2 developers:
    Our company purchased 2 FOP2 license in 1999 and its version was fop2_server version 2.20
    NOW, the Servers(Hardware) which FOP2 installed in are going to be unstable and crashed

    we are going to install new FOP2 on the new Server and we want the FOP2 White Label(basic version2.27 $60)
    is there any business solution for us to upgrade the old license or buy new licenses with upgraded price?

    Thanks for yout reply.
    Mfhsu

  3. 10 years ago
    Fri Aug 15 01:42:08 2014

    Dear Sir,
    I got ASCII text result when I type "file extensions.cfg",
    so I first use iconv command to convert file to utf8
    such as
    #iconv -f latin1 -t utf8 extensions.cfg > extensions1.cfg
    but it still can not show correct Tranditional Chinese on the buttons

    then I recheck file type again
    #file extensions1.cfg
    extensions1.cfg: UTF-8 Unicode text, with LF, NEL line terminators

    so then use dos2unix command to convert the file
    #dos2unix extensions1.cfg
    dos2unix: converting file extensions1.cfg to UNIX format ...

    Now, I can display correct characters on the buttons and group name :D

    Thanks for your help

    mfhsu

  4. Thu Aug 14 04:09:07 2014

    Dear Sir,
    I got a problem in displaying "Tranditional Chinese" in button label , In the file /usr/local/fop2/buttons.cfg,
    when I configure a button label with english, for example, label=mfhsu, in fop panel, it will show "mfhsu" on the button.
    But when I configure label=王大明,in fop panel, it will not show correct characters on the button.

    I am using asterisk 1.4.22 and fop2-2.27-centos-i386.tgz on centOS 6.2. and I also changed the preference.js to "zh'. it only change login page but not button label.

    Sincerely hope you can help us to solve problem as soon as possible , we have bought two licenses and are going to use it in our project.

    sincerely yours,

    mfhsu

  5. Mon Jan 13 02:00:52 2014

    Dear Sir,
    Sorry, for mismatch userName/Secret, it should be fop2/fop2sec.

    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);
    }
  6. Mon Jan 13 01:51:50 2014

    Dear Sir,
    Now I can hide Icons by using remove() function. thanks a lot.But I get another icon display problem now, that need your help.
    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.
    How can I avoid buttons and Icons become double when I exec "reload" command in AMI Mode?

    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);
    }

    Calling reload_conf() function will not effect buttons on FOP2 web page.

    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);
    }

    Calling reload_all() function will make buttons/Icons on FOP2 web page become double.

  7. Thu Jan 9 07:35:47 2014

    Dear Sir,
    After add codes below (In xxx/xxx/fop2/jcallback.js ), Icons can be hide when I login FOP2 page.
    But after click extension buttons on the page more than two times, The hide icons(Supervised Transfer * & Transfer to MailBox) appear again.

    Did I miss any procedure that cause this problem ? How can I hide those two Icons forever?

    Thanks for your help.

    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();
    
  8. Mon Dec 30 05:21:57 2013

    Thanks for your help,
    it works now.

    best regards,
    mfhsu

  9. Fri Dec 27 03:35:16 2013

    Dear sir,
    I can hide the icon now, thanks for your help.
    By the way, if I also want to hide "Transfer to Mailbox" button( voicemail function disable on server)
    what command should I use to replace $('#action_supervisedtransfer').hide() ?

    Thanks for your helps again.

  10. Thu Dec 26 01:13:32 2013
    mfhsu started the conversation How can I hide Supervised Transfer icon?.

    Hello Sir,
    I have installed FOP2(version 2.2.7 with trail license) on my server (OS: CenteOS 6.2) .
    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.
    So, Can you tell me how to hide Supervised Transfer icon and keep Blind Transfer icon with transfer authority ?

    Thanks for your help

    Mfhsu