In article <[email protected]>, Jerry Geis <[email protected]> wrote: > show channels is giving me a line like: > Local/call_out@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@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?
Yes, you can. The problem was in specifying the channel. You need to include the ,2 or the ,1 which is part of the channel name. The "smvoice-local-public-address-" part of your description puzzled me. It looked from your first line as if the local channel name should be Local/call_out@playfile-981a,2 Cheers Tony -- Tony Mountifield Work: [email protected] - http://www.softins.co.uk Play: [email protected] - http://tony.mountifield.org -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
