<?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[Problem in Queue Member status until poll_interval]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have a problem with exten status in a queue button on the fop2.<br />
I setup an exten like this:</p>
<pre><code>[SIP/1019]
type=extension
extension=1019
context=from-inside
label=Marcus Vinicius
mailbox=1019
extenvoicemail=*1131019@from-inside
</code></pre>
<p dir="auto">And I have a queue button like this:</p>
<pre><code>[QUEUE/pabx]
type=queue
label=PABX
extension=5000
context=from-inside
</code></pre>
<p dir="auto">When the exten 1019 use a AddQueueMember(), the name of the exten doesn’t appear in the queue Button, in real time. There is no way to know which exten was logged until “poll_interval” has reached:<br />
<em><a href="http://i283.photobucket.com/albums/kk300/americanet/problem1.png" rel="nofollow ugc">http://i283.photobucket.com/albums/kk300/americanet/problem1.png</a></em></p>
<p dir="auto">In the fop1 there is a way to know that exten was logged, in real time:</p>
<p dir="auto"><em><a href="http://i283.photobucket.com/albums/kk300/americanet/ok1.png" rel="nofollow ugc">http://i283.photobucket.com/albums/kk300/americanet/ok1.png</a></em></p>
<p dir="auto">If I restart fop2 or if “poll_interval” has reached, then everything work very well, and I can see the name of the exten logged in the queue:<br />
<em><a href="http://i283.photobucket.com/albums/kk300/americanet/ok2.png" rel="nofollow ugc">http://i283.photobucket.com/albums/kk300/americanet/ok2.png</a></em></p>
<p dir="auto">Is there a way to solve this problem?</p>
<p dir="auto">FOP 2.21</p>
<p dir="auto">When the exten loggin in the queue, I can see the debug below:</p>
<pre><code>127.0.0.1       &lt;- Event: Newexten
127.0.0.1       &lt;- Privilege: call,all
127.0.0.1       &lt;- Channel: SIP/1019-b53e6620
127.0.0.1       &lt;- Context: macro-nx-agent-dynamic-add
127.0.0.1       &lt;- Extension: s
127.0.0.1       &lt;- Priority: 5
127.0.0.1       &lt;- Application: AddQueueMember
127.0.0.1       &lt;- AppData: pabx|SIP/1019|
127.0.0.1       &lt;- Uniqueid: 1312550658.408712
127.0.0.1       &lt;- Server: 0

127.0.0.1       &lt;- Event: QueueMemberAdded
127.0.0.1       &lt;- Privilege: agent,all
127.0.0.1       &lt;- Queue: pabx
127.0.0.1       &lt;- Location: SIP/1019
127.0.0.1       &lt;- Membership: dynamic
127.0.0.1       &lt;- Penalty: 0
127.0.0.1       &lt;- CallsTaken: 0
127.0.0.1       &lt;- LastCall: 0
127.0.0.1       &lt;- Status: 2
127.0.0.1       &lt;- Paused: 0
127.0.0.1       &lt;- Server: 0
Use of uninitialized value in string ne at script/fop2_server.pl line 3391.

127.0.0.1       &lt;- Event: Newexten
127.0.0.1       &lt;- Privilege: call,all
127.0.0.1       &lt;- Channel: SIP/1019-b53e6620
127.0.0.1       &lt;- Context: macro-nx-agent-dynamic-add
127.0.0.1       &lt;- Extension: s
127.0.0.1       &lt;- Priority: 6
127.0.0.1       &lt;- Application: GotoIf
127.0.0.1       &lt;- AppData: 0?jalogado
127.0.0.1       &lt;- Uniqueid: 1312550658.408712
127.0.0.1       &lt;- Server: 0

10.10.1.166     =&gt; { 'btn': '67@GENERAL', 'cmd': 'queuemembers', 'data': 'PGRpdiBjbGFzcz0nbWVtYmVyYnVzeSBteWNsaWNrJyBpZD0ncW0hUVVFVUUvUEFCWCFTSVAvMTAxOSc+PC9kaXY+PHNwYW4+PC9zcGFuPjxiciBjbGFzcz0nY2xlYXInLz48ZGl2IGNsYXNzPSdtZW1iZXJyZWFkeSBteWNsaWNrJyBpZD0ncW0hUVVFVUUvUEFCWCFTSVAvMTAyMSc+PC9kaXY+PHNwYW4+UmFmYWVsPC9zcGFuPjxiciBjbGFzcz0nY2xlYXInLz4=', 'slot': '' }

10.10.1.166     =&gt; { 'btn': '2@GENERAL', 'cmd': 'rename', 'data': '', 'slot': '' }

127.0.0.1       &lt;- Event: Newexten
127.0.0.1       &lt;- Privilege: call,all
127.0.0.1       &lt;- Channel: SIP/1019-b53e6620
127.0.0.1       &lt;- Context: macro-nx-agent-dynamic-add
127.0.0.1       &lt;- Extension: s
127.0.0.1       &lt;- Priority: 7
127.0.0.1       &lt;- Application: GotoIf
127.0.0.1       &lt;- AppData: 1?ok
127.0.0.1       &lt;- Uniqueid: 1312550658.408712
127.0.0.1       &lt;- Server: 0

127.0.0.1       &lt;- Event: Newexten
127.0.0.1       &lt;- Privilege: call,all
127.0.0.1       &lt;- Channel: SIP/1019-b53e6620
127.0.0.1       &lt;- Context: macro-nx-agent-dynamic-add
127.0.0.1       &lt;- Extension: s
127.0.0.1       &lt;- Priority: 11
127.0.0.1       &lt;- Application: Playback
127.0.0.1       &lt;- AppData: queue/agent-loggedin
127.0.0.1       &lt;- Uniqueid: 1312550658.408712
127.0.0.1       &lt;- Server: 0
</code></pre>
<p dir="auto">tks</p>
<p dir="auto">--<br />
Marcus Vinicius</p>
]]></description><link>http://localhost:4567/topic/845/problem-in-queue-member-status-until-poll_interval</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 12:29:01 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/845.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 Aug 2011 16:18:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem in Queue Member status until poll_interval on Sat, 06 Aug 2011 00:10:13 GMT]]></title><description><![CDATA[<p dir="auto">My suggestion is to use the membername parameter to the addqueuemember directive. fop2 can track member names at runtime/event when using local channels and the extension/context of a button matches the extension@context in the local channel.</p>
<p dir="auto">Asterisk supports now the membername directive for queue members, fop2 will pick that right up with no issues and no fancy/hackish match..</p>
]]></description><link>http://localhost:4567/post/3751</link><guid isPermaLink="true">http://localhost:4567/post/3751</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Sat, 06 Aug 2011 00:10:13 GMT</pubDate></item></channel></rss>