<?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[Context for queue members]]></title><description><![CDATA[<p dir="auto">fop2admin 1.2.11, fop2 2.26, freepbx 2.10 and asterisk 1.8.17.0</p>
<p dir="auto">When I use the fop2 to log in and out of queues it uses the context from-internal, but when I do this on the phones it uses from-queue. Presumably the latter is what I want.</p>
<p dir="auto">Looking in functions.inc.php there appears to be a bug</p>
<pre><code>$ver = getversion();
$ver = str_replace(".","",substr($ver,0,3));

if($ver&gt;25) {
    $qctx="from-queue";
} else {
    $qctx="from-internal";
}
</code></pre>
<p dir="auto">Assuming the version string comes back like 2.10 this would give<br />
2.5 -&gt; 25<br />
2.10 -&gt; 21</p>
]]></description><link>https://forum.fop2.com/topic/1304/context-for-queue-members</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 17:43:23 GMT</lastBuildDate><atom:link href="https://forum.fop2.com/topic/1304.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 23 Nov 2012 15:36:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Context for queue members on Fri, 30 Nov 2012 22:51:40 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Thanks for the report. This problem and a related one are already fixed on the next release. The related issue is inside the <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a> script</p>
<p dir="auto">The easy fix for the autoconfig scriopt is to change the line</p>
<p dir="auto">QUEUECONTEXT="from-internal"</p>
<p dir="auto">to</p>
<p dir="auto">QUEUECONTEXT="from-queue"</p>
<p dir="auto">And in functions.inc.php for fop2admin is to set substr($ver,0,4)</p>
<p dir="auto">Best regards,</p>
]]></description><link>https://forum.fop2.com/post/5805</link><guid isPermaLink="true">https://forum.fop2.com/post/5805</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 30 Nov 2012 22:51:40 GMT</pubDate></item></channel></rss>