[Asterisk-Dev] libpri: mgt controls
Matthew Boehm
mboehm at cytelcom.com
Sat Jun 11 21:25:54 MST 2005
You might check this out:
http://bugs.digium.com/view.php?id=3450
Although it needs to be updated for recent CVS changes. If the OP doesn't
upload one, I will on Monday. (If I remember)
-Matthew
> From: "C. Maj" <cmaj-SPAM at freedomcorpse.com>
> Reply-To: Asterisk Developers Mailing List <asterisk-dev at lists.digium.com>
> Date: Sat, 11 Jun 2005 18:36:21 -0400 (EDT)
> To: Asterisk Developers Mailing List <asterisk-dev at lists.digium.com>
> Subject: Re: [Asterisk-Dev] libpri: mgt controls
>
> On Fri, 10 Jun 2005, Mike M waxed:
>
>> 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.
>
> You'd need to hack a CLI control into chan_zap and let it
> call stuff in libpri. Some masking of the propagated
> d-channel down events from libpri to chan_zap would be
> needed, otherwise, * will try to get it up for you.
>
>> 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.
>
> There's also "pri debug" and "pri intense debug" CLI
> commands to log d-channel activity.
>
>
> --
> Chris Maj, Rochester
> cmaj_at_freedomcorpse_dot_com
> Pronunciation Guide: Maj == May
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list