Sangoma Desktop

Hello!

I have been running Sangoma Connect for a while, using the mobile app, but I can’t connect Desktop clients. When I try to log in a desktop app I get: This PBX is not supported, please contact your administrator.

Do I need to enable something else aside from the Sangoma Connect settings?

Hi @betin1975 It looks like the sangoma RTAPI service is not running on your system, you can confirm the status with the below command .

fwconsole pm2 --list

If its not running, start it with fwconsole start sangomartapi
Also you can refer the this wiki for instructions on configuring the desktop client .https://sangomakb.atlassian.net/wiki/spaces/SS1/pages/31162639/Softphones+-+How+to+Setup+Sangoma+Phone+Desktop+on+the+PBX

1 Like

Thank you very much for your reply.
I have tried running the command, but I get an error:

fwconsole start sangomartapi

Running FreePBX startup…

Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf

Setting Permissions…

Setting base permissions…Done in 2 seconds

Setting specific permissions…

69736 [============================]

Finished setting permissions

Unable to run Pre-Asterisk hooks, because Asterisk is already running on PID 8073 and has been running for 18 hours, 19 minutes, 43 seconds

This is the output from fwconsole pm2 --list:±--------------------------
| Process Name
+
| core-calltransfer-monitor
| core-fastagi
| sangomaconnect
| ucp
| xmpp |
| restapps
| zulu |
±--------------------------±-----±-------±---------±---------------------±-----±---------+

did you enable it for the extension/user

Thank you @ccc-canada. When I went in to enable it, I see this message:

==============================
The following error(s) were detected

  • Sangoma Phone Desktop Client requires Sangoma Realtime API module. Please install/enable it.
  • A mandatory rpm package (‘asteriskXX.X-freepbx_asterisk_modules’ - XX.X stands for your asterisk version) is missing. Please visit the Wiki to find the RPM corresponds to your running version of asterisk and install the package and then execute 'asterisk -rx “core restart now” command to load the configuration.

For more information about this issue please see: https://wiki.freepbx.org/display/CONNECT/Sangoma+Phone+Desktop+Client

When I try to install it, I get the error I mentioned in my reply to @pramarajan. I am not sure how to deal with that.

Hi @betin1975
Seems like RTAPI module may be disabled, can you check and enable it by upgrading to latest,
also looks like required freepbx_asterisk_modules rpm is missing in the system which shows the error

Follow the below wiki and install the missing rpm’s and then enable the Sangoma Phone Desktop and give a try.

Thank you @Santhosh, that helped! Now I am only missing this:

The following error(s) were detected

A mandatory rpm package (‘asteriskXX.X-freepbx_asterisk_modules’ - XX.X stands for your asterisk version) is missing. Please visit the Wiki to find the RPM corresponds to your running version of asterisk and install the package and then execute 'asterisk -rx “core restart now” command to load the configuration.

Since this is a production PBX, I want to be sure I am not taking a huge risk. Is the module I am missing listed in the Module Admin Menu, or does it have to be done on CLI?

Thanks again.

@betin1975
You need to check for the missing RPMs from the CLI and follow the steps mentioned in the wiki to install them.

It is recommended to perform this during non-production hours, as installing the RPMs requires an Asterisk restart to resolve the error, which is not advisable during production time.

Understood, thanks for your patience.
Just one more question. I am running version 18.6, and I see two options:

asterisk18.0-freepbx_asterisk_modules.x86_64
asterisk18cert-freepbx_asterisk_modules.x86_64

What is the difference?

Cert versions are only for people with Sangoma support contracts for Asterisk. They are only supported in the exact configuration for which they are certified, which may omit some features, e.g. I’m not sure if certified 18 includes chan_sip.

If you are asking for support here, you probably don’t have such a contract.

Thank you very much. You are correct, I don’t have a support contract and you have given me the answer.

Thanks to everybody that helped me pull this off.

After succesfully installing the needed libraries, it is working now:

| Process Name | PID | Status | Restarts | Uptime | CPU | Mem |
±--------------------------±------±-------±---------±-----------------------±-----±---------+
| core-calltransfer-monitor | 8343 | online | 0 | 14 days, 3 hours | 0% | 12.67MB |
| core-fastagi | 8447 | online | 0 | 14 days, 3 hours | 0.3% | 28.43MB |
| sangomaconnect | 8772 | online | 0 | 14 days, 3 hours | 0.4% | 67.52MB |
| ucp | 15645 | online | 3 | 14 days, 3 hours | 0.3% | 58.50MB |
| xmpp | 9078 | online | 0 | 14 days, 3 hours | 0.3% | 92.50MB |
| zulu | 9721 | online | 0 | 14 days, 3 hours | 0.4% | 246.87MB |
| sangomartapi | 13282 | online | 0 | 6 days, 10 hours | 0.6% | 56.80MB |
| restapps | 20011 | online | 0 | 20 minutes, 46 seconds | 0% | 35.28MB |
±--------------------------±------±-------±---------±-----------------------±-----±---------+