[asterisk-dev] agents.conf

Alex Haugg haugg at comdasys.com
Mon Apr 14 08:56:39 CDT 2008


hi,
i'am new on this mailing list and work with asterisk.
i have problem with my agents.conf.
i woud like configure two agents, and this is my 
agents.conf:

[general]
persistentagents=yes
 
[agents]
autologoff=14
ackcall=no
endcall=yes
wrapuptime=5000
musiconhold=default
agent=>1841,0000,Max Huber
agent=>1842,0000,Alois Maier

extensions.conf:

[general]

[globals]

[telefone]
exten => 840,1,Dial(SIP/840)
exten => 841,1,Dial(SIP/841)
exten => 842,1,Dial(SIP/842)
exten => 843,1,Dial(SIP/843)
exten => 844,1,Dial(SIP/844)
exten => 845,1,Dial(SIP/845)
; 
exten => 20,1,Answer()                  ; abheben
exten => 20,n,Set(MUSICCLASS()=default) ; Musikklasse "default" setzen
exten => 20,n,Queue(support,t)
exten => 20,n,WaitMusicOnHold(20)       ; 20 Sekunden Musik
exten => 20,n,Hangup()                  ; auflegen
;
exten => 25,1,Answer()                  ; abheben
exten => 25,n,AgentLogin()              ; Agent einloggen
exten => 25,n,Hangup()                  ; hinterher auflegen

error message:
    -- Executing Answer("SIP/841-62ef", "") in new stack
Apr 13 16:02:51 WARNING[10136]: pbx.c:1690 pbx_extension_helper: No
application 'AgentLogin' for extension (telefone, 25, 2)
  == Spawn extension (telefone, 25, 2) exited non-zero on 'SIP/841-62ef'
Apr 13 16:02:51 ERROR[10136]: cdr_csv.c:237 csv_log: Unable to re-open
master file /var/log/comdasysb2bua//cdr-csv//Master.csv : No such file
or directory

Please help me, tahnks

Alex




More information about the asterisk-dev mailing list