Skip to main content

Dynamic Agent is logging off automatically

Posted by IVSCOMM on Fri, 02/11/2011

I have a pizzeria that is using the dynamic queues and is having a problem with the phone dropping out of the que at some point. they haven't missed a call it just stops ringing. they had a customer come in on her cell phone and say she was sixth in line could they answer the phone.

Obviously the phone was not ringing.

I am supposed to use the dynamic queues not the static ones right?
the static queue is the evil chan_local stuff right?

I am trying not to get yelled at by eeman.=0)

What is the difference between static and dynamic?


Submitted by IVSCOMM on Fri, 02/11/2011 Permalink

I am using
Webmin Version 1.470
(CentOS Linux 5.3)
PBX Manager 6.1.1.7
Asterisk 1.4.24.1

Submitted by CPY on Fri, 02/11/2011 Permalink

The way I have it set up on my box is using static. I think part of it depends on what you are doing. It is my understanding static is used for extensions who will never leave the queue. That is, people who will always be there to answer callers from the queue. I would imagine, then, that dynamic is used for extension who will need to jump in and out of the queue, only being able to answer calls at certain times.

I probably wont be able to guide you all the way through this, but, in case I can, let me ask you this. How are you directing the calls into the queue?

Submitted by eeman on Fri, 02/11/2011 Permalink

no chan_local is the agent_callback_login stuff

dynamic queue members work exactly like static queue members, except the channel get placed in the queue on manual interaction. They are both the sip channel driver that gets added to the queue.

Submitted by IVSCOMM on Fri, 02/11/2011 Permalink

So If I understand the queue description Static is for extensions that will always be in the queue and dynamic is for extensions that need to jump in and out.
Is there a time limit for being in a Dynamic queue and once you reach this time limit it kicks you out??

Submitted by eeman on Fri, 02/11/2011 Permalink

No, but there is an auto-logoff setting that if set to yes and you don't answer an offered call it will log you out.

Submitted by eeman on Fri, 02/11/2011 Permalink

AgentCallbackLogin only existed in 1.4 and before. Thats where you add Agent/number as members of the queue instead of SIP/channel as members of the queue.

Submitted by moshe on Tue, 03/01/2011 Permalink

I Maybe totally off, but take a look at your system uptime remote agents get logged off if you had a asterisk crash, I had once that issue and all it was asterisk restarts

Submitted by eeman on Tue, 03/01/2011 Permalink

do you not use persistentmembers=yes? it puts members into the astdb so that it survives a restart.

Submitted by IVSCOMM on Tue, 03/01/2011 Permalink

[general]
;
; Global settings for call queues
;
persistentmembers=yes
;
; Note that a timeout to fail out of a queue may be passed as part of application call
; from extensions.conf:
; Queue(queuename|[options]|[optionalurl]|[announceoverride]|[timeout])
; example: Queue(dave|t|||45)