[Asterisk-Dev] libpri: mgt controls

Mike M no-linux-support at earthlink.net
Fri Jun 10 14:44:28 MST 2005

On Fri, Jun 10, 2005 at 03:19:19PM -0400, izo wrote:
> > Is it true that Asterisk PRI D channels always try to be "up" and there
> > are no user level controls to disable/enable it?
> AFAIK you can disable channels by not including them in
> /etc/zaptel.conf and /etc/asterisk/zapata.conf but to make changes
> you'd have to restart application which in that case means that if you
> had other PRI's that were up they'll go down.

I was looking for controls to change the D channel state under user
control while Asterisk is running.  I was curious because I wanted to
see how they worked in the code if they existed.  I think you're indirectly 
telling such controls don't exist.

I'm going to trying patching q931.c to display contents of the "struct pri"
objects so I can watch them change as they go through their lifecycle.
I only have one PRI right now so I guess that I would have a single
"struct pri" object.

BTW, the wiki page on libpri was immensely helpful :P.  Maybe I can add
some more info.


More information about the asterisk-dev mailing list