[asterisk-dev] libpri

Jay R. Ashworth jra at baylink.com
Mon Jun 16 09:31:40 CDT 2008


On Fri, Jun 13, 2008 at 11:56:00PM +0300, Tzafrir Cohen wrote:
> > Does it provide any status information in a /proc'cy fashion that I
> > could get to without having to bug Asterisk, that I'm not already aware
> > of?
> 
> Only kernel code can provide status through /proc (or /sys or whatever).
> libpri is userspace code. 

Yeah, I realized that after I hit send...

> > If not, would you entertain such extensions, and if so, could we talk
> > about what information they might provide?
> 
> The information is normally exposed through the application using the
> library. In this specific case, chan_zap (or chan_dahdi). See, e.g.:
> the 'pri' CLI commands.

Yes, but I'm told that tracking Asterisk that tightly has a tendency to
lock it up.  I'm looking to provide a realtime status board of the
status of each channel.

Cheers,
-- jra
-- 
Jay R. Ashworth                   Baylink                      jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com                     '87 e24
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647 1274

	     Those who cast the vote decide nothing.
	     Those who count the vote decide everything.
	       -- (Joseph Stalin)



More information about the asterisk-dev mailing list