ISDN4BSD (HPS version) is going into ports

Andreas Longwitz longwitz at incore.de
Fri Jul 20 09:58:46 UTC 2012


Hi Hans,

>> One bagatelle is left: On every incoming call I see in /var/log/messages
>> kernel: i4b-L3 dss1_decode_q931_cs0_ie_cd: IEI_BEARERCAP - Unsupported
>>         B-Sub-Protocol 0x00
>> kernel: i4b: unit 0, assigned TEI = 253 = 0xfd (example),
> 
> This warning can be ignored. I4B looks for a Voice type byte which is not 
> there and the safety wrapper returns zero. Try this patch:
> 
> Modified:
>    trunk/i4b/src/sys/i4b/dss1/dss1_l3decoder.h
> Log:
> i4b: Silence warning when using HDLC.
> 
> Modified: trunk/i4b/src/sys/i4b/dss1/dss1_l3decoder.h
> ===================================================================
> --- trunk/i4b/src/sys/i4b/dss1/dss1_l3decoder.h 
> +++ trunk/i4b/src/sys/i4b/dss1/dss1_l3decoder.h 
> @@ -177,8 +177,10 @@
>               break;
>  
>             default:
> -             NDBGL3(L3_P_ERR, "IEI_BEARERCAP - "
> +             if (dss1_get_valid(buf,4)) {
> +               NDBGL3(L3_P_ERR, "IEI_BEARERCAP - "
>                      "Unsupported B-Sub-Protocol 0x%02x", temp);
> +             }
>               cd->channel_bsubprot = BSUBPROT_UNKNOWN;
>             }
>             break;
> 
> 
>> but the incoming SETUP frame is ok. Can you give me a hint how to deal
>> with this ? In /etc/isdn/isdnd.rc I do not have any subaddress specific
>> parameters.

OK, works as expected.
Further I use the patch from
http://lists.freebsd.org/pipermail/freebsd-current/2009-June/008787.html
to get rid of the "failed to align memory properly" message.

Regards,
Andreas Longwitz



More information about the freebsd-isdn mailing list