Member
Last active 10 years ago
Ive gone through all the related posts I could find, but haven't seen anything that addresses my issue.
I'm building an Elastix 2.4 server and have installed FOP2 demo through the Elastix Add-Ons module. It took a little head scratching, but I think everything is up and working, except the phonebook, whichs drops down as a blank window.
I read a post where the person was asked if the phonebook works if accessed directly from a browser. I tried it and it worked. There were no entries, which, according to the documentation, should automatically be created. I was able to add entries.
After adding a couple of entries, there was no change in the Elastix portal. I made sure that my user has phonebook permission. I did a cat /var/log/httpd/ssl_error_log and here is the output:
[Mon Dec 30 14:53:48 2013] [error] [client 192.168.177.30] PHP Notice: Undefined index: speeddial in /var/www/html/admin/modules/phonebook/page.phonebook.php on line 123, referer: https://192.168.177.23/admin/config.php
[Mon Dec 30 14:53:48 2013] [error] [client 192.168.177.30] PHP Notice: Undefined index: speeddial in /var/www/html/admin/modules/phonebook/page.phonebook.php on line 130, referer: https://192.168.177.23/admin/config.php
[Mon Dec 30 14:53:48 2013] [error] [client 192.168.177.30] PHP Notice: Undefined variable: tabindex in /var/www/html/admin/modules/phonebook/page.phonebook.php on line 156, referer: https://192.168.177.23/admin/config.php
[Mon Dec 30 14:56:12 2013] [error] [client 192.168.177.30] PHP Notice: Undefined variable: tabindex in /var/www/html/admin/modules/miscdests/page.miscdests.php on line 128, referer: https://192.168.177.23/admin/config.php ... =phonebook
[Mon Dec 30 14:57:02 2013] [error] [client 192.168.177.30] PHP Notice: Undefined variable: tabindex in /var/www/html/admin/modules/miscdests/page.miscdests.php on line 128, referer: https://192.168.177.23/admin/config.php ... =miscdests
[Mon Dec 30 15:00:11 2013] [error] [client 192.168.177.30] script '/var/www/html/admin/phonebook.php' not found or unable to stat
[Mon Dec 30 15:00:20 2013] [error] [client 192.168.177.30] script '/var/www/html/phonebook.php' not found or unable to stat
[Mon Dec 30 15:00:28 2013] [error] [client 192.168.177.30] File does not exist: /var/www/html/phonebook
[Mon Dec 30 15:05:38 2013] [error] [client 192.168.177.30] File does not exist: /var/www/html/fop2/fop2-variablesGENERAL.txt, referer: https://192.168.177.23/fop2/fop2.html
[Mon Dec 30 15:05:46 2013] [error] [client 192.168.177.30] PHP Fatal error: Cannot pass parameter 2 by reference in /var/www/html/indexfop2.php on line 54, referer: https://192.168.177.23/fop2/fop2.html
Any one have an idea what the problem is, or more specifically, how to fix it?
I just installed fop2 on a new elastix 2.0.2 machine. I think I have everything configured right (obviously I missed something) but when I issue "/usr/local/fop2/fop2_server start" I get "can't listen on port 445".
I changed the op server port to 4444 and restarted.
Any ideas?
I'm using fop2-2.11-centos5-i386.
Hi:
I'm sure others are going to have this issue, but just in case, beware that the latest flash update causes fop2 to not load (at least not for me in ie8). It worked fine earlier in the morning. I had closed the window for a while and mindlessly updated flash when the update popup came along. Now, when I try to load fop2, the page displays an warning that "Flash Player Version 9 or newer required".
Any ideas? I think I'll try to see if I can some how download the older version.
Alright, I think I might have it. After my last post, I went back and reviewed some of the config files and found that at some point, thinking I was following directions in some tutorial or something, I changed manager_host=127.0.0.1 to manager_host=192.168.0.16 which is the asterisk server's IP address. So I changed it back and things started working.
The only strange thing was that when I issued the fop2_server restart command, I never got my cursor back.
Otherwise, it looks as if things are working now.
Thank you so much for your help!!
I deleted the group. I even deleted the user and re-created it. I went in to buttons and removed any references to the deleted group. And I still have:
[root@asterisk bobw]# /usr/local/fop2/fop2_server restart
Modification of non-creatable array value attempted, subscript -1 at script/fop2_server.pl line 1505, <CONFIG> line 5.
I'm afraid that in my trying to fix things before I posted my problem, I may have changed something I shouldn't have.
For instance, in fop2.cfg, should I have buttonfile=buttons.cfg commented out? I've tried both ways.
I don't seem to know how to do that. :oops:
I even tried deleting the ENUM trunk and restarting Asterisk, but when I run /usr/local/fop2/autoconfig-buttons-freepbx.sh, it's still there. I looked at the various config files in /usr/local/fop2. What am I missing?
I very much appreciate the help.
I'm not sure if there's a log file I'm missing, but there doesn't appear to be any kind of error, or I don't see it. Here's what I have:
[root@asterisk fop2]# /usr/local/fop2/fop2_server
Modification of non-creatable array value attempted, subscript -1 at script/fop2_server.pl line 1505, <CONFIG> line 5.
[root@asterisk fop2]# /usr/local/fop2/autoconfig-users-freepbx.sh
group=Office:ZAP/1,ZAP/2,SIP/500,SIP/503,CONFERENCE/8000,SIP/callcentric,ZAP/15,ENUM/,PARK/default
user=500:123:all:Office
buttonfile=autobuttons.cfg
[root@asterisk fop2]# /usr/local/fop2/autoconfig-buttons-freepbx.sh
[CONFERENCE/8000]
type=conference
extension=8000
label=general
context=from-internal
queuecontext=from-queue
extenvoicemail=*
[ZAP/1]
type=extension
extension=400
label=Bobs Desk
context=from-internal
queuecontext=from-queue
extenvoicemail=*
privacy=none
group=Office
[ZAP/2]
type=extension
extension=401
label=Smurf
context=from-internal
queuecontext=from-queue
extenvoicemail=*
privacy=none
group=Office
[ZAP/7]
type=extension
extension=409
label=Spirit-Horse-Ext
context=from-internal
queuecontext=from-queue
extenvoicemail=*
privacy=none
[ZAP/8]
type=extension
extension=410
label=House Phone
context=from-internal
queuecontext=from-queue
extenvoicemail=*
privacy=none
[IAX2/499]
type=extension
extension=499
label=Wolcott Electric Fax
context=from-internal
queuecontext=from-queue
extenvoicemail=*
privacy=none
[SIP/500]
type=extension
extension=500
label=Snom-1
mailbox=500@default
context=from-internal
queuecontext=from-queue
extenvoicemail=*500@default
privacy=none
group=Office
[SIP/501]
type=extension
extension=501
label=Bobs Laptop
context=from-internal
queuecontext=from-queue
extenvoicemail=*
privacy=none
[SIP/502]
type=extension
extension=502
label=Bobs Desktop PC
context=from-internal
queuecontext=from-queue
extenvoicemail=*
privacy=none
[SIP/503]
type=extension
extension=503
label=BobMode Cordless
context=from-internal
queuecontext=from-queue
extenvoicemail=*
privacy=none
group=Office
[SIP/504]
type=extension
extension=504
label=SmurfModeCordless
context=from-internal
queuecontext=from-queue
extenvoicemail=*
privacy=none
[SIP/510]
type=extension
extension=510
label=Bobs Cell on Snom
context=from-internal
queuecontext=from-queue
extenvoicemail=*
privacy=none
[SIP/511]
type=extension
extension=511
label=Bobs Laptop for house num
context=from-internal
queuecontext=from-queue
extenvoicemail=*
privacy=none
[SIP/512]
type=extension
extension=512
label=Snom as house
context=from-internal
queuecontext=from-queue
extenvoicemail=*
privacy=none
[SIP/513]
type=extension
extension=513
label=Snom as Fax
context=from-internal
queuecontext=from-queue
extenvoicemail=*
privacy=none
[SIP/514]
type=extension
extension=514
label=Snom as Spirit Horse
context=from-internal
queuecontext=from-queue
extenvoicemail=*
privacy=none
[PARK/default]
type=park
extension=70
context=parkedcalls
queuecontext=from-queue
extenvoicemail=*
[SIP/callcentric]
type=trunk
label=SIP/callcentric
queuecontext=from-queue
extenvoicemail=*
[ZAP/15]
type=trunk
label=ZAP/15
queuecontext=from-queue
extenvoicemail=*
[ZAP/16]
type=trunk
label=ZAP/16
queuecontext=from-queue
extenvoicemail=*
[ZAP/17]
type=trunk
label=ZAP/17
queuecontext=from-queue
extenvoicemail=*
[ZAP/18]
type=trunk
label=ZAP/18
queuecontext=from-queue
extenvoicemail=*
[ENUM/]
type=trunk
label=ENUM/
queuecontext=from-queue
extenvoicemail=*
[IAX2/demo]
type=trunk
label=IAX2/demo
queuecontext=from-queue
extenvoicemail=*
[root@asterisk fop2]#
Well, I seem to have messed things up pretty good this time.
I muddled my way through installing fop2 and had it basically working (phonebook error, but I see there are instructions for that). I THINK my troubles started when I installed fop2admin. Now when I try starting fop2_server I get the following:
Modification of non-creatable array value attempted, subscript -1 at script/fop2_server.pl line 1505, <CONFIG> line 5.
I have been poking around and trying different configuration changes, but it still won't start. At this point, I have diasbled fop2admin in freepbx and I'm kind of lost here.
Any insight would be appreciated.