On 10/17/2011 10:33 AM, Jerry Geis 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?

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

--
_____________________________________________________________________
-- 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

Reply via email to