gmaruzz / saraphone

SaraPhone is an open source SIP WebRTC phone, complete with HotDesking, Redial, BLFs, MWI, DND, PhoneBook, Hold, Mute, Notifications. SaraPhone is fully integrated with FusionPBX. Based on SIP.js, SaraPhone works with all WebRTC compliant servers: FreeSWITCH, Asterisk, OpenSIPS, Kamailio, etc. SaraPhone gets its name from Giovanni's wife, Sara.
Mozilla Public License 2.0
157 stars 73 forks source link

FusionPBX 5.1 PHP8 Saraphone Not Work #38

Closed leandrodes closed 6 months ago

leandrodes commented 12 months ago

I iam try use saraphone in my fusionpbx 5.1 and not work, when i try use in my older instance the fusionpbx 4.X its work.

Now i tested in other instance that use FusionPBX 5.1 but use PHP 7.4 and its OK, i try new installations in Debian 12 that use PHP 8.1 by default and not work, its possible any change to work with PHP 8 in Saraphone?

When i try use saraphone with PHP 8 i receive only screen to select device but not is possivel select or change any configuration.

gmaruzz commented 12 months ago

patch accepted :)

ardavanhashemzadeh commented 9 months ago

replacing every occurrence of _mac_ with _ in saraphone.php fixed it for me (its not a php issue, the database column name change is what broke it).

ardavanhashemzadeh commented 9 months ago

Here's the patch, tested working on FusionPBX 5.2: https://github.com/gmaruzz/saraphone/pull/39

sjacobflaherty commented 6 months ago

@gmaruzz can you please add @ardavanhashemzadeh's commit? Issue is documented, easily reproducible, and breaks functionality when not fixed.

gmaruzz commented 6 months ago

merged fix