ISDN4BSD by HPS - Some more instructions needed

Oliver von Bueren maillist at
Sat Jan 6 08:17:25 PST 2007

Hi Hans Petter

That worked great, after getting the newest version by svn and doing a 
make help I've seen that you point that out there as well.

For others who perhaps have the same issue, here is the short form of 
what I did:

0. svn ... svn://    # Get the newest version of i4b 
by HPS (into a new directory)
1. portupgrade -R asterisk    # Update asterisk for a newer version if 
2. make deinstall    # Uninstall (old version of) i4b by HPS with:
3. /usr/src> make update  # Update FreeBSD, in my case to 6.1-RELEASE-p11
4. make buildworld / .... # FreeBSD update process as usual, but without 
a reboot yet!
5. i4b/trunk/i4b/FreeBSD.i4b> make S=../src package
6. i4b/trunk/i4b/FreeBSD.i4b> make install
7. i4b/trunk/chan_capi> gmake all install
8. /usr/src> make buildkernel KERNCONF=....   # build the kernel with 
i4b configured
9. /usr/src> make installkernel KERNCONF=...   # install kernel
10. reboot
11. /usr/src> make installworld  

This is the long run with rebuilding world. If no FreeBSD update is 
done, but only i4b, the following should do: 0, 2, 5, 6, 7, 8, 9, 10

For anyone not familiar with buildworld please consult the FreeBSD 
manual for a more detailed version of it. And for the compile options to 
reduce time for re-building the kernel after just a i4b update, see the 
help files by HPS.


Hans Petter wrote:
> Hi Oliver,
> On Thu, 04 Jan 2007 18:06:41 +0100
> Oliver von Bueren wrote:
> > Hi to all.
> >
> > I'm running a FreeBSD 6.10-RELEASE-p10 at the moment and
> >have a few small questions with the handling of the
> >ISDN4BSD package from
> > by Hans
> >Petter Selasky (short HPS:-)).
> >
> >First of all, it looks like this is the only available
> >option to run passive ISDN cards with Asterisk on
> >FreeBSD.I've got that combination up and running with
> >some issues (call is dropped by i4b/asterisk/??? after
> >about 30 secs). As there have been changes to the source
> >by HPS since 1.6.1 I'm currently installing subversion to
> >update i4b. And now the questions start.
> >
> If you get calls dropped, try running the tool "isdndecode" given the 
> parameter "-u 0" where "0" is the controller number you wish to log. 
> Then record the standard output and put it somewhere or mail it to me, 
> and I will have a look.
> > - How is i4b by HPS supposed to be updated? Is it
> >correct to do a "make deinstall" of the 1.6.1 and then a
> >"make install" of the new one?
> The correct is to "make deinstall" the old one and then "make install" 
> the new one.
> > - About the same "issue" with updating the base system
> >to get to the next patch release or release of FreeBSD.
> >Is it required to make a deinstall of i4b by HPS followed
> >by a /usr/src>make update / buildworld-Process and then
> >re-installing it all?
> It might be a good idea to CVSUP your FreeBSD kernel and userland 
> sources before you install the I4B driver. Depending on how much has 
> changed in the kernel sources you should consider to "make a new 
> world", to reduce problems with incompatible kernel ioctls.
> > - And to make this hole thing complete, just another
> >humble opinion about i4b in general. I've been using i4b
> >since a 4.x version of FreeBSD for some small
> >applications. That time it was good and "new". Nowadays
> >the built-in version of i4b has some deficits, namely no
> >CAPI for passive cards. So what do YOU (meaning users of
> >i4b) think about the idea, that the "new" i4b by HPS
> >should be integrated into the base FreeBSD. My opinion
> >is, that this would enhance the functionality of FreeBSD
> >in that area and all the FreeBSD users would benefit.
> >
> --HPS

More information about the freebsd-isdn mailing list