Hi,
I’m using Asterisk 1.2.7.1 with queues. The agents log in/out using AgentCallBackLogin/ AgentLogoff manager commands. The queue is set for rmemory for routing calls to agent. I’ve also enabled ack call parameter so, agents has to ack the incoming call by pressing # key. Here, Asterisk is used in pure SIP only environment.
I’m facing strange problem where an incoming call gets connected to an agent. But, some times the channel connected the agent is not getting cleared on call disconnect. Also, the status of agent stays as talking to that channel. This prevents the agent from getting further incoming calls.
Call flow sequence.
- Caller calls to our Asterisk server using the DID number assigned to it. Channel say SIP/caller is active now.
- Call gets routed to a queue.
- Say Agent x is available in the queue
- From the agent context called the agent phone.
- Agent connected to Caller. Now other active channels are Agent/x and SIP/agent
- After call disconnect. Sometimes, SIP/caller and Agent/1234 goes off but SIP/agent doesn’t get dropped. And the agent status remains connected to the pending channel. Even Asterisk cmd “Soft hangup” is not disconnecting this pending channel.
Please help.
FYI> In Users forum i got a reply saying using AddQueueMember/RemoveQueueMember may fix this problem as there are lot of bugs in AgentCallBacklogin - Can you advice?
Thanks,
Rajesh.