<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[FreePBX Device and User mode problem]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">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.</p>
<p dir="auto">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.</p>
<p dir="auto">How can we fix this?</p>
]]></description><link>https://forum.fop2.com/topic/1617/freepbx-device-and-user-mode-problem</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 19:20:47 GMT</lastBuildDate><atom:link href="https://forum.fop2.com/topic/1617.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 12 Oct 2013 11:08:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FreePBX Device and User mode problem on Sat, 26 Oct 2013 03:06:26 GMT]]></title><description><![CDATA[<p dir="auto">The bug is in FREEPBX not in FOP2, It was discussed several times in the forum:</p>
<p dir="auto"><a href="http://forum.fop2.com/esotalk/index.php/1056" rel="nofollow ugc">View Post 1056</a></p>
<p dir="auto">Here is your own fix as you submited via email, for the benefit of other users bitten by that bug:</p>
<pre><code>             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-&gt;exec("UserEvent", $user_event_body);
</code></pre>
<p dir="auto">Best regards,</p>
]]></description><link>https://forum.fop2.com/post/6962</link><guid isPermaLink="true">https://forum.fop2.com/post/6962</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Sat, 26 Oct 2013 03:06:26 GMT</pubDate></item></channel></rss>