<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [Asterisk-Users] queue / agent documentation</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>My configuration is with a X100P (incoming) and TDM400P w/ 2 ports (agents) and the calls will distribue just as perscribed with ringall and leastrecent. Those are the only two I have used thus far. CVS was a check out from last night.</FONT></P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Brian West [<A HREF="mailto:brian@bkw.org">mailto:brian@bkw.org</A>]</FONT>
<BR><FONT SIZE=2>Sent: Friday, August 08, 2003 03:16</FONT>
<BR><FONT SIZE=2>To: 'asterisk-users@lists.digium.com'</FONT>
<BR><FONT SIZE=2>Subject: RE: [Asterisk-Users] queue / agent documentation</FONT>
</P>
<BR>
<P><FONT SIZE=2>> And you should take a look at queues.conf for some comments detailing the</FONT>
<BR><FONT SIZE=2>> various queue distribution algorithms, ringall, roundrobin, leastrecent so</FONT>
<BR><FONT SIZE=2>> on so forth.</FONT>
</P>
<P><FONT SIZE=2>I wanna see if anyone else has seen this result?</FONT>
</P>
<P><FONT SIZE=2>All except of which do not work. The only method I can get working is</FONT>
<BR><FONT SIZE=2>ringall.</FONT>
</P>
<BR>
<BR>
<BR>
<P><FONT SIZE=2>queues.conf:</FONT>
<BR><FONT SIZE=2>[techsupport]</FONT>
<BR><FONT SIZE=2>music = default</FONT>
<BR><FONT SIZE=2>strategy = roundrobin</FONT>
<BR><FONT SIZE=2>context = demo</FONT>
<BR><FONT SIZE=2>timeout = 15</FONT>
<BR><FONT SIZE=2>retry = 15</FONT>
<BR><FONT SIZE=2>maxlen = 0</FONT>
</P>
<BR>
<P><FONT SIZE=2>extensions.conf:</FONT>
<BR><FONT SIZE=2>[agentlogin]</FONT>
<BR><FONT SIZE=2>exten => 800,1,AddQueueMember(techsupport|SIP/${CALLERIDNUM})</FONT>
<BR><FONT SIZE=2>exten => 800,2,Playback(agent-loginok)</FONT>
<BR><FONT SIZE=2>exten => 800,3,Hangup</FONT>
</P>
<P><FONT SIZE=2>exten => 801,1,RemoveQueueMember(techsupport|SIP/${CALLERIDNUM})</FONT>
<BR><FONT SIZE=2>exten => 801,2,Playback(agent-loggedoff)</FONT>
<BR><FONT SIZE=2>exten => 801,3,Hangup</FONT>
</P>
<BR>
<P><FONT SIZE=2>[callqueue]</FONT>
<BR><FONT SIZE=2>; sales</FONT>
<BR><FONT SIZE=2>exten => 900,1,Answer</FONT>
<BR><FONT SIZE=2>exten => 900,2,Queue(techsupport|TtH)</FONT>
<BR><FONT SIZE=2>exten => 900,3,WaitMusicOnHold(20)</FONT>
<BR><FONT SIZE=2>exten => 900,4,Voicemail2(u900)</FONT>
<BR><FONT SIZE=2>exten => 900,5,Playback(vm-goodbye)</FONT>
<BR><FONT SIZE=2>exten => 900,6,Hangup</FONT>
</P>
<P><FONT SIZE=2>Here is what I see when doing a roundrobin with two agents added via</FONT>
<BR><FONT SIZE=2>AddQueueMemeber: It never sends a call to agent 1234 at all... and will</FONT>
<BR><FONT SIZE=2>only ring 1236 over and over even during a call. I setup iaxclient to</FONT>
<BR><FONT SIZE=2>load the queue with 4 calls. Then setup two xten sip phones for the</FONT>
<BR><FONT SIZE=2>agents. During my testing even other routing methods deliver similar</FONT>
<BR><FONT SIZE=2>results. Bug report is open.</FONT>
</P>
<P><FONT SIZE=2><A HREF="http://bugs.digium.com/bug_view_page.php?bug_id=0000045" TARGET="_blank">http://bugs.digium.com/bug_view_page.php?bug_id=0000045</A></FONT>
</P>
<BR>
<P><FONT SIZE=2>asterisk*CLI> sip show peers</FONT>
<BR><FONT SIZE=2>Name/username Host Mask Port Status</FONT>
<BR><FONT SIZE=2>1236/1236 65.38.28.149 (D) 255.255.255.255 5060 Unmonitored</FONT>
<BR><FONT SIZE=2>1235/1235 (Unspecified) (D) 255.255.255.255 0 Unmonitored</FONT>
<BR><FONT SIZE=2>1234/1234 65.38.28.150 (D) 255.255.255.255 5060 Unmonitored</FONT>
<BR><FONT SIZE=2>asterisk*CLI> show queues</FONT>
<BR><FONT SIZE=2>techsupport has 4 calls (max unlimited) in 'roundrobin' strategy</FONT>
<BR><FONT SIZE=2>Members:</FONT>
<BR><FONT SIZE=2>SIP/1234 has taken no calls yet</FONT>
<BR><FONT SIZE=2>SIP/1236 has taken no calls yet</FONT>
<BR><FONT SIZE=2>Callers:</FONT>
<BR><FONT SIZE=2>1. IAX[brian@65.38.28.149:5036]/24 (wait: 0:18)</FONT>
<BR><FONT SIZE=2>2. IAX[brian@65.38.28.149:5036]/25 (wait: 0:17)</FONT>
<BR><FONT SIZE=2>3. IAX[brian@65.38.28.149:5036]/26 (wait: 0:16)</FONT>
<BR><FONT SIZE=2>4. IAX[brian@65.38.28.149:5036]/27 (wait: 0:14)</FONT>
</P>
<P><FONT SIZE=2>default has 0 calls (max unlimited) in 'ringall' strategy</FONT>
<BR><FONT SIZE=2>No Members</FONT>
<BR><FONT SIZE=2>No Callers</FONT>
</P>
<P><FONT SIZE=2>-- Called 1236</FONT>
<BR><FONT SIZE=2>-- SIP/1236-7fc3 is ringing</FONT>
<BR><FONT SIZE=2>-- Nobody picked up in 15000 ms</FONT>
<BR><FONT SIZE=2>-- Called 1236</FONT>
<BR><FONT SIZE=2>-- SIP/1236-df37 is ringing</FONT>
<BR><FONT SIZE=2>-- Nobody picked up in 15000 ms</FONT>
<BR><FONT SIZE=2>-- Called 1236</FONT>
<BR><FONT SIZE=2>-- SIP/1236-c56b is ringing</FONT>
<BR><FONT SIZE=2>-- Nobody picked up in 15000 ms</FONT>
<BR><FONT SIZE=2>-- Called 1236</FONT>
<BR><FONT SIZE=2>-- SIP/1236-e9a7 is ringing</FONT>
<BR><FONT SIZE=2>-- Nobody picked up in 15000 ms</FONT>
<BR><FONT SIZE=2>-- Called 1236</FONT>
<BR><FONT SIZE=2>-- SIP/1236-b4dd is ringing</FONT>
<BR><FONT SIZE=2>-- Nobody picked up in 15000 ms</FONT>
<BR><FONT SIZE=2>-- Called 1236</FONT>
<BR><FONT SIZE=2>-- SIP/1236-029d is ringing</FONT>
<BR><FONT SIZE=2>-- Nobody picked up in 15000 ms</FONT>
<BR><FONT SIZE=2>-- Called 1236</FONT>
<BR><FONT SIZE=2>-- SIP/1236-f0aa is ringing</FONT>
<BR><FONT SIZE=2>-- Nobody picked up in 15000 ms</FONT>
<BR><FONT SIZE=2>-- Called 1236</FONT>
<BR><FONT SIZE=2>-- SIP/1236-c264 is ringing</FONT>
<BR><FONT SIZE=2>-- Nobody picked up in 15000 ms</FONT>
<BR><FONT SIZE=2>-- Called 1236</FONT>
<BR><FONT SIZE=2>-- SIP/1236-bd12 is ringing</FONT>
<BR><FONT SIZE=2>-- Nobody picked up in 15000 ms</FONT>
<BR><FONT SIZE=2>-- Called 1236</FONT>
<BR><FONT SIZE=2>-- SIP/1236-197e is ringing</FONT>
<BR><FONT SIZE=2>-- Nobody picked up in 15000 ms</FONT>
<BR><FONT SIZE=2>-- Called 1236</FONT>
<BR><FONT SIZE=2>-- SIP/1236-2056 is ringing</FONT>
<BR><FONT SIZE=2>-- Nobody picked up in 15000 ms</FONT>
<BR><FONT SIZE=2>-- Called 1236</FONT>
<BR><FONT SIZE=2>-- SIP/1236-fa07 is ringing</FONT>
<BR><FONT SIZE=2>-- Nobody picked up in 15000 ms</FONT>
<BR><FONT SIZE=2>-- Called 1236</FONT>
<BR><FONT SIZE=2>-- SIP/1236-994b is ringing</FONT>
<BR><FONT SIZE=2>-- Nobody picked up in 15000 ms</FONT>
<BR><FONT SIZE=2>-- Called 1236</FONT>
<BR><FONT SIZE=2>-- SIP/1236-220d is ringing</FONT>
<BR><FONT SIZE=2>-- Nobody picked up in 15000 ms</FONT>
<BR><FONT SIZE=2>-- Called 1236</FONT>
<BR><FONT SIZE=2>-- SIP/1236-997a is ringing</FONT>
<BR><FONT SIZE=2>-- SIP/1236-997a answered IAX[brian@65.38.28.149:5036]/24</FONT>
<BR><FONT SIZE=2>-- Stopped music on hold on IAX[brian@65.38.28.149:5036]/24</FONT>
<BR><FONT SIZE=2>-- Called 1236</FONT>
<BR><FONT SIZE=2>-- SIP/1236-e4ab is ringing</FONT>
<BR><FONT SIZE=2>-- Nobody picked up in 15000 ms</FONT>
<BR><FONT SIZE=2>-- Called 1236</FONT>
<BR><FONT SIZE=2>-- SIP/1236-9ed1 is ringing</FONT>
<BR><FONT SIZE=2>-- Nobody picked up in 15000 ms</FONT>
<BR><FONT SIZE=2>-- Called 1236</FONT>
<BR><FONT SIZE=2>-- SIP/1236-b26c is ringing</FONT>
<BR><FONT SIZE=2>-- Nobody picked up in 15000 ms</FONT>
<BR><FONT SIZE=2>== Spawn extension (demo, 900, 2) exited non-zero on</FONT>
<BR><FONT SIZE=2>'IAX[brian@65.38.28.149:5036]/24'</FONT>
<BR><FONT SIZE=2>-- Hungup 'IAX[brian@65.38.28.149:5036]/24'</FONT>
<BR><FONT SIZE=2>-- Called 1236</FONT>
<BR><FONT SIZE=2>-- SIP/1236-bfd6 is ringing</FONT>
<BR><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>Asterisk-Users mailing list</FONT>
<BR><FONT SIZE=2>Asterisk-Users@lists.digium.com</FONT>
<BR><FONT SIZE=2><A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users" TARGET="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</A></FONT>
</P>
</BODY>
</HTML>