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

2008-10-13 Thread Kevin DeGraaf
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

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2008-10-13 Thread Steve Totaro
On Mon, Oct 13, 2008 at 5:22 PM, Kevin DeGraaf [EMAIL PROTECTED] 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)
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

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

2008-10-13 Thread Steve Totaro
On Mon, Oct 13, 2008 at 5:53 PM, Steve Totaro 
[EMAIL PROTECTED] wrote:



 On Mon, Oct 13, 2008 at 5:22 PM, Kevin DeGraaf [EMAIL PROTECTED] 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)


Correction, daemon appears to be called astercc.

-- 
Thanks,
Steve Totaro
+18887771888 (Toll Free)
+12409381212 (Cell)
+12024369784 (Skype)
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users