[Bristuff-users] "Cause 34" on free channel

Gunnar Schaller linux at nowin.de
Thu May 29 14:12:20 CEST 2008


Hello,
Thank you very much for your help. As discussed on Asterisk-Tag in
Berlin there is definitly a problem with power-saving mode/ layer 1
not active the whole time. So if the qozap driver handles it correctly
the failure is maybe in Asterisk or libpri...
I now commented the line 1005 and 1010 ("if (debug > 2)") in qozap.c
out so the qozap driver prints every try to re-activate the layer 1.
It would be fine to have somebody else trying this. We need the error
again to find out what happens in the inside of
Asterisk/libpri/zaptel/qozap. I hope we can fix it.

Thanks,
Gunnar


Wednesday, May 28, 2008, 8:23:05 PM, you wrote:

> Am 09.05.2008 14:30 Uhr schrieb Michiel van Baak:

>> On 14:08, Fri 09 May 08, Gunnar Schaller wrote:
>>> Is there no way to handle it on the Asterisk side? Something to force
>>> the layer 1 to be up all the time? Does the qozap driver detect the
>>> idle mode/ energy saving?

> If layer 1 is going down, the qozap driver will detect this. It will 
> also printk() a message if you load the driver with debug=n. If n > 2, 
> you will also see a message from the driver indicating that it tried to 
> re-enable layer 1.

>> There's no way to keep the layer 1 up with the qozap driver.
>> You really need your telco to disable it

> This is not correct. If layer 1 goes down, the HFC chips will signal 
> this and qozap will try to re-enable layer 1. Look at 
> bristuff-0.3.0-PRE-1y-q/qozap/qozap.c, line 1000 ff:

> if (l1state == 3) {
>      qoztmp->st[st].l1up = 0;
>      if (qoztmp->st[st].t3 > -1)  {
>          /* keep layer1 up, if the span is started. */
>          if (qoztmp->spans[st].flags & ZT_FLAG_RUNNING) {
>              if (debug > 2)
>                  printk("qozap: re-activating layer1 span %d\n", st);
>              qoz_outb(qoztmp,qoz_A_ST_WR_STA,0x60);

> Cheers,
> Henning Holtschneider
> --
> LocaNet oHG - http://www.loca.net
> Lindemannstrasse 81, D-44137 Dortmund
> tel +49 231 91596-25, fax +49 231 91596-55
> sip 25 at voip.loca.net

> Registergericht Amtsgericht Dortmund HRA 14208
> Geschäftsführer Sven Haufe, Henning Holtschneider

> _______________________________________________
> Bristuff-users mailing list
> Bristuff-users at lists.three-dimensional.net
> http://lists.three-dimensional.net/mailman/listinfo/bristuff-users



More information about the Bristuff-users mailing list