Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this going to be updated with mysqli commands #23

Open
jzrlost opened this issue Feb 5, 2019 · 11 comments
Open

Is this going to be updated with mysqli commands #23

jzrlost opened this issue Feb 5, 2019 · 11 comments

Comments

@jzrlost
Copy link

jzrlost commented Feb 5, 2019

We have been using this program on the older version of the pbxinaflash and it works really good. We have now moved to using Incrediblepbx 13.13 on the raspiberry pi. When we try to use the module it loads up but the page crashes with errors about the mysql commands being outdated and need to be updated to mysqli commands. Is there any plan to update the php pages to reflect the new mysqli commands and php7?

@lgaetz
Copy link
Member

lgaetz commented Feb 5, 2019

I know of nobody that is currently maintaining this module.

@wrender
Copy link

wrender commented Feb 6, 2019

I could probably take a look at this over the next week or so. My only issue is i don't have a phone system to test on. . What is incrediblepbx?

@rewart01
Copy link

rewart01 commented Feb 6, 2019 via email

@jzrlost
Copy link
Author

jzrlost commented Feb 6, 2019 via email

@wrender
Copy link

wrender commented Feb 6, 2019

Thanks. Well I could just fire up a freepbx server on my esxi server to test. I just don't have a telephony card. I would just need someone with actual dahdi drivers/card to test it after...

@jzrlost
Copy link
Author

jzrlost commented Feb 8, 2019

Wrender or anyone else that wants to take a stab at the conversion let me know and we can get in touch with each other for access to a system here in my office. IncrediblePBX is built on asterisk and FreePBX. http://incrediblepbx.com/ We use the raspberry pi version 13.13 at the moment.

@wrender
Copy link

wrender commented Feb 8, 2019

Sure. I might have a few hours this weekend to take a look. Do you want to just private message me your email and we can go from there?

@wrender
Copy link

wrender commented Feb 16, 2019

Just an update. I've made a bit of progress. It looks like most of the issue is that the mysql statements just needed to be converted to the newer mysqli statements.

I'm stuck on one array right now trying to fix it, but my programming skills are not very good. I'm a sys admin :)

@wrender
Copy link

wrender commented Feb 16, 2019

Here is the current error:
Illegal string offset 'dahdi'

And here is the line triggering it:
if ($trunks[$trunk]['dahdi'] == true) {

@kalagera
Copy link

kalagera commented May 9, 2019

this is a version of the concurrentcalls.php that is updated for mysqli and confirmed working with FreePBX 14.0.5.2. needs to be added to the repo and re-signed

concurrentcalls.txt

@mavhc
Copy link

mavhc commented Mar 11, 2021

Just did the same conversion myself before finding this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants