[asterisk-users] asterisk 11 and DAHDI/i4

Jerry Geis geisj at pagestation.com
Thu Dec 20 11:02:49 CST 2012


> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121220/65be1b71/attachment.htm>


More information about the asterisk-users mailing list