bar top left
bar top right
left curve
right curve
Welcome, Guest
Go to bottom
Post Reply
Post New Topic
Page: 1
TOPIC: FreePBX bug?
#57004
FreePBX bug? 1 Year, 6 Months ago Karma: 0
Hi all,

I have recentlly installes a elastix 1.6.7 with freePBX 2.5.2-2rc and asterisk 1.4.33.1, and i have found and error on the devstate function.

The problem is that this function on this asterisk is called device_state and not devstate. I solve this problem changeing this code:

$DEVSTATE = version_compare($version, "1.6", "ge") ? "DEVICE_STATE" : "DEVSTATE";

by:

$DEVSTATE = version_compare($version, "1.6", "le") ? "DEVICE_STATE" : "DEVSTATE";

on this files:

/var/www/html/admin/modules/findmefollow/functions.inc.php
/var/www/html/admin/modules/donotdisturb/functions.inc.php
/var/www/html/admin/modules/daynight/functions.inc.php:

Anybody knows something about that?

Thanks
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
alfil2k
Fresh Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 1
Moderators: Bob, jgutierrez