The "Asterisk 11" part is irrelevant. You need to use an AGI or "local call" to use the ChanIsAvail function.
From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jerry Geis Sent: Thursday, December 20, 2012 11:03 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] asterisk 11 and DAHDI/i4 It is Action: ExtensionState Exten: 5551212 Context: fubar This will return the status of the dialplan exten hint. > and > Action: Command > Command: ChanIsAvail > Parameters: DAHDI/1 > > says Error > No such command "ChanIsAvail" ChanIsAvail is a dialplan application not a CLI command. It also will not work for what you want in this case. > I'm clearly missing something? Quite possibly. :) Richard OK - so what I am trying to do is through the AMI interface ask if channel DAHDI/1 is busy, on hook or available. How do I tell that.... In the past I simply did a "core show channels" and see if DAHDI/1 was present. It it was I new it was in use... How do check now in asterisk 11 if the channels are reported as DAHDI/i4 etc... 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