apologies for the duplication
rbyerjr
Posts
-
questions on using fop2 manager -
questions on using fop2 managerHello again.
Maybe I have missed the purpose of the fop2 manager. When I review functions-custom.php I see code attempting to decipher extensions, trunks, queues, etc from asterisk conf files. I would never have expected or anticipated the fop2 manager to decipher extensions, and queues, etc from my asterisk conf files. I wrote my own php code to generate the button.cfg file(s) for this very purpose. We generate our own fop2 configuration from our asterisk conf files.I was just questioning whether the fop2 manager should be able to add/edit the button cfg files that we have already created. I was anticipating that the fop2 manager should be able to show the button objects that already exist.
Similarly, when I create a user in the fop2 manager, I am anticipating it is a fop2 user, that logs into fop2. I wouldn't anticipate have to reload asterisk for that to happen, since it has nothing to do with asterisk -- in least the way I am thinking now.
Based on your responses, I am beginning to realize that possibly the intent of the fop2 manager is not so much to manage the display objects in fop2, but to manage (i.e. create/modify/delete) the objects in asterisk ?
MAYBE what I should do is take the php script that I use to generate my own button files and fit it into the functions-custom.php.
Thanks for the tip on the plugins chmod. that is certainly easy enough. Should have thought of that myself.
-
questions on using fop2 managerHello again.
Maybe I have missed the purpose of the fop2 manager. When I review functions-custom.php I see code attempting to decipher extensions, trunks, queues, etc from asterisk conf files. I would never have expected or anticipated the fop2 manager to decipher extensions, and queues, etc from my asterisk conf files. I wrote my own php code to generate the button.cfg file(s) for this very purpose. We generate our own fop2 configuration from our asterisk conf files.I was just questioning whether the fop2 manager should be able to add/edit the button cfg files that we have already created. I was anticipating that the fop2 manager should be able to show the button objects that already exist.
Similarly, when I create a user in the fop2 manager, I am anticipating it is a fop2 user, that logs into fop2. I wouldn't anticipate have to reload asterisk for that to happen, since it has nothing to do with asterisk -- in least the way I am thinking now.
Based on your responses, I am beginning to realize that possibly the intent of the fop2 manager is not so much to manage the display objects in fop2, but to manage (i.e. create/modify/delete) the objects in asterisk ?
MAYBE what I should do is take the php script that I use to generate my own button files and fit it into the functions-custom.php.
Thanks for the tip on the plugins chmod. that is certainly easy enough. Should have thought of that myself.
-
questions on using fop2 managerWe have gotten our arms around fop2 and the chrome fop2 extension at this point. We update to 2.28 earlier this week as well.
We looked into fop2 manager a bit today and have some questions/issues.- Our environment can be best described as plain, vanilla asterisk, as there is no freePBX involved.
- In our demo environment, we have about 4 users, 10 extensions, 2 queues, 4 Ringgroups, etc setup. probably around 25 buttons. configured into the fop2 and button cfg files.
- When we go into the fop2 manager,we see traces of the users and buttons we created in the cfg files, but by no means many of them.
- If we create a user in the manager interface, we see if created, but we can't log in using that info, and it is not reflected back in our cfg files -- it is presumably resident in the mysql tables.
How do the two environments (flat cfg files and the fop2manager database) inter-relate ? Does it require a freePBX based install ?
If so, then OK, we will stop here with the manager and just focus on fop2. Otherwise, can you give us some hints as to how to diagnose the issue(s).last question for this round:
I went into plugins directory and clicked an Install button for Busy Counter. I see a fast-moving red box in the lower right that says "Error extracting plugin archive(2)" almost immediately. This occurs on any and all of them.Please advise next steps when convenient.
Thanks,
Ron -
call Pickup not workingfixed.
The problem was....
usage error on my part. :oops:
Apologiesrb
-
call Pickup not workingI was trying to be complete in my original post, but missed those 2 points:
- the FOP user in question has ALL permissions.
- There is no evidence of anything going on in the CLI, with full debug, verbose, and manager debug set. It looks like it is not doing anything. But, when I do the *8 from the phone, then the call picks up.
I will try the js console on the browser. That's a good idea
Ron
-
call Pickup not workingthe call pickup button on the FOP screen is not picking up the call.
Details:-
FOP 2.27, Asterisk 1.8, Centos x64 6.4
-
all associated extensions are in the same callgroup and pickupgroup (1)
-
inbound call to other extension ignores the Call Pickup button, but if call pickup (*8) is done on the handset, it works.
-
tried enabling & disabling no_pickupmark, and pickupchan, neither had any effect, commented them both back out.
-
When perusing the full debug logs on asterisk, I see the Pickup when it is does from the handset. I see nothing, error or otherwise, of any attempt to call Pickup from the fop2 screen. I was running manager debug as well.
Any thoughts on how to progress this ?
Thanks,
-
-
download.phpAttempting to play and download voicemails now that I have fop2 running on the right machine.
I can see a list of the vm's when I click on the envelope icons for an extension. At that point I get a screen that show Play and download icons, but neither do anything. I've read enough to recognize the issue as a likely php session issue, and when I invoke download.php directly from the browser, i get "no way".
But, before that, I'm seeing[Thu Jul 24 14:49:06 2014] [error] [client 96.56.230.76] PHP Notice: Undefined offset: 1 in /var/www/html/fop2/download.php on line 116
in my http error log, which corresponds to this line:
list ($getid,$filename2) = preg_split("/!/",$_REQUEST['file'],2);
Assuming that I've passed the following URL:
...../fop2/download.php?file=/var/spool/asterisk/default/102/INBOX/msg0000.WAVI'm seeing the entire $_REQUEST['file'] in $getid, and $filename2 is what is undefined. I've been searching far and wide for what the pattern "/!/" represents, the closest thing I've come to is a negative lookahead.
So I wrote a little test program:
$lines = file("test.out");
$foo = array( "","" );foreach ($lines as $a) {
echo "$a\n";
$foo = preg_split("/!/",$a,2);
echo "$foo[0] ... $foo[1] ..\n";
}
echo "done\n";And fed it these filenames:
/var/foo/bar/test
foo/bar/test/gooey/
/var/www/html/fop2/foo.barand it produced the same result:
/var/foo/bar/test
PHP Notice: Undefined index: 1 in /home/agiletel/test.php on line 8
/var/foo/bar/test
... ..
foo/bar/test/gooey/PHP Notice: Undefined index: 1 in /home/agiletel/test.php on line 8
foo/bar/test/gooey/
... ..
/var/www/html/fop2/foo.barPHP Notice: Undefined index: 1 in /home/agiletel/test.php on line 8
/var/www/html/fop2/foo.bardone
I'm running php 5.1.6, and there doesn't seem to be any dependence on a particular version of PHP here.
Any thoughts ? I need to get past this so I can get back to grappling with the session issue, which I think is unrelated (and not likely to be solved by this either)
Ron
-
issue with fop2 move to new serverNever mind {again}
found it.
Port 4445 in firewall rules.
Ron
-
issue with fop2 move to new server.
-
issue with fop2 move to new serverI moved the fop2 server to a new server and now get a hang "One moment please....Connecting to server 1.2.3, ad infinitum"
Things I've tried:
-
needed 64 bit build. dealt with that.
-
reinstalled the license
-
ran "fop2_server - test" succesfully. says AMI connection is good.
-
I don't think the issue is the mysql connection, but that appears ok as well.
-
Reading other forum posts, I did try multiple browsers (FF and Chrome) ... no dice
-
I disabled websockets to no avail as well.
Any other ideas I can try ?
I thought I wrote this up earlier....but I don't see it... My apologies if you've gotten it twice.
Ron
-
-
moving fop2 licensenevermind. I found the kb article on how to do this.
should have looked harder first.Ron
-
moving fop2 licenseI installed a fop2 license on a remote machine, and have decided it would be better to install it on the asterisk machine... Can you suggest how i can move the fop2 license ?
Thanks for all your help.
Ron
-
fop2 home page customizationIs there a preferred approach if we want to get a logo of ours on the home page, either along the top (to the left of the Tool icon), or along the bottom. Clearly an unbranded version would make sense to do this with. We definitely want to make it as maintainable as possible for upwards compatibilty going forward.
Thanks for any comments you might have..
-
extension parameter discussionthanks for the great info.
I figured the mailinfo issue was 100% browser... When it worked once, it must have been a different browser: I use FF and chrome interchangeably.
Being able to hook up to various IM clients (all 600 of them) would be a product in itself. Agreed that asterisk/jabber makes sense.Ron
-
extension parameter discussionI debated whether this was part of installation/configuration or usage.
Couple of questions on extension parameters and features.-
Chat feature. So I see how this works, and it is great. The only issue I see is that it isn't 100% useful unless all the phone users also use fop2 as well. A number of customers already use chat tools particularly between different offices, and I'm sure they are going to ask about using gtalk/hangouts/jabber/yahoo/trillian/skype ... you name it. I see where you have a extensible feature for sending SMS messages defined in the cfg file. is there any chance of being able to exchange IM's with gtalk etc using this ?
-
the customastb parameter... It would be great to be able to work with the CF settings in the astdb. I'm not sure i see how to do that in our environment. Our CF settings (which are CF for unconditional, CFU for unavailabie, and CFB for busy) are used like so:
CF/120=1234456
CFB/140 = 130
CFU/150 = 123456It is not clear how to use this, or at least how to do all three. can I have more than one customastb parameter ?
If not, then just having the unconditional CF is probably adequate. the other 2 are rarely used.- Another question: I have email configured on a number of extensions... when I attempt to send email occasionally I get a screen refresh, once in a while I get an external mail window to open up, and once (on my phone,actually) I can a webpage cannot be located, with mailto:<emailaddress>? in the URL bar. How should it work ?
thanks for the help... I still have some thinking to do about the presence concept and how to make that work.
Ron
-
-
basic questionYou were right. It was the former.
Thanks for straightening me out. -
basic questionrunning fop2, configured {successfully} with extensions and queues. However tools on toolbar are missing. Is this indicative of a particular issue ? astman interface appears operable, since I can see extension status changes.