Sending remote hangup in Java

Hi,

I’m trying to send a “hangup” command to a remote asterisk box in a java program.

I would like to send the hangup for a specific callerID! I have also establish the caller information from the “show channels verbose” command…

How can i send the “hangup” for a specific channel or caller id ?

The asterisk CLI manager command seems to only accept hangup and not hangup

Any pointers ?

Thanks,
Rob

You shouldnt use CLI commands through the Manager API if not needed.
To get a list of channels there is the StatusAction and for hangup there is HangupAction. HangupAction contains the name of the channel to hangup.

=Stefan