UCP webphone not working anymore

ucp
Tags: #<Tag:0x00007f24c13d2920>

(Belgique) #1

Hello everybody,

I have a problem where i am completly lost

Since 2 weeks (after an update ?), the webrtc phone doesn’t work any more on the UCP module.

I got a message “unable to authenticate with the UCP Node Server” after logging

in console log of Chrome, message like

"[Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/."

and
“VM8711:40 [Deprecation] The rtcpMuxPolicy option is being considered for removal and may be removed no earlier than M62, around October 2017. If you depend on it, please see https://www.chromestatus.com/features/5654810086866944 for more details.”

when i try to do a call , there one ring in the web interface, the call is done but no sound.

If i receive a call, no sound too

any idea ? I don’t know what to do…

thanks a lot

Pierre

"


UCP module, webrt no audio anymore
(Joshua C. Colp) #2

Is this a duplicate of UCP phone call doesn't work (call done but no sound) ?


(Belgique) #3

yes, but with new info. I go a strange message saying that my message was hidden then i post it again. Maybe it was not the good way, If yes, i am sorry


(Joshua C. Colp) #4

You can edit posts using the wrench at the top right, or post a new comment.


(Belgique) #5

extra info : i don’t understand why but if i connect from local network, it works to call local phone on the LAN… I check the NAT, nothing special

i am lost…

Something with STUN ???


(Belgique) #6

Hello everybody,

I have a problem where i am completly lost

Since 2 weeks (after an update ?), the webrtc phone doesn’t work any more on the UCP module.

I got a message “unable to authenticate with the UCP Node Server” after logging

in console log of Chrome, message like

"[Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/."

and
“VM8711:40 [Deprecation] The rtcpMuxPolicy option is being considered for removal and may be removed no earlier than M62, around October 2017. If you depend on it, please see https://www.chromestatus.com/features/5654810086866944 for more details.”

when i try to do a call , there one ring in the web interface, the call is done but no sound.

If i receive a call, no sound too

If i am inside my LAN, it works. then i tought i could come from NAT or STUN, but no, everything seems correct from this side.

Something with the new firewall ???

any idea ? I don’t know what to do…i m lost and i don’t find the solution in the forum

thanks a lot

Pierre


(Itzik) #7

Can you access the asterisk http ports?


(Belgique) #8

http yes on the port 90
https on the normal port

which ports do you advice me to check ?


(Belgique) #9

I don’ t know if it can help: i did a call from webrtc on my pc to call my softphone (linphone) on my android phone. The softphone ring , no problem. but no voice
BUT if i hold the call from UCP webrtc then i can hear the waiting music on the android phone ???

Why not voice but waiting music ok… Same result on few pc


(Itzik) #10

https://wiki.freepbx.org/display/PPS/Ports+used+on+your+PBX


(Belgique) #11

Is there something I schoulg check in freepbx firewall maybe?


(Belgique) #12

I have these message when i try to do a phone call (it rings but no audio when the personn pick up the call)

jquery-3.1.1.min.js?…ersion=v15.0.6.28:4 [Deprecation]Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.

VM68:40 [Deprecation]The rtcpMuxPolicy option is being considered for removal and may be removed no earlier than M62, around October 2017. If you depend on it, please see https://www.chromestatus.com/features/5654810086866944 for more details.

jsphp_b025fc665bbeea…on=v15.0.6.28:28786 Session progress

jsphp_b025fc665bbeea…on=v15.0.6.28:28786 Session accepted

jsphp_b025fc665bbeea…on=v15.0.6.28:28786 Session bye

jsphp_b025fc665bbeea…on=v15.0.6.28:28786 Session terminated

DevTools n’a pas pu charger le mappage de source : Désolé… Nous n’avons pas pu charger du contenu pour https://xxxxx.org/ucp/assets/js/compiled/main/bootstrap-toggle.min.js.map:Erreur HTTP : code de statut 403,net::ERR_HTTP_RESPONSE_CODE_FAILURE

there are also these strange error messages :

