<?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 + FOP2 Adding ext to queue]]></title><description><![CDATA[<p dir="auto">Hey All,</p>
<p dir="auto">Found an issue which has a long winded explanation but in short:</p>
<p dir="auto">When adding a user to a queue using FOP2 - the user is added as a SIP user - not Local - hence things like DND are not obeyed etc.</p>
<p dir="auto">I don't think i can explain it very well but anyways here goes.</p>
<p dir="auto">When using FreePBX to define agents in a queue etc or when users login using the Feature Codes (QueueNumber* to login etc) then the extension is added to as a local path for the queue. This is done as all queue calls are routed through the local path by FreePBX for multiple reasons.</p>
<p dir="auto">When using FOP to add and agent it obey's native asterisk agent setup and adds them as a SIP extension (can bee seen in below log files). Thus when FreePBX routes the call to a queue - rather than taking the local path to the users extension - thus checking DND etc etc - it goes directly to it using SIP.</p>
<p dir="auto">I know this is not exaclty a bug persue on either end (FreePBX nor FOP2) - just thought i would mention it and see if anyone had any ideas on making the required changes to FOP2 to make it add them as Local rather than SIP.</p>
<p dir="auto">For some more detail - this popped up when Chris Lewis kept getting calls 1st - regardless of having DND enabled. I checked his call stats - and he had answered the least amount of calls as he was in paused mode in the queue for a while I assume doing other work. This wasn't the cause - as it is in round robin mode - so it will do a round robin regardless of how many calls you have taken (I assume).</p>
<p dir="auto">Logging into the asterisk CLI - I checked out the queues some more - and saw that he was showing as a SIP user - not a Local user. From reading other info prior - I knew that this would cause DND to be disobeyed - hence him getting a call all the time.</p>
<p dir="auto">SIP means a remote party - which is what FOP does as its logging you in via the webpage - hence it add the user as SIP not Local ... and causes some issues. See example below.</p>
<p dir="auto">I have submitted a forum post to the FOP forum for the developer to provide some feedback.</p>
<p dir="auto">Log Files Below.</p>
<p dir="auto">This part is all OK - and appears as it should with everyone being Local.</p>
<p dir="auto">==================================================================================================</p>
<p dir="auto">asterisk2*CLI&gt; show queue<br />
7501         has 0 calls (max 10) in 'rrmemory' strategy (11s holdtime), W:0, C:2, A:2, SL:100.0% within 60s<br />
Members:<br />
Local/570@from-queue/n (Not in use) has taken no calls yet<br />
Local/562@from-queue/n (paused) (Not in use) has taken no calls yet<br />
Local/514@from-queue/n (Not in use) has taken 1 calls (last was 1665 secs ago)<br />
Local/579@from-queue/n (Not in use) has taken 1 calls (last was 107 secs ago)<br />
Local/577@from-queue/n (In use) has taken no calls yet<br />
No Callers</p>
<p dir="auto">===================================================================================================</p>
<p dir="auto">This part shows that I have added 507 to the 7501 queue using FOP - so it appears as SIP. Thus DND was ignored and his phone rang when a call was dropped into the queue (all other agents were on the phone at the time).</p>
<p dir="auto">===================================================================================================</p>
<p dir="auto">7501         has 0 calls (max 10) in 'rrmemory' strategy (0s holdtime), W:0, C:1, A:2, SL:100.0% within 60s<br />
Members:<br />
Local/570@from-queue/n (In use) has taken no calls yet<br />
Local/562@from-queue/n (paused) (Not in use) has taken no calls yet<br />
SIP/507 (dynamic) (Not in use) has taken no calls yet<br />
Local/514@from-queue/n (Not in use) has taken 1 calls (last was 1300 secs ago)<br />
Local/579@from-queue/n (Not in use) has taken no calls yet<br />
Local/577@from-queue/n (Not in use) has taken no calls yet<br />
No Callers</p>
<p dir="auto">Regards,<br />
Ambo</p>
]]></description><link>http://localhost:4567/topic/339/freepbx-fop2-adding-ext-to-queue</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 04:44:16 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/339.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Apr 2010 04:19:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FreePBX + FOP2 Adding ext to queue on Wed, 07 Apr 2010 10:56:17 GMT]]></title><description><![CDATA[<p dir="auto">You can define whatever you like as a queue memeber using the "queuechannel" directive. It is easy to setup using the freepbx module in the fop2 buttons page. Just set the queuechannel to "Local/xxxx@yyyy/n" and it will work.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/1577</link><guid isPermaLink="true">http://localhost:4567/post/1577</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 07 Apr 2010 10:56:17 GMT</pubDate></item></channel></rss>