[Asterisk-Users] Queue AgentCallBackLogin

João Paulo Antunes jpa at cienciaviva.pt
Tue Sep 6 13:48:49 MST 2005


Hi All,

I'm having trouble setting up a queue: I'm using AgentCallBackLogin to 
login in the queue, but:

1 - When an agent answer the call and another call arrive his phone 
rings again.
2 - When no there are no one answer the queue  the system goes to 
voicemail of agent 1234

I'm using asterisk-1.2.0-beta1.

My configuration is below,
Any ideas?
Many thanks,
Joao Antunes

;extensions.conf

[demo]

exten => 1005,1, Answer
exten => 1005,2, AgentCallBackLogin(${CALLERIDNUM}|${CALLERIDNUM}@agentes)
exten => 1005,3, AddQueueMember(test1|local/${CALLERIDNUM}@agentes)
exten => 1005,n, Hangup

exten => 1006,1,Answer
exten => 1006,2, AgentCallBackLogin(${CALLERIDNUM}|'##')
exten => 1006,3,RemoveQueueMember(sporski|Local/${CALLERIDNUM}@agentes)
exten => 1006,4, Hangup

exten => 1235,1,Dial(SIP/1235,30,,http://www.teste.pt)
exten => 1235,2,VoiceMail(u1235)
exten => 1235,3,Hangup


exten => 1234,1,Dial(SIP/1234,20)
exten => 1234,2,VoiceMail(u1234)
exten => 1234,3,Hangup


[agentes]
exten => 1234,1,Dial(local/1234)
exten => 1235,1,Dial(local/1235)
exten => 1236,1,Dial(local/1236)


;queue.conf

[test1]
music = random
musiconhold=default
strategy = ringall
announce-holdtime = once

joinempty = yes
eventwhencalled = yes
eventmemberstatusoff = no

;agents.conf

[agents]
agent => 1234,,Peter Mary
agent => 1235,,Ronald Chunk





More information about the asterisk-users mailing list