VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
asterisk01 at in-put.de Guest
|
Posted: Fri Jan 11, 2008 11:38 am Post subject: [asterisk-users] Question about queues and the definition of |
|
|
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
******************************************** |
|
Back to top |
|
|
mmichelson at digium.com Guest
|
Posted: Fri Jan 11, 2008 12:12 pm Post subject: [asterisk-users] Question about queues and the definition of |
|
|
Stefan Guenther wrote:
Quote: | 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
|
If 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. |
|
Back to top |
|
|
PGentilini at intellic... Guest
|
Posted: Fri Jan 11, 2008 1:37 pm Post subject: [asterisk-users] Question about queues and the definition of |
|
|
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 |
|
Back to top |
|
|
dpobanz at hastingsuti... Guest
|
Posted: Fri Jan 11, 2008 5:26 pm Post subject: [asterisk-users] Question about queues and the definition of |
|
|
PGentilini at intellicare.com
Quote: | ;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
| I do something similar but use 'AddQueueMember' and 'removeQueueMember'
instead of PauseQueueMember and UnpauseQueueMember.
Is there advantages to using pause/unpause versus add/remove?
Don Pobanz |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|