WebRTC

Status
Not open for further replies.

yhbilisim

New Member
Feb 13, 2017
28
1
3
32
Hello there

How to make WebRTC settings with FusionPBX.
Is there any idea and work on this subject?
 
Last edited:
  • Like
Reactions: yukon

Google Pnookle

New Member
Apr 9, 2017
2
0
1
49
2017-04-13_13-01-13.png Hi!
Faced the same trouble.
At this stage I just managed to get freeswitch webrtc running, cert was from letsencrypt, instructions I got from https://freeswitch.org/confluence/display/FREESWITCH/WebRTC, important moment - in FusionPbx there is a file /etc/freeswitch/tls/dtls-srtp.pem - wss did not work until I fill it with my own cert and priv key from LetsEncrypt
Via web-interface just added correct parameter "wss-binding" to the internal profile
 
Dec 1, 2016
92
7
8
45
inside-out.xyz
I have done personally some dialplan add ons since fusion4.0 to allow WEBRTC almost out of the box. You will need to deal with endpoints,since webrtc doesnt use user/, i dont remember by hard, but it uses other. Google it, you will find it. After that, you will need to do some dialplan configuration so allow WEBRTC to ring in the web browser and in the sip extension as well (if you want to support them both)
 

simbahmso

New Member
Apr 17, 2017
5
1
3
42
I managed to successfully setup Verto in FreeSWITCH.

But WebRTC in FusionPBX is stuck on "Dialog 480d4bc8-5d5f-d82b-ea65-9e41f5fba6f0: state change from new to requesting"
http://prntscr.com/ewhhp9
When I use Firefox I get same message "Dialog 6abd18fb-3c94-0ba0-90c8-1c280ccd4070: state change from new to requesting"
http://prntscr.com/ewhied

Someone online mentioned separate cert file (dtls-srtp.pem dtls-srtp.pem to DTLS).
Do I need to put add something to dtls-srtp.pem ? My dtls-srtp.pem was there by default, out of box, any changes needed on the dtls-srtp.pem?
What I did was I just created the dtls-srtp.crt by only copying the certificate part of the dtls-srtp.pem
 

Google Pnookle

New Member
Apr 9, 2017
2
0
1
49
Someone online mentioned separate cert file (dtls-srtp.pem dtls-srtp.pem to DTLS). Do I need to put add something to dtls-srtp.pem ? My dtls-srtp.pem was there by default said:
I think, You should use the same cert and key, which are used for SIPS, priv key on top, cert file on bottom.
 

simbahmso

New Member
Apr 17, 2017
5
1
3
42
I have done personally some dialplan add ons since fusion4.0 to allow WEBRTC almost out of the box. You will need to deal with endpoints,since webrtc doesnt use user/, i dont remember by hard, but it uses other. Google it, you will find it. After that, you will need to do some dialplan configuration so allow WEBRTC to ring in the web browser and in the sip extension as well (if you want to support them both)


I managed to successfully setup Verto in FreeSWITCH.

But WebRTC in FusionPBX is stuck on "Dialog 480d4bc8-5d5f-d82b-ea65-9e41f5fba6f0: state change from new to requesting"
http://prntscr.com/ewhhp9
When I use Firefox I get same message "Dialog 6abd18fb-3c94-0ba0-90c8-1c280ccd4070: state change from new to requesting"
http://prntscr.com/ewhied

Someone online mentioned separate cert file (dtls-srtp.pem dtls-srtp.pem to DTLS).
Do I need to put add something to dtls-srtp.pem ? My dtls-srtp.pem was there by default, out of box, any changes needed on the dtls-srtp.pem?
What I did was I just created the dtls-srtp.crt by only copying the certificate part of the dtls-srtp.pem
 

simbahmso

New Member
Apr 17, 2017
5
1
3
42
Thanks, will try that out tonight and give update. Sorry for replying to you again asking same question.
 

cargreg

New Member
Apr 26, 2018
27
2
3
36
Hi, I installed successfully mod_verto on freeswitch, i installed the require package freeswitch-endpoint-verto and freeswitch-endpoint-rtc, i configure the certificate and also edit the verto.conf.xml file, with verto_communicator i can call an external number, but when i'm try to call from one verto client to another verto client, in freeswitch log i saw
[DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
[INFO] mod_dptools.c:3436 Originate Failed. Cause: USER_NOT_REGISTERED
but the external call work fine on both, anyone can help me?
 

Attachments

  • tosend.txt
    88.8 KB · Views: 30
Status
Not open for further replies.