<br>Provide the entry for Agent SIP/9013XX9XX8 along with parameters 'callcounter' and 'qualify' from sip.conf. <br><br>Also provide CLI outputs of 'core show channels',sip show peers' and 'queue show' when...<br>
<br>(1)First caller enters the Queue<br>(2)First caller gets connected with Agent<br>(3)First caller gets disconnected from Agent<br>(4)Second caller enters the Queue<br><br>You may have sequences changed for step no 3 and 4 in your scenario.<br>
<br><br>[SATISH]<br><br><div class="gmail_quote">On Sat, Jun 11, 2011 at 2:56 AM, <span dir="ltr"><<a href="mailto:duane.larson@gmail.com">duane.larson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Queue not sending call to Agent
<br>
<br>
<br>
<br>I am having an issue and i am not sure if it is a bug or a config issue. I was originally running Asterisk 1.8.1.1 when I noticed this issue. I upgraded to 1.8.4.2 to see if that would fix it but it didn't.
<br>
<br>The issue is that I have a call queue and the agent dials a number to log into the queue. When someone calls the queue the first time the call is sent to the agent without issue. The issue is that any calls after the first are placed in the queue and never sent to the agent who is logged in and available. Before I call the queue I do a "show queue" and it shows the agent as
<br>
<br>Asterisk18*CLI> queue show
<br><a href="http://irock.com" target="_blank">irock.com</a> has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
<br> Members:
<br> SIP/9013XX9XX8 (dynamic) (Not in use) has taken no calls yet
<br> No Callers
<br>
<br>
<br>Then the call comes into the queue and the callee just sits in the queue. When I do a "show queue" again when the callee is in the queue it shows the agent as busy
<br>Asterisk18*CLI> queue show
<br><a href="http://irock.com" target="_blank">irock.com</a> has 1 calls (max unlimited) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
<br> Members:
<br> SIP/9013XX9XX8 (dynamic) (Busy) has taken no calls yet
<br> Callers:
<br> 1. SIP/9013XX9XX8-00000001 (wait: 0:12, prio: 0)
<br>
<br>
<br>So I am not sure what happened because the agent was free before the call. If I do a reload at the Asterisk CLI and then call again the agent gets the call and then the second call is once again placed in the queue. I will attach a SIP Debug that shows what is going on. I don't see any SIP invites leaving Asterisk to invite the agent to the call.
<br>
<br>One other thing.... Currently in my config I have the agent show up as just the username which is the phone number. If I set it so that the agent shows up as phonenumber@blah then I can call the agent constantly without any issue. The only problem here is that when I do a "queue show" the agent shows up as "unknown" status. So when the agent is on a call and someone else calls the agent will be interrupted.
<br>
<br>
<br>
<br>This is what I have in queues.conf
<br>[<a href="http://irock.com" target="_blank">irock.com</a>]
<br>strategy=ringall
<br>ringinuse=no
<br>joinempty=yes
<br>leavewhenempty=no
<br>announce-frequency=30
<br>min-announce-frequency=15
<br>periodic-announce-frequency=60
<br>announce-holdtime=yes
<br>announce-position=yes
<br>
<br> ; ("You are now first in line.")
<br>queue-youarenext = queue-youarenext
<br> ; ("There are")
<br>queue-thereare = queue-thereare
<br> ; ("calls waiting.")
<br>queue-callswaiting = queue-callswaiting
<br> ; ("The current est. holdtime is")
<br>queue-holdtime = queue-holdtime
<br> ; ("minutes.")
<br>queue-minutes = queue-minutes
<br> ; ("seconds.")
<br>queue-seconds = queue-seconds
<br> ; ("Thank you for your patience.")
<br>queue-thankyou = queue-thankyou
<br> ; ("Hold time")
<br>queue-reporthold = queue-reporthold
<br> ; ("All reps busy / wait for next")
<br>periodic-announce = queue-periodic-announce
<br>
<br>
<br>
<br>This is what I have in extensions.conf
<br>exten => 9012XX1XX1,1,Answer()
<br>exten => 9012XX1XX1,n,Set(QUEUE_MAX_PENALTY=0);
<br>exten => 9012XX1XX1,n,Queue(<a href="http://irock.com" target="_blank">irock.com</a>,t)
<br>exten => 9012XX1XX1,n,Hangup()
<br>
<br>exten => *50,1,Answer
<br>exten => *50,n,Macro(queue-login,${EXTEN},${EXTEN:0:4})
<br>exten => *50,n,Hangup
<br>
<br>exten => *51,1,Answer
<br>exten => *51,n,Macro(queue-logout,${EXTEN},${EXTEN:0:4})
<br>exten => *51,n,Hangup
<br>
<br>[macro-queue-login]
<br>exten => s,1,Set(agent=${EXTEN:4})
<br>exten => s,n,Set(queue=<a href="http://irock.com" target="_blank">irock.com</a>)
<br>exten => s,n,NoOp(Queue login agent ${EXTEN:4} to queue ${phone});
<br>exten => s,n,AddQueueMember(${queue});
<br>exten => s,n,Playback(agent-loginok)
<br>
<br>[macro-queue-logout]
<br>exten => s,1,Set(agent=${EXTEN:4})
<br>exten => s,n,Set(queue=<a href="http://irock.com" target="_blank">irock.com</a>)
<br>exten => s,n,NoOp(Queue logout agent ${EXTEN:4} from queue ${phone});
<br>exten => s,n,RemoveQueueMember(${queue});
<br>exten => s,n,Playback(agent-loggedoff)<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>