Stefan Guenther
2008-Jan-11 16:38 UTC
[asterisk-users] Question about queues and the definition of agents
Hi,
I have a question about the definition of agents.
The agents.conf file looks like this:
[general]
persistentagents=yes
[agents]
maxlogintries=5
ackcall=no
wrapuptime=500
musiconhold => default
group = 1
agent => 1311,1311,Tom
agent => 1531,1531,Tim
and here is the queues.conf:
[general]
persistentmembers = yes
[queue1]
musiconhold = default
strategy = rrmemory
servicelevel = 60
timeout = 15
retry = 5
wrapuptime=15
maxlen = 0
announce-frequency = 90
periodic-announce-frequency=60
announce-holdtime = yes
announce-round-seconds = 10
queue-youarenext = queue-youarenext
queue-thereare = queue-thereare
queue-callswaiting = queue-callswaiting
queue-holdtime = queue-holdtime
queue-minutes = queue-minutes
queue-seconds = queue-seconds
queue-thankyou = queue-thankyou
queue-lessthan = queue-less-than
queue-reporthold = queue-reporthold
periodic-announce = queue-periodic-announce
member => SIP/Tom
;member => Agent/1311
member => SIP/Tim
;member => Agent/1531
When I set "member => Agent/xxxx" only the phone of a logged in
agent rings.
When I set "member => SIP/XXX" the phones of all members ring,
whether
the agent is logged in or not - is that correct?
For some reason I would prefer to use "SIP/XXX", but that's
impossible
if all phones would ring.
Are there any mistakes in my configuration or did I misunderstand the wiki?
Asterisk-Version 1.4.13
Thanks for your help,
Stefan
--
********************************************
in-put GbR - Das Linux-Systemhaus
Stefan-Michael Guenther
Geschaeftsfuehrer
Moltkestrasse 49 D-76133 Karlsruhe
Tel./Fax : +49 (0)721 / 83044 - 98/93
http://www.in-put.de
********************************************
Schulungen Installationen
Beratung Support
Voice-over-IP-Loesungen
********************************************
Mark Michelson
2008-Jan-11 17:12 UTC
[asterisk-users] Question about queues and the definition of agents
Stefan Guenther wrote:> Hi, > > I have a question about the definition of agents. > > The agents.conf file looks like this: > > [general] > persistentagents=yes > > [agents] > maxlogintries=5 > ackcall=no > wrapuptime=500 > musiconhold => default > group = 1 > agent => 1311,1311,Tom > agent => 1531,1531,Tim > > and here is the queues.conf: > > [general] > persistentmembers = yes > > [queue1] > musiconhold = default > strategy = rrmemory > servicelevel = 60 > timeout = 15 > retry = 5 > wrapuptime=15 > maxlen = 0 > announce-frequency = 90 > periodic-announce-frequency=60 > announce-holdtime = yes > announce-round-seconds = 10 > queue-youarenext = queue-youarenext > queue-thereare = queue-thereare > queue-callswaiting = queue-callswaiting > queue-holdtime = queue-holdtime > queue-minutes = queue-minutes > queue-seconds = queue-seconds > queue-thankyou = queue-thankyou > queue-lessthan = queue-less-than > queue-reporthold = queue-reporthold > periodic-announce = queue-periodic-announce > member => SIP/Tom > ;member => Agent/1311 > member => SIP/Tim > ;member => Agent/1531 > > When I set "member => Agent/xxxx" only the phone of a logged in agent rings. > When I set "member => SIP/XXX" the phones of all members ring, whether > the agent is logged in or not - is that correct? > For some reason I would prefer to use "SIP/XXX", but that's impossible > if all phones would ring. > > Are there any mistakes in my configuration or did I misunderstand the wiki? > > Asterisk-Version 1.4.13 > > Thanks for your help, > > StefanIf you set the member to be "member => SIP/XXX" then that literally means that the SIP device specified will be rung, and no logic involving agents as defined in agents.conf will be used (meaning there is no concept of "logging in"). If you want to be able to "log in" that SIP device, you can set up extensions to use the AddQueueMember and RemoveQueueMember applications instead of statically defining members in queues.conf.
PGentilini at intellicare.com
2008-Jan-11 18:37 UTC
[asterisk-users] Question about queues and the definition of agents
I set my queues up using the SIP device and added the following into my
extensions_internal.conf file
;Pause/unpause Queue
exten => 424,1,PauseQueueMember(|SIP/${CALLERID(num)})
exten => 424,2,Playback(unavailable)
exten => 424,3,Hangup
exten => 425,1,UnPauseQueueMember(|SIP/${CALLERID(num)})
exten => 425,2,Playback(available)
exten => 425,3,Hangup
Then on my x-lite phones I created two contacts, one called available with
an extension of 425 and a second called unavailable with extension 424.
This way the agent just clicks either available or unavailable to set their
status.
Paul Gentilini
IntelliCare
500 Southborough Drive
South Portland, Maine 04106
O: 207-771-2974
C: 207-450-4499
F: 207-253-2150
E: pgentilini at intellicare.com