New SIP client, SMS and Fax apps

Since many Nextcloud users showed interest for a SIP client app, here it is: SIP Trip Phone. It’s in fact a browser phone for audio calls. It can be connected directly to the SIP provider, if the provider allows direct connections from WebRTC applications, or it can be connected to the provider via Asterisk. You can install Asterisk on your VPS, alongside Nextcloud, then connect Asterisk to a SIP provider like Telnyx or Localphone, so that you can use a real phone number acquired from the SIP provider, to make/receive phone calls to/from any phone number in the world.

If you want to send/receive SMS messages and faxes in Nextcloud, please check SMS Relentless and Pax Fax respectively.

If in addition to audio phone calls, you need video calls, video conferences and text chat, you can use Roundpin, but this is a standalone application, independent from Nextcloud.

Detailed documentation is offered for all these apps. There is no affiliation between us and the SIP providers mentioned in the documentation. We chose them only for their low prices and good quality services. In fact, SIP Trip Phone can be used with any SIP provider, if that provider allows external Asterisk servers to connect to them or if it allows direct connections from WebRTC applications.

1 Like

We recommend Nginx and we describe in the documentation how to configure Nginx to serve Nextcloud and the 3 applications mentioned above. However, if anyone is interested to use Apache instead of Nginx to serve Nextcloud and SIP Trip Phone, SMS Relentless and Pax Fax, here is how to do it:

  • Create the configuration file:
nano /etc/apache2/sites-available/nextcloud.conf
  • Add the following content inside this file:
<VirtualHost *:80>

        Redirect permanent /


<VirtualHost *:443>

        DocumentRoot /var/www/

        Protocols h2 http/1.1

        ProxyRequests off
        SSLProxyEngine on
        ProxyPreserveHost on

        Header always set Strict-Transport-Security "max-age=63072000;"

        SSLEngine on
        SSLProtocol All -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
        SSLUseStapling on
        SSLHonorCipherOrder on

        SSLCertificateFile       /etc/letsencrypt/live/
        SSLCertificateKeyFile    /etc/letsencrypt/live/
        SSLCertificateChainFile  /etc/letsencrypt/live/
        SSLOpenSSLConfCmd DHParameters  /etc/nginx/ssl/dhparam.pem

        <Directory /var/www/>

             Require all granted
             Options FollowSymlinks MultiViews
             AllowOverride All

             <IfModule mod_dav.c>
                Dav off

             SetEnv HOME /var/www/
             SetEnv HTTP_HOME /var/www/
             Satisfy Any

        <FilesMatch \.php$>
             SetHandler "proxy:unix:/var/run/php/php7.4-fpm.sock|fcgi://localhost"

        <Directory /var/www/>
             DirectoryIndex index.html

	<Location /var/www/>

             Order allow,deny
             Allow from all

             RequestHeader  set X-Real-IP $remote_addr
             RequestHeader  set Host $http_host
             RequestHeader  set X-Forwarded-For $proxy_add_x_forwarded_for
             RequestHeader  set Upgrade $http_upgrade
             RequestHeader  set Connection "upgrade"


        LogLevel warn
        ErrorLog /var/log/sites/
        CustomLog /var/log/sites/ combined


SSLStaplingCache shmcb:/tmp/stapling_cache(128000)

Replace with your domain.

  • Create the directory to store the access log and the error log:
mkdir -p /var/log/sites/
  • Enable the newly created configuration file:
a2ensite nextcloud.conf
  • Enable the necessary Apache modules:
a2enmod rewrite headers env dir mime setenvif ssl proxy proxy_fcgi
  • Restart Apache:
systemctl restart apache2
  • Configure logrotate to rotate the newly created log files:
nano /etc/logrotate.d/apache2
  • Add the following block at the bottom of the file:
/var/log/sites/ /var/log/sites/ {
    rotate 10
    create 0640 www-data adm
    size 2M
        if [ -d /etc/logrotate.d/httpd-prerotate ]; then
            run-parts /etc/logrotate.d/httpd-prerotate
        if pgrep -f ^/usr/sbin/apache2 > /dev/null; then
            invoke-rc.d apache2 reload 2>&1 | logger -t apache2.logrotate

Replace with your domain.