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

Reply via email to