No application 'AgentLogin' for extension

Hey guys,

unfortunatley I’m stuck while setting up a Call-Center queue.

First of all I am using 2 hardphones and the latest stable version of Asterisk.

While my agents try to call the number for their agentlogin, they get the message “123 Declined” showed on their display and an error message in asterisk saying : [quote]“WARNING[2704][C-00000000]: pbx.c:4679 pbx_extension_helper: No application ‘AgentLogin’ for extension (123, 123, 1)”[/quote].

My extensions.conf [code][123]

exten => 2000,1,Dial(SIP/2000,7)
exten => 2000,n,VoiceMail(2000)

exten => 2001,1,Dial(SIP/2001,7)
exten => 2001,n,VoiceMail(2001)

exten => 2999,1,VoiceMailMain(${CALLERID(num)},s)

exten => 123,1,AgentLogin()

exten => 140,1,Answer()
exten => 140,n,Ringing
exten => 140,n,Wait(2)
exten => 140,n,Queue(support)
exten => 140,n,Wait(2)
exten => 140,n,Hangup()
[/code]

agents.conf [code][agents]

autologoff = 15
ackcall = yes
musiconhold => agent
updatecdr = yes

recordagentcalls = no
recordformat = wav
savecallsin = /var/spool/asterisk/monitor

agent => 2001,1234,Tim
agent => 2000,1234,Hans
agent => 3,1234,Ben

[/code]

queues.conf [code][support]
musiconhold = supportqueue
strategy = ringall
timeout = 10
retry = 5
reportholdtime=yes
wrapuptime=15
maxlen = 5
announce-frequency = 15
announce-holdtime = yes
joinempty = yes

member => Agent/2000
member => Agent/2001
member => Agent/007
[/code]

What is my mistake?

Thanks in advance and best regards.

chan_agent is either not installed or agent.conf is invalid. The easiest way of testing is to try and manually load the module with “module load chan_agent” and see what error message you get.