This afternoon I upgraded our Asterisk server from Ubuntu Gutsy to Ubuntu Hardy (8.04.1).
Hardy used the 2.6.24 kernel which the mISDN driver has some issues with. I tried the mISDN-1_1_7_2 and mISDN-1_1_8 which both failed to compile against the kernel.
I had to use the mISDN drivers from the git repository. Asterisk 1.4 includes the Chan mISDN drivers and these seemed to conflict and i upgraded Asterisk to 1.4.21.2. FreePBX configuration remained in place but in the new Asterisk version, the structure of /etc/asterisk/asterisk.conf has changed.
It wouldn't listen to the astrundir and kept trying to create the files in /var/run which the user 'asterisk' had no permissions to do.
(Old asterisk.conf setup with FreePBX 2.4.0)
[global]
astetcdir => /etc/asterisk
astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astagidir => /usr/share/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run/asterisk
astlogdir => /var/log/asterisk
(New asterisk.conf)
[directories]
astetcdir => /etc/asterisk
astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astagidir => /usr/share/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run/asterisk
astlogdir => /var/log/asterisk
That pretty much solved it. Hope this helped someone.