|
From: Dan A. <Dan...@Ph...> - 2010-08-04 19:57:55
|
Google reports this is a known issue and seems to stem from PHP 5.3 or later
not being happy with member functions using reserved words for function
names.
I do not use the function directly, so renaming it to go_to might be enough for
testing.
Ah, I see you have also just found it as well.
Dan
From: Pawlowski, Adam [mailto:aj...@bu...]
Sent: Wednesday, August 04, 2010 12:42 PM
To: Dan Austin; web...@li...
Subject: RE: 4.0.3
If I go to line 777 it appears that phpagi.php is attempting to redefine a function called goto , which , when commented out, causes it to stop complaining, and it then starts working more than before, but spits out complaints about offset etc in conf_async .
Its running on Ubuntu, Asterisk 1.6.2.5-0ubuntu1 , with the web server on the same host as this particular Asterisk instance (attempting to do some demo) .
It looks like phpagi hasn't been updated in quite some time, so I'm going to assume that it did work before, just not sure why it is a problem now.
Adam
From: Dan Austin [mailto:Dan...@Ph...]
Sent: Wednesday, August 04, 2010 3:37 PM
To: Pawlowski, Adam; web...@li...
Subject: RE: 4.0.3
If you are not seeing the connections attempts, it is likely:
1. That the manager is not enabled
2. A host firewall is blocking communications
3. SELinux
Both 2 and 3 are highly unlikely, but possible
Dan
From: Pawlowski, Adam [mailto:aj...@bu...]
Sent: Wednesday, August 04, 2010 12:25 PM
To: Dan Austin; web...@li...
Subject: RE: 4.0.3
I've that configured. The phpagi.conf makes references to festival and other items which I haven't looked at yet, but the username/secret for the manager is correct. I can see the management user from the console:
username: MeetMe
secret: <Set>
acl: no
read perm: call,all
write perm: command,originate,all
displayconnects: yes
But the console gives no indication that it is connected. As I understand it is an external library, I was trying to locate where it is called to get some idea what may be going wrong, but, as of yet, no luck.
From: Dan Austin [mailto:Dan...@Ph...]
Sent: Wednesday, August 04, 2010 12:46 PM
To: Pawlowski, Adam; web...@li...
Subject: RE: 4.0.3 and completeness
Current Conference presents a list of conferences scheduled to be running
at the time you click it. If you select on, it talks to asterisk over the manager
API using phpagi to collect stats about the conference (current callers, how long
Then have been in the conf, if they are muted or not, etc).
Since the errors are coming from phpagi.php, which is not modified for use
with WMM, I suspect a config issue with the Asterisk manager.conf or the
install step where phpagi.conf is put in the Asterisk config directory and
edited for your setup.
Dan
From: Pawlowski, Adam [mailto:aj...@bu...]
Sent: Wednesday, August 04, 2010 9:39 AM
To: Dan Austin; web...@li...
Subject: RE: 4.0.3 and completeness
Well, based on looking at the code, I'm not really sure what is supposed to happen when I choose 'Current Conference'. I see references to editing conference parameters, etc. I'm not sure there is actually a way to get to that though.
If I select a scheduled conference, there's a search box, and further down the page under a frame is 'Extend' 'End Now' and 'Invite'. There's a lot of:
[Wed Aug 04 12:33:57 2010] [error] [client] PHP Parse error: syntax error, unexpected T_GOTO, expecting T_STRING in /var/www-ssl/web-meetme/phpagi/phpagi.php on line 777, referer: https://---/web-meetme/conf_control.php?s=1&t=0&order=&sens=¤t_page=&PHPSESSID=
That scrolls, presumably from the AJAX refresh.
The "delete conference" lists all the expired conferences.
That's as far as I've gotten, scheduling a conference works, deleting a conference deletes the row from the database.
Adam
From: Dan Austin [mailto:Dan...@Ph...]
Sent: Tuesday, August 03, 2010 5:20 PM
To: web...@li...
Cc: Pawlowski, Adam
Subject: RE: 4.0.3 and completeness
I am developing it against PHP5. I suspect you are missing one or more of the dependencies.
It would help to list what does work and what does not work and the exact error messages
that you are receiving.
Dan
From: Pawlowski, Adam [mailto:aj...@bu...]
Sent: Tuesday, August 03, 2010 1:41 PM
To: web...@li...
Subject: [Web-meetme-users] 4.0.3 and completeness
Of those who've downloaded version 4.0.3 , does it function correctly out of the box ?
There seem to be several areas where functions are not complete or have not been coded with consistent path or variable names and they don't seem to work. I 'm running on PHP5, which is not what is in the documentation, but it specifies a version of 4 or later, and it should work.
The conference monitoring/AGI does not work at all, the AGI library complains about a T_GOTO instead of a T_STRING .
I've been trying to make heads or tails of the thing and have been chopping the code into smaller, more manageable blocks because the meetme_control is rather long and complex, but I'm trying to see if I'm searching for a needle in this haystack that isn't there.
Thanks
Adam
|