Setting up Sangoma Connect Server - Trouble installing PJSIPCallIDToChannel

I am attempting to setup Sangoma Connect on FreePBX (16.0.19) and am running into an issue installing PJSIPCallIDToChannel.

I am following the instructions here.

When I got down to the RPMS section:

[root@freepbx mrosu]# yum clean all; yum search freepbx_asterisk_modules
Loaded plugins: fastestmirror, versionlock
Cleaning repos: sng-base sng-epel sng-extras sng-pkgs sng-sng7php74 sng-updates veeam wazuh zabbix zabbix-non-supported
Cleaning up list of fastest mirrors
Other repos take up 368 M of disk space (use --verbose for details)
Loaded plugins: fastestmirror, versionlock
Determining fastest mirrors
sng-base                                                                                                                                                                     | 3.6 kB  00:00:00
sng-epel                                                                                                                                                                     | 2.9 kB  00:00:00
sng-extras                                                                                                                                                                   | 2.9 kB  00:00:00
sng-pkgs                                                                                                                                                                     | 3.4 kB  00:00:00
sng-sng7php74                                                                                                                                                                | 3.4 kB  00:00:00
sng-updates                                                                                                                                                                  | 2.9 kB  00:00:00
veeam                                                                                                                                                                        | 3.3 kB  00:00:00
wazuh                                                                                                                                                                        | 3.4 kB  00:00:00
zabbix                                                                                                                                                                       | 2.9 kB  00:00:00
zabbix-non-supported                                                                                                                                                         | 2.9 kB  00:00:00
(1/11): sng-base/7-8.2003.5.el7.sangoma/x86_64/group_gz                                                                                                                      | 153 kB  00:00:00
(2/11): sng-extras/7-8.2003.5.el7.sangoma/x86_64/primary_db                                                                                                                  | 206 kB  00:00:00
(3/11): sng-sng7php74/7-8.2003.5.el7.sangoma/x86_64/primary_db                                                                                                               | 118 kB  00:00:00
(4/11): veeam/primary_db                                                                                                                                                     |  20 kB  00:00:00
(5/11): sng-base/7-8.2003.5.el7.sangoma/x86_64/primary_db                                                                                                                    | 6.1 MB  00:00:00
(6/11): sng-pkgs/7-8.2003.5.el7.sangoma/x86_64/primary_db                                                                                                                    | 1.1 MB  00:00:00
(7/11): wazuh/primary_db                                                                                                                                                     | 143 kB  00:00:00
(8/11): zabbix-non-supported/x86_64/primary_db                                                                                                                               | 3.7 kB  00:00:00
(9/11): sng-updates/7-8.2003.5.el7.sangoma/x86_64/primary_db                                                                                                                 | 4.5 MB  00:00:00
(10/11): sng-epel/7-8.2003.5.el7.sangoma/x86_64/primary_db                                                                                                                   | 7.3 MB  00:00:01
(11/11): zabbix/x86_64/primary_db                                                                                                                                            | 152 kB  00:00:01
============================================================================== N/S matched: freepbx_asterisk_modules ===============================================================================
asterisk13.21-freepbx_asterisk_modules.x86_64 : Provides additional asterisk modules for freepbx systems
asterisk16.8-freepbx_asterisk_modules.x86_64 : Provides additional asterisk modules for freepbx systems
asterisk16cert-freepbx_asterisk_modules.x86_64 : Provides additional asterisk modules for freepbx systems
asterisk18.0-freepbx_asterisk_modules.x86_64 : Provides additional asterisk modules for freepbx systems
asterisk19.0-freepbx_asterisk_modules.x86_64 : Provides additional asterisk modules for freepbx systems

  Name and summary matches only, use "search all" for everything.
[root@freepbx mrosu]# yum install asterisk16.8-freepbx_asterisk_modules.x86_64
Loaded plugins: fastestmirror, versionlock
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package asterisk16.8-freepbx_asterisk_modules.x86_64 0:1.0-0.sng7 will be installed
--> Processing Dependency: asterisk16 for package: asterisk16.8-freepbx_asterisk_modules-1.0-0.sng7.x86_64
--> Running transaction check
---> Package asterisk16.x86_64 0:16.25.0-1.sng7 will be installed
--> Processing Dependency: asterisk16-voicemail = 16.25.0-1.sng7 for package: asterisk16-16.25.0-1.sng7.x86_64
--> Processing Dependency: asterisk16-doc = 16.25.0 for package: asterisk16-16.25.0-1.sng7.x86_64
--> Processing Dependency: asterisk16-dahdi = 16.25.0-1.sng7 for package: asterisk16-16.25.0-1.sng7.x86_64
--> Processing Dependency: asterisk16-core = 16.25.0-1.sng7 for package: asterisk16-16.25.0-1.sng7.x86_64
--> Processing Dependency: unbound-libs for package: asterisk16-16.25.0-1.sng7.x86_64
--> Running transaction check
---> Package asterisk16-core.x86_64 0:16.25.0-1.sng7 will be installed
---> Package asterisk16-dahdi.x86_64 0:16.25.0-1.sng7 will be installed
---> Package asterisk16-doc.x86_64 0:16.25.0-1.sng7 will be installed
---> Package asterisk16-voicemail.x86_64 0:16.25.0-1.sng7 will be installed
---> Package unbound-libs.x86_64 0:1.6.6-5.el7_8 will be installed
--> Processing Conflict: asterisk13-core-13.38.3-1.sng7.x86_64 conflicts asterisk16-core
--> Processing Conflict: asterisk13-13.38.3-1.sng7.x86_64 conflicts asterisk16
--> Processing Conflict: asterisk16-16.25.0-1.sng7.x86_64 conflicts asterisk13
--> Finished Dependency Resolution
Error: asterisk16 conflicts with asterisk13-13.38.3-1.sng7.x86_64
Error: asterisk13 conflicts with asterisk16-16.25.0-1.sng7.x86_64
Error: asterisk13-core conflicts with asterisk16-core-16.25.0-1.sng7.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

