<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<blockquote type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">It is
Action: ExtensionState
Exten: 5551212
Context: fubar
This will return the status of the dialplan exten hint.
><i> and
</i>><i> Action: Command
</i>><i> Command: ChanIsAvail
</i>><i> Parameters: DAHDI/1
</i>><i>
</i>><i> says Error
</i>><i> No such command "ChanIsAvail"
</i>
ChanIsAvail is a dialplan application not a CLI command. It also
will not work for what you want in this case.
><i> I'm clearly missing something?
</i>
Quite possibly. :)
Richard</pre>
</blockquote>
OK - so what I am trying to do is through the AMI interface<br>
ask if channel DAHDI/1 is busy, on hook or available.<br>
<br>
How do I tell that....<br>
<br>
In the past I simply did a "core show channels" and see if DAHDI/1
was present.<br>
It it was I new it was in use... <br>
<br>
How do check now in asterisk 11 if the channels are reported as
DAHDI/i4 etc...<br>
<br>
Thanks,<br>
<br>
Jerry<br>
<br>
</body>
</html>