How to update to dahdi 3.3.0-4 in EL7 and Rocky 8 with full dkms support for multiple kernels.

How to update to dahdi 3.3.0-4 in EL7 and Rocky 8 with full dkms support for multiple kernels.

Make sure the ScopTEL license is downloaded and in an entitled state.

scopserv_yum update

Check dahdi build status with the following command:
dkms status
Example:

[root@scopserv ~]# dkms status
dahdi/3.3.0-4.el7.scopserv, 3.10.0-1160.71.1.el7.x86_64, x86_64: installed
wanpipe/7.0.38-1.el7.scopserv, 3.10.0-1160.114.2.el7.x86_64, x86_64: installed
wanpipe/7.0.38-1.el7.scopserv, 3.10.0-1160.71.1.el7.x86_64, x86_64: installed

GUI Commit (to sanity check udev)

Restart dahdi and asterisk in the correct order.

service asterisk stop
service dahdi restart
service asterisk start

Verify dahdi service status with:
systemctl status dahdi.service -l

If dahdi is broken and won't update due to conflicts then check for the installed packages in order to remove them.
Stop all related services:
service asterisk stop
service dahdi stop

Determine which packages are installed in order to forcefully remove them.
Determine which dahdi packages are installed and remove them
rpm -qa | grep dahdi

In this example the returned output is:

kmod-dahdi-3.2.0-14.el8.scopserv.x86_64
dahdi-linux-3.2.0-3.el8.scopserv.x86_64

So the package names are:
kmod-dahdi dahdi-linux

Next determine which wanpipe packages are installed in order to remove them:

rpm -qa |grep wanpipe

In this example the returned output is:

kmod-wanpipe-7.0.34-14.el8.scopserv.x86_64
wanpipe-7.0.34-1.el8.scopserv.x86_64

So the package names are:
kmod-wanpipe wanpipe

This command will remove the conflicting packages:
rpm -e kmod-dahdi dahdi-linux kmod-wanpipe wanpipe --nodeps

Then install the packages with:

scopserv_yum install wanpipe dahdi dahdi-tools

UNLESS you are recovering from the licensing server DNS error, in this case use this command:
scopserv_yum --enablerepo=scopserv update

When done execute a telephony commit to sanity check the udev permissions.
/var/www/scopserv/telephony/scripts/commit

Check the installation status with:
dkms status

Which in this case prints the following:

dahdi/3.3.0-4.el8.scopserv, 4.18.0-513.5.1.el8_9.x86_64, x86_64: installed
wanpipe/7.0.38-1.el8.scopserv, 4.18.0-513.5.1.el8_9.x86_64, x86_64: installed

Start the services:
service dahdi restart
service asterisk start

Verify service status with:
systemctl status dahdi.service -l

    • Related Articles

    • Rocky 8 - ScopTel Installation Guide

      Installation Until ScopServ produces an ISO based installation media the official installation procedure is as follows: Download the minimal Rocky 8 ISO installation ISO from Rocky's website ...
    • How to fix Dahdi-Wanpipe Drivers in ScopTEL

      If you have updated your ScopTEL PBX server  to use a new CentOS kernel, it can sometimes happen that DAHDI/WANPIPE drivers need to be recompiled manually. To verify if dahdi is properly compiled and working: From ssh do: timertest You should see a ...
    • How to patch licensing server download DNS failure based on OS and installed php version.

      Procedure: Determine the Operating System version with this command in ssh/console cat /etc/redhat-release The command will print the Operating System version. Example: [root@pbx ~]# cat /etc/redhat-release CentOS release 6.10 (Final) C6 systems are ...
    • CentOS 5 Official Support Closure

      CentOS 5 Official Support Closure As previously advised in the ScopServ blogs and ScopNEWS, CentOS 5 has now officially reached its End Of Life date. As a result, CentOS has officially shutdown their official repositories for CentOS EL5. From now, if ...
    • Fin du support pour CentOS 5

      Fin du support pour CentOS 5 Tel que nous l’avons précédemment mentionné dans notre Blog et dans le ScopNEWS, CentOS 5 a atteint sa fin de vie. CentOS a donc officiellement fermé le référentiel pour CentOS EL5. À partir de maintenant, si vous mettez ...