Here
is some config that I cooked up. It may be a little rough around the
edges, and it incorporates multiple users.
exten
=> *801,1,Answer
exten => *801,2,SetVar(temp=${loggedin${CALLERIDNUM}}) exten => *801,3,GotoIf($[${temp} = 1]?50:) exten => *801,4,GotoIf($[${CALLERIDNUM} = 11]?11) exten => *801,5,GotoIf($[${CALLERIDNUM} = 12]?12) exten => *801,6,GotoIf($[${CALLERIDNUM} = 13]?13) exten => *801,7,GotoIf($[${CALLERIDNUM} = 15]?15) exten => *801,8,Playback(beep) exten => *801,9,Hangup exten => *801,11,Goto(bjqueue,1,1) exten => *801,12,Goto(tonyqueue,1,1) exten => *801,13,Goto(wendyqueue,1,1) exten => *801,15,Goto(danqueue,1,1) exten
=> *801,50,GotoIf($[${CALLERIDNUM} = 11]?61)
exten => *801,51,GotoIf($[${CALLERIDNUM} = 12]?62) exten => *801,52,GotoIf($[${CALLERIDNUM} = 13]?63) exten => *801,53,GotoIf($[${CALLERIDNUM} = 15]?65) exten => *801,54,Playback(beep) exten => *801,55,Hangup exten => *801,61,Goto(bjqueue,2,1) exten => *801,62,Goto(tonyqueue,2,1) exten => *801,63,Goto(wendyqueue,2,1) exten => *801,65,Goto(danqueue,2,1) [bjqueue]
exten => 1,1,Answer exten => 1,2,Wait(1) exten => 1,3,Playback(agent-loginok) exten => 1,4,SetGlobalVar(loggedin11=1) exten => 1,5,AddQueueMember(tech,SIP/111) exten => 1,6,Hangup exten
=> 2,1,Answer
exten => 2,2,Wait(1) exten => 2,3,Playback(agent-loggedoff) exten => 2,4,SetGlobalVar(loggedin11=0) exten => 2,5,RemoveQueueMember(tech,SIP/111) exten => 2,6,Hangup The
other users are setup pretty much the same as bjqueue. I hope this
helps.
B.
J.
|
Title: Message
- [Asterisk-Users] Call Queues dkwok
- [Asterisk-Users] Call Queues dkwok
- [Asterisk-Users] Call Queues Jonathan Stanton @ Home
- Re: [Asterisk-Users] Call Queues B. J. Bomar
- Re: [Asterisk-Users] Call Queues Jon Stockill
- [Asterisk-Users] Call queues Jeremy Kenney
- [Asterisk-Users] Re: Call queues Hans-Henrik Andresen
- RE: [Asterisk-Users] Re: Call queues Jeremy Kenney
- Re: [Asterisk-Users] Call queues Jason Williams
- Re: [Asterisk-Users] Call queues avizion
- RE: [Asterisk-Users] Call queues Troy Settle
- RE: [Asterisk-Users] Call queues avizion