<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;">

You should just cache the AMI DAHDIChannel event information in your
program.

If you really must you could use the CLI command "pri show channels".
However, it is not intended to be repeatedly run for performance
reasons.  It blocks processing of ISDN messages while it is running.</pre>
    </blockquote>
    <br>
    I am not continually logged in to the AMI to catch those events...<br>
    <br>
    Can I make a call to a local channel, run some context+ extension,<br>
    there call ChanIsAvail for the channel I am interested in - <br>
    but they how do I get that info back to my C program?<br>
    <br>
    Also is that a big overhead?<br>
    <br>
    jerry<br>
  </body>
</html>