Member
Last active 9 years ago
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.
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
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
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
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); }
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.
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();
Thanks for your help,
it works now.
best regards,
mfhsu
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.
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