Using AMI you might want to use hints instead of ChanIsAvail since that
command puts its' output back into the dialplan as variables. 

-----Original Message-----
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jerry Geis
Sent: Thursday, October 18, 2012 10:58 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Question on AMI and ChanIsAvail

I was wanting to call ChanIsAvail from AMI.

I logged in and issues command,

Action: Command
Command: ChanIsAvail DAHDI/1

my response was this:
event_list=0 ret=158 Response: Follows[CR ][LF ]Privilege: Command[CR ][LF
]No such command 'ChanIsAvail DAHDI/1'

Is there any way to tell if a channel is available through AMI?
Did I format my request wrong?
I am on 1.4.43.

Thanks,

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


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