<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;">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.
</pre>
<br class="Apple-interchange-newline">
</blockquote>
ok - can I use a different method of doing my check to see if a
line is available by<br>
using the AMI call ExtensionState or ChanIsAvail?<br>
<br>
Doing<br>
Action: ExtensionState<br>
Parameters: DAHDI/1<br>
<br>
says Error<br>
Message: Extension not specified<br>
<br>
and <br>
Action: Command<br>
Command: ChanIsAvail<br>
Parameters: DAHDI/1<br>
<br>
says Error<br>
No such command "ChanIsAvail"<br>
<br>
I'm clearly missing something?<br>
<br>
Jerry<br>
<br>
</body>
</html>