[asterisk-users] ChanSpy doesn't hangs up

Joao Gomes Pereira gomespereira at startel.pt
Mon Jan 11 11:21:57 CST 2010


Hello
I have a simple configuration to allow the admins to listen the agents 
calls:

exten => _654,1,ChanSpy(Agent)
exten => _654,2,Hangup()


The problem is... even when the agents hung up... it seems the channels
remain active:

asterisk*CLI> show channels
SIP/211-b3042018     654 at default:1        Up
ChanSpy(Agent)
SIP/211-b3fbf768     654 at default:1        Up
ChanSpy(Agent)
SIP/211-b4d88940     654 at default:1        Up
ChanSpy(Agent)
SIP/211-b52e6498     654 at default:1        Up
ChanSpy(Agent)
SIP/211-b4bbfcc0     654 at default:1        Up
ChanSpy(Agent)
SIP/211-b4ba9f88     654 at default:1        Up
ChanSpy(Agent)

(the agent is using extension 211)

I have more then 10 lines like these. Why do the ChanSpy calls dont hang up?
Thanks
Regards
Joao Pereira


-- 
StarTel - A Rede Livre
Joao Gomes Pereira
www.startel.pt
+351 304500650
sip: gomespereira at startel.pt



More information about the asterisk-users mailing list