As you can see, I am running into the error above and I’m not clear as to how to resolve it.

if you’re using 16 then yum erase asterisk13* might do the trick

non zero chance it might also trash the system

be sure to have a backup

You mnatch that yum install to the version of asterisk you are using, not FreePBX.

yum erase and yum remove both give me the same error, as it is trying to remove asterisk 16:

Loaded plugins: fastestmirror, versionlock
Resolving Dependencies
--> Running transaction check
---> Package asterisk13.x86_64 0:13.38.3-1.sng7 will be erased
---> Package asterisk13-addons.x86_64 0:13.38.3-1.sng7 will be erased
---> Package asterisk13-addons-bluetooth.x86_64 0:13.38.3-1.sng7 will be erased
---> Package asterisk13-addons-core.x86_64 0:13.38.3-1.sng7 will be erased
---> Package asterisk13-addons-mysql.x86_64 0:13.38.3-1.sng7 will be erased
---> Package asterisk13-addons-ooh323.x86_64 0:13.38.3-1.sng7 will be erased
---> Package asterisk13-core.x86_64 0:13.38.3-1.sng7 will be erased
--> Processing Dependency: asterisk-core for package: freepbx16-16.1-1.sng7.x86_64
---> Package asterisk13-curl.x86_64 0:13.38.3-1.sng7 will be erased
---> Package asterisk13-dahdi.x86_64 0:13.38.3-1.sng7 will be erased
---> Package asterisk13-doc.x86_64 0:13.38.3-1.sng7 will be erased
---> Package asterisk13-flite.x86_64 0:2.4-9_2505af1.sng7 will be erased
---> Package asterisk13-odbc.x86_64 0:13.38.3-1.sng7 will be erased
---> Package asterisk13-ogg.x86_64 0:13.38.3-1.sng7 will be erased
---> Package asterisk13-res_digium_phone.x86_64 0:3.6.5-1.sng7 will be erased
---> Package asterisk13-resample.x86_64 0:13.38.3-1.sng7 will be erased
---> Package asterisk13-snmp.x86_64 0:13.38.3-1.sng7 will be erased
---> Package asterisk13-voicemail.x86_64 0:13.38.3-1.sng7 will be erased
--> Running transaction check
---> Package freepbx16.x86_64 0:16.1-1.sng7 will be erased
--> Processing Dependency: freepbx16 for package: sangoma-pbx16-2204-1.sng7.noarch
--> Processing Dependency: freepbx16 for package: sangoma-pbx16-2204-1.sng7.noarch
--> Running transaction check
---> Package sangoma-pbx16.noarch 0:2204-1.sng7 will be erased
--> Finished Dependency Resolution
Error: Trying to remove "sangoma-pbx16", which is protected

Is there anything else I can do? I really need to set up Sangoma Connect?

I tried using rpm -e --nodeps “asterisk13 packages” to remove all asterisk13* packages, but asterisk would not start up anymore.

I think somehow my freepbx is still using old packages through the various upgrades…

Sounds like maybe I should re-install freepbx and reload a full backup, unless anyone has any idea how to get my system to properly stop using asterisk13 packages and remove them.

I already clarified this for you… Asterisk version != FreePBX version

Did you restore your PBX back to a working state? If not, just start over with a new install.

Oh I see what you are saying, The Asterisk version is 13.x, while FreePBX is 16.x.

I incorrectly assumed the Asterisk version would be the same as the FreePBX version.

So my options are to install the Asterisk 13 package versions or upgrade Asterisk from 13.x to 16.x.

I see there’s instructions here for upgrading the asterisk version, which I think I would like to do.

We’re running a virtual machine for FreePBX so it’s very easy to mess with.

1 Like

I successfully installed asterisk 18.x over 13.x and the rpm module as required.

Thank you for your help, and I apologize for any frustration I surely caused!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.