Freepbx 13.0.2 webrtc supposed to work?

Hello.

When logged in via UCP i have the litte yellow (why yellow by the way) phone icon. When i hit the button i get the dial pad. When i dial a number and hit call, nothing happens. Nothing in the logs too. Is this feature supposed to work right now at all?

thanks and cheers
t.

Yes it works. Yellow means unable to connect on the port

Hi Andrew.

Thanks for your answer. Any hint how to solve this issue? Which port? Do i miss a configure step? I activated WebRTC for the user i’m trying with.

thanks and cheers
t.

I see there is a setting for wss under pjsip. I just enabled this but still no luck. Which host and on what port is the UCP WEBRTC trying to connect to?

ciao
t.

You can see in the developer console of any browser. It’s usually 8088 but don’t quote me on that

Hi Andrew.

You say yellow means unable to connect to port. Can i somehow test if it is possible in general to connect to that port? When i telnet on the machine the Chrome Browser is running to freepbx i get:

$ telnet -e q domain 8088
Telnet escape character is 'q'.
Trying nice.ip.addr...
Connected to domain.
Escape character is 'q'.
q
telnet> quit
Connection closed.

You need to go to advanced settings and see what port the asterisk Web server is rubbing on. I’m only making assumptions

Hi Andrew.

Thanks for your patience. Asterisk Webserver listens on 0.0.0.0:8088. I’m making a summery for now.

  1. I have a user with a linked pjsip extension.
  2. The User is allowed to login and webrtc is enabled.
  3. The User can login via UCP and sees the yellow phone.
  4. UCP User with browser behind NAT.

What setting should i check next?

Interesting fact. Originate a call via UCP works.

thanks and cheers
t.

A litte progress. When i switch to http (from https) i have blue phone and can dial. I then hear one ringtone and after that the call is hung up. Error.log:

[2015-10-16 20:45:05] ERROR[10134][C-00000006]: res_rtp_asterisk.c:1318 ast_rtp_dtls_set_configuration: Specified certificate file '/etc/asterisk/keys/domain.pem' for RTP instance '0x7fc818708ea8' could not be used
[2015-10-16 20:45:05] ERROR[10134][C-00000006]: chan_sip.c:5723 dialog_initialize_dtls_srtp: Attempted to set an invalid DTLS-SRTP configuration on RTP instance '0x7fc818708ea8'
[2015-10-16 20:45:05] NOTICE[10134][C-00000006]: chan_sip.c:25550 handle_request_invite: Failed to authenticate device <sip:[email protected]>;tag=7i1d27jj7r

Any hints?

cheers
t.

The certificate seemed to be corrupt in some way. After regenerating the cert i’m able to use webrtc via http. https is still not working (yellow phone). Could this be because i’m using a self signed cert?

cheers
t.

We don’t support webrtc to begin with. Https is more unsupported than that