jsphp_b025fc665bbeeacd290cb5325b33886f.js?load_version=v15.0.6.28:31013 Uncaught TypeError: Cannot read property ‘presence’ of null
at Socket. (jsphp_b025fc665bbeeacd290cb5325b33886f.js?load_version=v15.0.6.28:31013)
at Socket.Emitter.emit (jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:466)
at Socket.onevent (jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:515)
at Socket.onpacket (jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:514)
at Manager. (jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:525)
at Manager.Emitter.emit (jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:466)
at Manager.ondecoded (jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:274)
at Decoder. (jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:525)
at Decoder.Emitter.emit (jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:259)
at Decoder.add (jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:146)
(anonymous) @ jsphp_b025fc665bbeeacd290cb5325b33886f.js?load_version=v15.0.6.28:31013
Emitter.emit @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:466
Socket.onevent @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:515
Socket.onpacket @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:514
(anonymous) @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:525
Emitter.emit @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:466
Manager.ondecoded @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:274
(anonymous) @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:525
Emitter.emit @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:259
Decoder.add @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:146
Manager.ondata @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:274
(anonymous) @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:525
Emitter.emit @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:466
Socket.onPacket @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:299
(anonymous) @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:291
Emitter.emit @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:466
Transport.onPacket @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:345
Transport.onData @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:345
ws.onmessage @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:497
jquery-3.1.1.min.js?load_version=v15.0.6.28:4 [Deprecation]Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
send @ jquery-3.1.1.min.js?load_version=v15.0.6.28:4
ajax @ jquery-3.1.1.min.js?load_version=v15.0.6.28:4
jQuery.ajax @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:21
poll @ jsphp_b025fc665bbeeacd290cb5325b33886f.js?load_version=v15.0.6.28:27534
(anonymous) @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:2446
each @ jquery-3.1.1.min.js?load_version=v15.0.6.28:2
(anonymous) @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:2446
i @ jquery-3.1.1.min.js?load_version=v15.0.6.28:2
fireWith @ jquery-3.1.1.min.js?load_version=v15.0.6.28:2
A @ jquery-3.1.1.min.js?load_version=v15.0.6.28:4
(anonymous) @ jquery-3.1.1.min.js?load_version=v15.0.6.28:4
load (async)
send @ jquery-3.1.1.min.js?load_version=v15.0.6.28:4
ajax @ jquery-3.1.1.min.js?load_version=v15.0.6.28:4
jQuery.ajax @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:21
shortpoll @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:2445
connect @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:2445
(anonymous) @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:2460
dispatch @ jquery-3.1.1.min.js?load_version=v15.0.6.28:3
q.handle @ jquery-3.1.1.min.js?load_version=v15.0.6.28:3
trigger @ jquery-3.1.1.min.js?load_version=v15.0.6.28:4
(anonymous) @ jquery-3.1.1.min.js?load_version=v15.0.6.28:4
each @ jquery-3.1.1.min.js?load_version=v15.0.6.28:2
each @ jquery-3.1.1.min.js?load_version=v15.0.6.28:2
trigger @ jquery-3.1.1.min.js?load_version=v15.0.6.28:4
(anonymous) @ jsphp_b025fc665bbeeacd290cb5325b33886f.js?load_version=v15.0.6.28:29367
(anonymous) @ jsphp_b025fc665bbeeacd290cb5325b33886f.js?load_version=v15.0.6.28:30411
i @ jquery-3.1.1.min.js?load_version=v15.0.6.28:2
fireWith @ jquery-3.1.1.min.js?load_version=v15.0.6.28:2
A @ jquery-3.1.1.min.js?load_version=v15.0.6.28:4
(anonymous) @ jquery-3.1.1.min.js?load_version=v15.0.6.28:4
load (async)
send @ jquery-3.1.1.min.js?load_version=v15.0.6.28:4
ajax @ jquery-3.1.1.min.js?load_version=v15.0.6.28:4
jQuery.ajax @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:21
r. @ jquery-3.1.1.min.js?load_version=v15.0.6.28:4
getWidgetContent @ jsphp_b025fc665bbeeacd290cb5325b33886f.js?load_version=v15.0.6.28:30387
(anonymous) @ jsphp_b025fc665bbeeacd290cb5325b33886f.js?load_version=v15.0.6.28:29364
each @ jquery-3.1.1.min.js?load_version=v15.0.6.28:2
loadDashboard @ jsphp_b025fc665bbeeacd290cb5325b33886f.js?load_version=v15.0.6.28:29355
ready @ jsphp_b025fc665bbeeacd290cb5325b33886f.js?load_version=v15.0.6.28:29215
(anonymous) @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:2437
each @ jquery-3.1.1.min.js?load_version=v15.0.6.28:2
callModulesByMethod @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:2437
ready @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:2435
(anonymous) @ jsphpg_2654ad125761142505e88e2df748f108.js?load_version=v15.0.6.28:2461
j @ jquery-3.1.1.min.js?load_version=v15.0.6.28:2
k @ jquery-3.1.1.min.js?load_version=v15.0.6.28:2
setTimeout (async)
(anonymous) @ jquery-3.1.1.min.js?load_version=v15.0.6.28:2
i @ jquery-3.1.1.min.js?load_version=v15.0.6.28:2
fireWith @ jquery-3.1.1.min.js?load_version=v15.0.6.28:2
fire @ jquery-3.1.1.min.js?load_version=v15.0.6.28:2
i @ jquery-3.1.1.min.js?load_version=v15.0.6.28:2
fireWith @ jquery-3.1.1.min.js?load_version=v15.0.6.28:2
ready @ jquery-3.1.1.min.js?load_version=v15.0.6.28:2
R @ jquery-3.1.1.min.js?load_version=v15.0.6.28:3


(Belgique) #13

sorry, extra info

If i connect to freepbx with VPN, then the webrtc works
if not in VPN, i can do the call but no audio…

WHY ???

The ports of NAT seems ok…


(TheJames) #14

Websockets which it uses will NOT work without ssl in most (all maybe) browsers


(Belgique) #15

what do you advice me to do ?

I use a Let’s Encrypt certificate


(Belgique) #16

I found the solution. It was stupid. Incorrect stun server…


(system) closed #17

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