[asterisk-users] asterisk 11 and DAHDI/i4
Danny Nicholas
danny at debsinc.com
Thu Dec 20 11:06:50 CST 2012
The "Asterisk 11" part is irrelevant. You need to use an AGI or "local
call" to use the ChanIsAvail function.
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121220/bf6fe2c2/attachment.htm>
More information about the asterisk-users
mailing list