Trixbox no go Won't connect to FOP
Hi I have installed the FOP2 server even after running the test I get that everything is OK but when I try to login I get can't connect. I want to buy 2 Licenses but can't do so if II can not even install it.
I am running CentOS Linux 5.3 with Trixbox latest version ruunig Asterisk 1.4.22
Please help, Thanks
I am running CentOS Linux 5.3 with Trixbox latest version ruunig Asterisk 1.4.22
Please help, Thanks
Comments
My initial feeling is that you are still running FOP1 on port 4445. So when you start FOP2 it says it launched ok, but then it will silently fail because it cannot bind to the same port. You can verify in the linux cli with:
pgrep fop2_server
if you see a number (the pid) then the server is running and my feeling was wrong. If you do not see anything, then you have to actually start fop2_server and be sure that it is running before attempting to load the web page.
There is a great guide on installing fop2 on elastix, that works much the same way on trixbox, it tells you how to change fop1 port...
View Post 19
Due to some personal issues I have very limited time to be online and provide support. Come back once in a while, you might catch me and we can work this out together.
Best regards,
pgrep fop2_server
23482
Now what ???
If the former, you might have an improper fop2.cfg , maybe colliding manual users and auto configure scripts.
If the later, you might have port 4445 blocked.
Cannot be sure about anything as there was not much detail on your description of the problem!
Best regards,
What you don't see to tell us is that we need to use our extension number and voicemail password to login.
Also the port that was blocked was not 4445 or 4446 it was 843 as soon as I opened that port it connected.
I have another question.
can I setup a user to only be able to listed to certain extenshions. For eample a supervisor can only listed to his team and not the bosses extesion.
Glad you found the problem! But I beg to differ, I did not fail on telling anything... Maybe you did not read the 1st page of the user manual: http://www.fop2.com/documentation-usermanual-0.php where it states clearly that you login with your extension and voicemail password! It is also mentioned serveral times on this very same forum AND in the guide I posted in the 1st reply.
About port 843, you can close it again. It is not used by fop. It is used by flash when it tries to retrieve a policy file, but if it fails it retrieves the policy from the server it is trying to connect... so it is actually no needed and you can keep it closed.
Finally, if you want to restrict users to certain actions, you will have to do some manual configuration as described also in the documentation (http://www.fop2.com/documentation-confi ... ermissions) because the automatic config generator grants the "all" permission to every user. You can also tweak that script, it is not *that* hard to understand. I did some modifications to retrive the fop2 permissions from the voicemail options as defined in freepbx, but it is not good/flexible enough.
One easy way to do it is to run the script by hand:
then copy & paste its output at the end of fop2.cfg and comment out the #exec line by adding a semicolon at the front... Then just modify the permissions as you see fit. Finally restart fop2.
I will write a freepbx module for managing users, permisions et all in the near future.
Best regards,
You should have a freepbx install manual like the one you sent me to http://www.elastixconnection.com/index. ... &Itemid=89
It was a lot of help. You should under the image or even in the screenshot image type in the password (Your Voice Mail Password)
As to the limitation I have done what you said already but it does not help me.
I want to be able to listed and wispier to people and want others to be able to do the same while not allowing anyone in the company to listen or record or monitor my extension. When I do a manual button file and hide my extension then I am no longer able to listen to others as my extension is no longer listed for me.
I want to only allow users to monitor and manage people in their list.
From what I can see you do not have the ability to build custom list for example I set one person login to a custom fop2 file. so they can only see the people in their list and nothing more. this will be really important for people with different sales offices.
I wil use the context as mensioned in your site, but was wondering if there could be an extension exampt list for CEO extension to be omited from the default fop2 screen
If there is a way to do this please share it with me. I have paid for a license and am fighting a different server running centos 4.2 which I will get a license for and integrate it into this fop window
When I finish the install and try to test the server I get
Can't run with DEBUGGING Perl at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 253.
BEGIN failed--compilation aborted at /tmp/par-root/cache-48626947011371500ef4ae3bad7a2f0261fb9384/inc/lib/Filter/Crypto/Decrypt.pm line 37.
Compilation failed in require at script/fop2_server.pl line 1.
BEGIN failed--compilation aborted at script/fop2_server.pl line 1.
A lot of people miss something. It is a complex program, client and server, connecting to another server (asterisk). That is why there is quite a large documentation set. And because the documentation is kind of large you can miss some important parts. Many other users did not miss it, or they missed something else. And some others were great at the point of extending the functionality, posting patches like for adding importing functionality to the phonebook, or posting dialplan snippets to set presence on FOP2 via feature codes in the dialplan. The problem you were having was indeed documented on the 1st user manual page, the FAQ, the guide and several times in the forum. I have just modified the user manual trying to make it more clear for freepbx users.
The next version (due out shortly) will have a privacy aka "CEO" option for individual buttons to prevent listen,whisper,record and hangups, and another level of privacy for hiding callerids or dialed numbers. My initial development is to have a "privacy=clid,monitor,all" to set per button. And I think that I will have to also add a "god" permission for a user so you can set a super user that will be able to override button privacy settings.
About the list of extensions to show, you can do that now using panel contexts as described in the manual. But I am also thinking on how to implement it on just one panel context. All this improvements will need a nice web gui for setting that up, and hence it will take some time.
I always point to the step by step guide for installation. There was a sticky on this forum but it seems it expired, I will look at it and get it back at the top.
You can also check the FAQ that describes the problem you had and the solution, and other similar problems and proper solutions/fixes too.
For Centos 4, you need a non debugging perl as explained in the download page, you can get a centos 4 perl from here:
http://www.fop2.com/downloads/centos4/p ... 3.i386.rpm
http://www.fop2.com/downloads/centos4/p ... 3.i386.rpm
Best regards,
Your new FOP2 is an excenlent product don't get me wrong I am not complaining, and that is why I am putting a lot of time into it.
If you need any help with a web interface skin or anything at all, I will be happy to help.
www.voipmaroc.com, www.salesrep.com is some of our sites.
Is there any way to group extension in the gui without putting them in a queue ??
Thanks
[root@voip2 src]# rpm -ivh perl-5.8.5-36.3.i386.rpm
Preparing... ########################################### [100%]
file /usr/share/man/man1/xsubpp.1.gz from install of perl-5.8.5-36.3 conflicts with file from package perl-5.8.5-49.el4
[root@voip2 src]#
so I take it its already installed ??? I am not really good a linux.
FYI this is the verion on the server
[root@voip2 src]# perl -MLWP -le "print(LWP->VERSION)"
5.79
group=mygroup in the button definition, it will be available on the next release.
Best regards,
Seems like you have a newer perl than the RPM I made. FOP2 will only run with a non debugging perl and Centos4 provides a debugging perl. You will have to recompile perl OR You can also try to force install the rpm, making actually a downgrade (just add --force to the rpm command). But that might break something else on your perl install as you have a newer version (I do not think it will break anything, but I am not responsible if it does.. anyways you can always update perl again...)
Best regards,
I checked the firewall logs and do not see any errors yes I am stuck here I rebooted the server several times and I have done this setup like I did my primary servers which is working perfectely.
Thank for the continued help.
3105
Yes it is running because when I restart the service I get ok ok
Another potential issue is if you use foreign characters in the button labels and the button file is not saved as utf8.
Best regards,
Thnak you
I am also sure that it would take me much less time to fix the issue myself by logging into your machine than the time it takes to write all of these posts! Try to catch me via the live help tomorrow... if you can give me ssh access to the machine I will be able to at least test the install and probably make it work in a few minutes.
Best regards,
I am using trhe same browser I am using to connect to the working trixbox server. I willbe happy to give you access.
I would need you IP via pm or email and I will send you the password
1) That FOP1 is not running or listening to some other port besides 4445
2) That FOP2 is started and running
You can verify the ports opened with "netstat -nta"
Starting fop2 as a service will say OK, but if it cannot bind to port 4445 because is in use by some other program it will silently fail. You can verify that by runing fop2 from the command line:
3) if you use https you might have issues with fop2 client connections. Try to use http
4) Last but not least, if you use manual configurations and use non ascii characters in button labels, you MUST save the config files as UTF8.
And I forgot! You have to login with an extension and voicemail password if you use freepbx automatic config. You can check what users are available by running autoconfig-users-freepbx.sh by hand and reading the output.
Regards,