Queue agent answers 486 even if free

Hi, I have an asterisk server v. 1.6.1.4 on a Debian Lenny. When I try to create a queue for one agent (my office secretary), the first call goes to her extension, and the second call goes to the queue. The problem I have, is that even if the operator hangs up the first call, the second stays in the queue. From the asterisk console I see:

CLI> queue show
colaoperador has 2 calls (max unlimited) in ‘ringall’ strategy (2s
holdtime), W:0, C:2, A:0, SL:0.0% within 0s
Members:
SIP/1010 (Not in use) has taken 2 calls (last was 142 secs ago)
Callers:
1. DAHDI/1-1 (wait: 2:30, prio: 0)
2. DAHDI/2-1 (wait: 1:24, prio: 0)

As you can see, the extension 1010 is not in use, but the console is showing this all the time:

== Using SIP RTP CoS mark 5
== Using SIP VRTP CoS mark 6
– Got SIP response 486 “Busy Here” back from 192.168.8.210
– SIP/1010-08ea0848 is busy
– Nobody picked up in 0 ms

Another thing I see, is that even if I hang up one of the calls in the queue, it stays in the queue. Maybe its a problem detecting the hangup? I don’t think that is it, because que queue show knows the agent is free. I appreciate any help received,

Diego Madiedo
dmadiedoATskinatech.com

My queues.conf:
[general]
autofill=yes

[colaoperadora]
context=Entrante
member=>SIP/1010

My extensions.conf:
[general]
autofallthrough=yes
clearglobalvars=no

[globals]
ctique=SIP/1010

[macro-extSkina]
exten => s,1,Dial(${ARG1},30,tT)
exten => s,n,GotoIf($["${DIALSTATUS}" = “BUSY”]?ocupado:nocontesta)
exten => s,n(nocontesta),Voicemail(${MACRO_EXTEN}@default,u)
exten => s,n,Hangup()
exten => s,n(ocupado),Voicemail(${MACRO_EXTEN}@default,b)
exten => s,n,Hangup()

[Entrante]
exten => s,1,Answer
exten => s,n,Queue(colaoperadora,r)
exten => s,n,Hangup

[SIPSkina]
;Comunicar a la extensión asignada como operadora
exten => 9000,1,Goto(SIPSkina,${operadora},1)
;*EXTENSIONES PARA HACER LLAMADAS BASICAS
exten => 1010,1,Macro(extSkina,${ctique})

;*EXTENSION PARA EXTENSIONES NO EXISTENTES
exten => _XXXX,1,Answer()
exten => _XXXX,n,Playback(pbx-invalid)
exten => _XXXX,n,Hangup()
;*EXTENSION PARA PROBAR ECO
exten => 500,1,Verbose(1,Echo test application)
exten => 500,n,Answer
exten => 500,n,Echo()
exten => 500,n,Hangup()
;*EXTENSION PARA DAR UN SONIDO AL MARCAR
exten => 501,1,Verbose(1,Echo playback application)
exten => 501,n, Playback(hello-world)
exten => 501,n,Hangup()

My sip.conf:
[general]
context=default
disallow=all
allow=gsm
allow=ulaw
language=es
videosupport=yes

TemplateSkina
type=friend
host=dynamic
context=SIPSkina
qualify=yes
canreinvite=no
session-timers=originate
session-expires=600
session-minse=90

1010
secret=****
callerid=“Carol Tique” <1010>

It is the phone itself that thinks it’s busy.

Thank you for your help.

I’m having a lot of trouble using Ekiga. In some clients, the problems is caused by audio, in others, I have problems like these one. Any sugestions to solve this problem? I have tried zoiper, twinkle, and other phones, with similar results.

Thank you,