# Setting up Sangoma Connect Server - Trouble installing PJSIPCallIDToChannel

**URL:** <https://community.freepbx.org/t/setting-up-sangoma-connect-server-trouble-installing-pjsipcallidtochannel/82669>\
**Category:** Sangoma Talk / Software Phone\
**Created:** [April 15, 2022, 7:58pm UTC](https://community.freepbx.org/t/setting-up-sangoma-connect-server-trouble-installing-pjsipcallidtochannel/82669 "2022-04-15T19:58:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrosu](https://community.freepbx.org/letter_avatar_proxy/v4/letter/m/439d5e/32.png) [@mrosu](https://community.freepbx.org/u/mrosu)\
**Post date:** [April 15, 2022, 7:58pm UTC](https://community.freepbx.org/t/setting-up-sangoma-connect-server-trouble-installing-pjsipcallidtochannel/82669/1 "2022-04-15T19:58:49Z")

</div>

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](https://wiki.freepbx.org/display/CONNECT/How+to+Setup+the+Sangoma+Phone+Desktop+Client+on+the+PBX).

When I got down to the RPMS section:

```auto
[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.

```

```auto
[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.

---

<div class="post-metadata">

**Author:** ![dolesec](https://community.freepbx.org/user_avatar/community.freepbx.org/dolesec/32/11405_2.png) [@dolesec](https://community.freepbx.org/u/dolesec)\
**Post date:** [April 15, 2022, 8:17pm UTC](https://community.freepbx.org/t/setting-up-sangoma-connect-server-trouble-installing-pjsipcallidtochannel/82669/2 "2022-04-15T20:17:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sorvani](https://community.freepbx.org/user_avatar/community.freepbx.org/sorvani/32/19434_2.png) [@sorvani](https://community.freepbx.org/u/sorvani)\
**Post date:** [April 16, 2022, 5:39pm UTC](https://community.freepbx.org/t/setting-up-sangoma-connect-server-trouble-installing-pjsipcallidtochannel/82669/3 "2022-04-16T17:39:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mrosu](https://community.freepbx.org/letter_avatar_proxy/v4/letter/m/439d5e/32.png) [@mrosu](https://community.freepbx.org/u/mrosu)\
**Post date:** [April 18, 2022, 2:29pm UTC](https://community.freepbx.org/t/setting-up-sangoma-connect-server-trouble-installing-pjsipcallidtochannel/82669/4 "2022-04-18T14:29:10Z")

</div>

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

```auto
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?

---

<div class="post-metadata">

**Author:** ![mrosu](https://community.freepbx.org/letter_avatar_proxy/v4/letter/m/439d5e/32.png) [@mrosu](https://community.freepbx.org/u/mrosu)\
**Post date:** [April 19, 2022, 6:06pm UTC](https://community.freepbx.org/t/setting-up-sangoma-connect-server-trouble-installing-pjsipcallidtochannel/82669/5 "2022-04-19T18:06:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![sorvani](https://community.freepbx.org/user_avatar/community.freepbx.org/sorvani/32/19434_2.png) [@sorvani](https://community.freepbx.org/u/sorvani)\
**Post date:** [April 19, 2022, 7:20pm UTC](https://community.freepbx.org/t/setting-up-sangoma-connect-server-trouble-installing-pjsipcallidtochannel/82669/6 "2022-04-19T19:20:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mrosu](https://community.freepbx.org/letter_avatar_proxy/v4/letter/m/439d5e/32.png) [@mrosu](https://community.freepbx.org/u/mrosu)\
**Post date:** [April 19, 2022, 8:33pm UTC](https://community.freepbx.org/t/setting-up-sangoma-connect-server-trouble-installing-pjsipcallidtochannel/82669/7 "2022-04-19T20:33:36Z")

</div>

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](https://wiki.freepbx.org/pages/viewpage.action?pageId=3571781) 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.

---

<div class="post-metadata">

**Author:** ![mrosu](https://community.freepbx.org/letter_avatar_proxy/v4/letter/m/439d5e/32.png) [@mrosu](https://community.freepbx.org/u/mrosu)\
**Post date:** [April 19, 2022, 8:51pm UTC](https://community.freepbx.org/t/setting-up-sangoma-connect-server-trouble-installing-pjsipcallidtochannel/82669/8 "2022-04-19T20:51:57Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![system](https://community.freepbx.org/uploads/default/original/3X/f/7/f7056d57e04fdbf71c6ad967e1ced351317f5c3f.png) [@system](https://community.freepbx.org/u/system)\
**Post date:** [April 26, 2022, 8:52pm UTC](https://community.freepbx.org/t/setting-up-sangoma-connect-server-trouble-installing-pjsipcallidtochannel/82669/9 "2022-04-26T20:52:01Z")

</div>

Closed on April 26, 2022, 8:52pm UTC

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