Regarding AgentCallBackLogin

Hello Everyone,

I have a problem using AgentCallBackLogin. It fail to accept new sip location during agent authentication. I’ve found on the web that the command is already deprecated. I don’t know if that is the reason why agent can’t login. Here are the details of my confs.

----- sip.conf-----
[general]
disallow=all
;allow=g729
allow=g723
allow=ulaw
;allow=alaw
bindport=5060
bindaddr=0.0.0.0
context=default
;externip=0.0.0.0 ; external IP address
;localnet=192.168.100.0/255.255.255.0 ; Internal Network Address

; Agents Locals
[1100]
type=friend
username=1100
secret=1100
host=dynamic
mailbox=1100
context=default
canreinvite=no
dtmfmode=rfc2833

[1200]
type=friend
username=1200
secret=1200
host=dynamic
mailbox=1200
context=default
canreinvite=no
dfmfmode=rfc2833

---------- agents.conf---------------
; Agent configuration

[general]
persistentagents=yes

[agents]
autologoff=15
autologoffunavail=yes
ackcall=no
endcall=yes
wrapuptime=0
recordagentcalls=yes
recordformat=yes
musiconhold => default
updatecdr=yes

; helpdesk
group=1
agent => 1100,1100,Agent1
agent => 1200,1200,Agent2

------------ queues.conf-------------
[general]

[default]

[helpdesk]
music=default
;announce=queue-helpdesk
strategy=rrmemory
servicelevel=60
context=default
timeout=15
retry=5
wrapuptime=15
annouce-frequency=90
periodic-announce-frequency=60
announce-holdtime=yes
monitor-format=wav
member => Agent/1100
member => Agent/1200

--------------extensions.conf-----------------
[general]
statis=yes
writeprotect=no

[default]
exten => 8000,1,Answer
exten => 8000,n,SetMusicOnHold(default)
exten => 8000,n,Set(TIMEOUT(digit)=5)
exten => 8000,n,Set(TIMEOUT(response)=10)
exten => 8000,n,Background(custom/james-welcome)
exten => 8000,n,Queue(helpdesk)

exten => 9000,1,Wait()
exten => 9000,n,AgentCallBackLogin()
exten => 9000,n,Hangup

exten => _XXXX,1,Dial(SIP/${EXTEN},30)
exten => _XXXX,n,Hangup