[Asterisk-Users] Agent timeout then Dial() ?

Bill Hamel asterisk at hamel.net
Tue Jan 20 13:24:58 MST 2004


Hello,

I have agents / queues working to the extent that agents can login, logout and I
can send a caller into the queue and the logged in agent's phones will ring.

Maybe I've spent to much time googleing and reading and my eyes are crossing
now, but what I am trying to do is this but cannot find any reference to it.

1. Xfer the caller into the Queue... If Noone is logged into the queue, the
caller will be directed to a PSTN number instead (or extension, same thing)

2. Xfer the caller into the Queue... Agents are logged in, but the call times
out for whatever reason, I would then like to have it go to an extension as in
above

3. When say 6PM rolls around and all agents are gone I would like to
automagically log them out just incase they forgot to.

I will be happy with an answer for 1 and 2 - I can always use a big stick for #3
:)

I did find a reference to adding a member "local" in queues.conf eg:
member => local/s at timeout,10

And have a context in extensions.conf like this
[timeout]
exten => s,1,Wait,1
exten => s,2,Answer
exten => s,3,Playback(transferring_you_offsite)
exten => s,4,Dial,IAX2/office/18005551212 at office

Even with the metric of '10' to try and give the "local member" less preference
it will give logged in agents like half a ring and then xfer to the "timeout"
context right away. 

Any help, pointers would be greatly appreciated.

Many thanks
-bh


-- 


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

-- 
This message has been scanned for viruses and
dangerous content by the Bugs.Hamel.Net MailScanner, 
and appears to be clean.




More information about the asterisk-users mailing list