[asterisk-users] asterisk 11 and DAHDI/i4

Jerry Geis geisj at pagestation.com
Thu Dec 20 10:14:34 CST 2012


> This was a change in v1.8 and is documented in the v1.8 UPGRADE.txt file:
>
> * The PRI channels in chan_dahdi can no longer change the channel name if a
>    different B channel is selected during call negotiation.  To prevent using
>    the channel name to infer what B channel a call is using and to avoid name
>    collisions, the channel name format is changed.
>    The new channel naming for PRI channels is:
>    DAHDI/i<span>/<number>[:<subaddress>]-<sequence-number>
>
> * Added CHANNEL(dahdi_span), CHANNEL(dahdi_channel), and CHANNEL(dahdi_type)
>    so the dialplan can determine the B channel currently in use by the channel.
>    Use CHANNEL(no_media_path) to determine if the channel even has a B channel.
>
> * Added AMI event DAHDIChannel to associate a DAHDI channel with an Asterisk
>    channel so AMI applications can passively determine the B channel currently
>    in use.  Calls with "no-media" as the DAHDIChannel do not have an associated
>    B channel.  No-media calls are either on hold or call-waiting.
>
  ok - can I use a different method of doing my check to see if a line 
is available by
using the AMI call ExtensionState or ChanIsAvail?

Doing
Action: ExtensionState
Parameters: DAHDI/1

says Error
Message: Extension not specified

and
Action: Command
Command: ChanIsAvail
Parameters: DAHDI/1

says Error
No such command "ChanIsAvail"

I'm clearly missing something?

Jerry

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


More information about the asterisk-users mailing list