FreePBX Device and User mode problem
-
Hello,
We have been using FOP@ for several months now. We recently moved from Elastix to FreePBX. After the migration we installed a NEW license of FOP2 and everything worked as expected.
However when we changed to "Device and User" mode, all of our automatically populated users disappeared. Also, the board now displays that all lines are active, when many phones are offline.
How can we fix this?
-
The bug is in FREEPBX not in FOP2, It was discussed several times in the forum:
Here is your own fix as you submited via email, for the benefit of other users bitten by that bug:
set_queue_hint($user, $device); if(version_compare(get_var("ASTVERSION"), "1.6.1", "ge")) { $user_event_body = "\"UserDeviceAdded|Data: {$user}\\,{$device}\""; } else if(version_compare(get_var("ASTVERSION"), "1.6.0", "ge")) { $user_event_body = "UserDeviceAdded,\"Data: {$user}\\\\,{$device}\""; } else { $user_event_body = "\"UserDeviceAdded|Data: {$user},{$device}\""; } //Added for FOP2 by Ralph Burleson on 24 Oct 2013 $user_event_body = "\"UserDeviceAdded,Data: {$user}\\\\,{$device}\""; $agi->exec("UserEvent", $user_event_body);Best regards,
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login