Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Feb 2002 15:56:19 +0100
From:      "Steven Looman" <fsteevie@wish.net>
To:        "ISDN list FreeBSD" <freebsd-isdn@FreeBSD.ORG>
Subject:   Re: your mail
Message-ID:  <001101c1b179$eeda2f00$0200a8c0@coyote>
References:  <20020209144003.16224F958@bert.kts.org>

next in thread | previous in thread | raw e-mail | index | archive | help
DUH! I forget to edit the 2nd i4b_ioctl.h.
Thanks... will test it is a few mins.

Subaddresses are free in Holland, as far as I know.
At least I read it a few years ago in a magazine that used the same way to
send msgs.
I'll call the KPN (the ducht telecompany) monday and ask them.

Steven
----- Original Message -----
From: "Hellmuth Michaelis" <hm@kts.org>
To: "Steven Looman" <fsteevie@wish.net>
Cc: "ISDN list FreeBSD" <freebsd-isdn@FreeBSD.ORG>
Sent: Saturday, February 09, 2002 3:40 PM
Subject: Re: your mail


> Steven Looman wrote:
>
> > I've been trying messing a bit with the i4b ioctl stuff (to add
> > subaddresses, see prev. mail), but I cannot make any working stuff.
> > Probably because I'm stupid or something ;)
>
> To add subaddressing, its likely that you have to add subaddresses to
> msg_connect_ind_t so that:
>
>  [...]
> #define  CHAN_NO  (-2)          /* call waiting (CW) for incoming       */
>         int             bprot;  /* b channel protocot, see BPROT_XXX    */
>         char            dst_telno[TELNO_MAX];   /* destination telno    */
>         char            src_telno[TELNO_MAX];   /* source telno         */
>         int             scr_ind;/* screening indicator                  */
> #define  SCR_NONE     0         /* no screening indicator transmitted   */
>  [...]
>
> might perhaps become something like:
>
>  [...]
> #define  CHAN_NO  (-2)          /* call waiting (CW) for incoming       */
>         int             bprot;  /* b channel protocot, see BPROT_XXX    */
>         char            dst_telno[TELNO_MAX];   /* destination telno    */
> char dst_subaddr[SUBADDR_MAX];
>         char            src_telno[TELNO_MAX];   /* source telno         */
> char src_subaddr[SUBADDR_MAX];
>         int             scr_ind;/* screening indicator                  */
> #define  SCR_NONE     0         /* no screening indicator transmitted   */
>  [...]
>
> This has to be changed in _BOTH_ /usr/src/sys/i386/include/i4b_ioctl.h and
> /usr/include/machine/i4b_ioctl.h so that both are _exactly_ the same.
>
> After you did the above modification, you have to compile _BOTH_ the
kernel
> and _all_ userland utilities, reinstall them and reboot.
>
>  [
>  BTW: One helping hand to get everything in sync is the constants
>
>  #define VERSION         1               /* version number       */
>  #define REL             1               /* release number       */
>  #define STEP            1               /* release step         */
>
>  in i4b_ioctl.h - they get checked when isdnd is started so that at least
>  a bit can be checked that kernel and userland is in sync. To make this
>  work, increment one of this constants (most likely STEP) with each
>  modification to any of the structs and isdnd will not start if it is not
>  in sync with the kernel.
>  ]
>
> BTW2: You are aware of the fact, that subaddresses are only available
> to (much !) extra paying subscribers of this service in most countries
> i'm aware of, are you ? (This is the reason i did not implement them.)
>
> hellmuth
> --
> Hellmuth Michaelis        Hamburg, Europe        hm@kts.org
www.kts.org
>       There is a difference between an open mind and a hole in the head.
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001101c1b179$eeda2f00$0200a8c0>