Hangup/ZapHangup doesnt work with AMI

Comment on Asterisk Manager API Action ZapHangup
Drakh
Avatar
Joined: Wed 26 of Jul, 2006

Hangup/ZapHangup doesnt work with AMI

Posted:Wed 26 of Jul, 2006 (16:57 UTC)
Working with Asterisk Manager API connecting to asterisk via TCP/IP port 5038 i found a problem.
When i made originate and trying to hang it up with Action: hangup or Action ZapHangup i found that it does not work.
So i made one connection for originate and another for hangup. On the hangup connection again the same proble. Action: hangup or Action ZapHangup dosent worked again.

Again using just one connection for hanging and for originating i tryed to send after originate
Action: command
command: soft hangup [channel]

Doesnt work.

So again two connections one for originate and second for hangup.
on the hangup connection..
Action: command
command: soft hangup [channel]

WORKED..