<div dir="ltr"><br><br><div class="gmail_quote">On Mon, Oct 13, 2008 at 5:22 PM, Kevin DeGraaf <span dir="ltr"><<a href="mailto:kevin@kdegraaf.net">kevin@kdegraaf.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I need to monitor the states of my T1/PRI Zap channels. Specifically, I<br>
need to be able to programmatically determine whether a channel is<br>
unused, carrying an inbound call, or carrying an outbound call.<br>
<br>
Using the manager interface, I can easily tell whether a Zap channel is<br>
used or not by looking at the results of:<br>
<br>
Action: Command<br>
Command: zap show channel <x><br>
<br>
Or:<br>
<br>
Action: Status<br>
<br>
However, nothing in those results seems to reliably indicate whether the<br>
channel received an incoming call or was used to make an outgoing call.<br>
<br>
I can make educated guesses based on the value of "Caller ID" or<br>
"Calling TON" or the combination of "Channel" and "Link", but none of<br>
these heuristics seem robust.<br>
<br>
I've even tried GetVar-ing various channel functions, to no avail.<br>
<br>
This seems like a case where a simple flag should be set somewhere, but<br>
I haven't found one. What's the most elegant way to do this? Thanks.<br>
<br>
--<br>
Kevin DeGraaf<br>
<br></blockquote><div>AsterCRM looks like it might fit the bill.<br><br>It gets all data from AMI and runs as a daemon that populates a DB.<br><br>It's beta, site claims 5 calls for free but I am not sure for beta software, I would not pay for Beta software, never used it but it is new. .09Beta July 26th 2008<br>
<br><a href="http://sourceforge.net/project/showfiles.php?group_id=202441">http://sourceforge.net/project/showfiles.php?group_id=202441</a><br><br><a href="http://astercrm.blog.com/">http://astercrm.blog.com/</a><br><br>Interesting anyways, seems the concept/code would be easy to reproduce if pricing is an issue.<br>
</div></div><br>-- <br>Thanks,<br>Steve Totaro <br>+18887771888 (Toll Free)<br>+12409381212 (Cell)<br>+12024369784 (Skype)<br>
</div>