[asterisk-users] Request hangup on local channel

Jerry Geis geisj at pagestation.com
Mon Oct 17 09:44:30 CDT 2011


  On 10/17/2011 10:33 AM, Jerry Geis wrote:
>  show channels is giving me a line like:
> Local/call_out at playfile-981a,2!local-playfile!call_out!4!Up!MeetMe!PA0008|1qt!3175661010!!3!2!(None) 
>
>
> I extract from that the following ID:
> Local/call_out at smvoice-local-public-address-playfile-981a
>
> I am trying to do the AMI "Action: Hangup" command (which I have used 
> before).
>
> and I am getting:
> Response: Error\r\nMessage: No such channel\r\n\r\n
>
> Using that same function I made for just passing to it the ID of the 
> channel, I can successfully hangup SIP channels.
>
> Can I not "hangup" a local channel?
>
> Jerry
Sorry - I thought the ",2" needed to be removed. If I leave it in the ID 
string I am able to kill the Local channel.

jerry



More information about the asterisk-users mailing list