Inbound texts are not delivered to WebRTC

running 4.1.0.6

Using 4 SMS numbers assigned to several users. Many use the same SMS number.
When texting from WebRTC, messages are sent without an issue and are delivered.

When a SMS is sent to VitalPBX, the WebRTC flashes “Server Error” and does not display the text. The text can be seen in the VitalPBX Customer Portal (but not in VitalPBX). This occurs if the SMS number is only used by 1 extension/WebRTC client or by several.

I receive the following message when receiving SMS messages:
] WARNING[110519]: res_pjsip.c:3338 ast_sip_update_to_uri: To address ‘401DrBSecWebRTC/sip:401DrBSecWebRTC@108.75.91.49:55626;transport=ws;x-ast-orig-host:5060=cloudvoip.arapb.com’ is not a valid SIP/SIPS URI

1 Like

Hello,

What version of VitXi do you have installed?

Regards!

Version 4.1.0.0
Thanks for looking at this. Customer is not happy and I can’t figure it out.
…m

Addl Info:
One cell number works but no others… It does not depend on the cell carrier. I receive the warning message in the sip log about the URL even for the number that can send successfully. I don’t know of any other reason why this number would not produce the “Server Error” popup in WebRTC (but id doesn’t). When I see the Server Error pop, WebRTC does not receive the SMS messge (always).

I also tried to get some webRTC dump messages via chrome://webrtc-internals/ but this doesn’t produce any logs. That was something I saw on the web for debugging such an issue.

I updated to Vital 4.1.0-7 to no avail. If I submit a paid request (willing to do that) do you believe that your support team can solve this issue?

Thanks

Hello!

Please execute the following command:

sed -i "s/if (\!\$user->hasPermissionTo('chat')) {/if (\$user \&\& \!\$user->hasPermissionTo('chat')) {/" /usr/share/vitxi/backend/app/Http/Controllers/ConversationsController.php

Then reload VitXi and try to send sms again,

Please let me know if this works for you,

Regards!

Hello,

A new version is now available, which addresses the issues reported in this post.

You can view all the details of the new version at the following link: VitXi WebRTC 4.2.0.0 Now Available

Best regards,