[asterisk-users] Tracking T1/PRI channel status - inbound vs. outbound

Steve Totaro stotaro at totarotechnologies.com
Mon Oct 13 16:53:44 CDT 2008


On Mon, Oct 13, 2008 at 5:22 PM, Kevin DeGraaf <kevin at kdegraaf.net> wrote:

> I need to monitor the states of my T1/PRI Zap channels.  Specifically, I
> need to be able to programmatically determine whether a channel is
> unused, carrying an inbound call, or carrying an outbound call.
>
> Using the manager interface, I can easily tell whether a Zap channel is
> used or not by looking at the results of:
>
>   Action: Command
>   Command: zap show channel <x>
>
> Or:
>
>   Action: Status
>
> However, nothing in those results seems to reliably indicate whether the
> channel received an incoming call or was used to make an outgoing call.
>
> I can make educated guesses based on the value of "Caller ID" or
> "Calling TON" or the combination of "Channel" and "Link", but none of
> these heuristics seem robust.
>
> I've even tried GetVar-ing various channel functions, to no avail.
>
> This seems like a case where a simple flag should be set somewhere, but
> I haven't found one.  What's the most elegant way to do this?  Thanks.
>
> --
> Kevin DeGraaf
>
> AsterCRM looks like it might fit the bill.

It gets all data from AMI and runs as a daemon that populates a DB.

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

http://sourceforge.net/project/showfiles.php?group_id=202441

http://astercrm.blog.com/

Interesting anyways, seems the concept/code would be easy to reproduce if
pricing is an issue.

-- 
Thanks,
Steve Totaro
+18887771888 (Toll Free)
+12409381212 (Cell)
+12024369784 (Skype)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081013/012e2c3e/attachment.htm 


More information about the asterisk-users mailing list