VitXi Extension not able to make or recieve calls

I installed Vitxi and initially extension was not registering so I followed these steps :

cd /usr/share/vitxi/backend/
php artisan logs:clear
php artisan websockets:ssl-config
systemctl restart vitxi
systemctl restart vitxi-worker

systemctl restart vitxi-worker gave me error :

● vitxi-worker.service - VitXi Worker Service
Loaded: loaded (/lib/systemd/system/vitxi-worker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2024-10-29 13:18:07 EDT; 10min ago
Process: 16993 ExecStartPre=/usr/bin/php artisan crontab:update (code=exited, status=1/FAILURE)
CPU: 220ms

Oct 29 13:18:07 yyy.ca systemd[1]: Failed to start VitXi Worker Service.
Oct 29 13:18:07 yyy.ca systemd[1]: vitxi-worker.service: Scheduled restart job, restart counter is at 5.
Oct 29 13:18:07 yyy.ca systemd[1]: Stopped VitXi Worker Service.
Oct 29 13:18:07 yyy.ca systemd[1]: vitxi-worker.service: Start request repeated too quickly.
Oct 29 13:18:07 yyy.ca systemd[1]: vitxi-worker.service: Failed with result ‘exit-code’.
Oct 29 13:18:07 yyy.ca systemd[1]: Failed to start VitXi Worker Service.

Now atleast extension is able to register but when I make a call, it hangs-up as soon as other party answers and for incoming it goes straight to Voicemail.

Can you please help?

Thanks

Hello, can someone please make a suggestion or provide some tip on this? I have tried various things but none worked. :frowning:

Hello!

Could you please send us screenshots of your default WebRTC profile and RTP settings,

Regards,

Here you :

Please make the following changes:

Max Video Streams: 35
Max Audio Streams: 35
RTP Keepalive: 1
RTP Timeout: 0
DTLS Verify: Fingerprint
Direct Media: No

Save and apply changes.

Also, make sure that the extensions used by VitXi users have this profile assigned to them.

1 Like

Now, incoming and outgoing calls are working but its one-way audio. In the browser, I can hear the other party but other party can’t hear.

Is your PBX behind a one-to-one NAT?

Its on Vultr’s cloud Compute and has it’s static Public IP. I am not sure if it’s behind 1-1 NAT.

Any suggestion or tips I can try to resolve one-way audio issue please?

Set up the Public and Private IP of your server in the PJSIP Settings module.

VitalPBX is on VPS on Vultr. I don’t believe it has Private IP. So this is what I configured :

I have tried with or without 127.0.0.1/8 in the Private address but still it’s one-way audio.

On the side note, I have no issue with Deskphone. Only with VitXi WebRTC

Hello,

Sorry for the delay in the response,

In addition, configure the local and public address in the RTP Settings module:

Can you clarify what is my Local Address? I looked everywhere on Vultr VPS but can’t seem to find Private IP of the server.

1 Like

Could you please check if there is an option labeled “Enable Private Network” enabled in the Network settings?

Additionally, if you do not have a private IP, the issue may be that the RTP ports are not enabled in your Vultr instance’s firewall. Could you confirm whether the port range from 10000 to 20000 is open?

I couldn’t find Enable Private Network on Vultr but I managed to enable Vultr Firewall.
As soon as I enabled the firewall, everything stopped working (understandably), So I had to open these ports :

Everything appears to work except VitXi, now extension is not registering at all :frowning:

Do you get any error messages in VitXi or does the extension just appear as unregistered?

No error, it’s just shows red dot and says unregistered

Hi,

Facing a similar kind of issue. The extension is showing registered but getting error “Timeout waiting for socket to open”.
It’s an old installation and was working fine. Nothing changed.

Extension is showing registered, I can make calls but keep getting this error. Plus, it stopped showing the Call history.

System info -

Please verify that port 6001 is enabled in VitalPBX and in any firewall you have active

Then, run the following commands:

vitalpbx apply-firewall
cd /usr/share/vitxi/backend/
php artisan websockets:ssl-config
systemctl restart vitxi && systemctl restart

After that, reload the app by pressing Ctrl+F5 or Ctrl + Shift + R

1 Like

Thanks for all the Support.
Issue resolved.

1 Like