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