Jump to content


Photo

SIP over WebSocket (RFC 7118)

SIP over WebSocket (RFC 7118)

  • Please log in to reply
21 replies to this topic

#1 koolandrew

koolandrew

    Advanced Member

  • Members
  • PipPipPip
  • 89 posts

Posted 07 November 2014 - 03:01 PM

Are there any plans for the Vodia pbx to support this RFC?

 

Thanks



#2 Vodia PBX

Vodia PBX

    Advanced Member

  • Administrators
  • PipPipPip
  • 8,988 posts
  • Gender:Male

Posted 08 November 2014 - 05:45 PM

Interesting... I don't think it will be difficult to get this going, especially because we are already massively using websocket for HTTP (and also the soft phone in the browser, using WebRTC). 

 

But we can't do this just out of curiosity. The question is if any product requires this or there is any demand for that?



#3 koolandrew

koolandrew

    Advanced Member

  • Members
  • PipPipPip
  • 89 posts

Posted 10 November 2014 - 11:35 AM

HI,

 

That is what i was trying to accomplish. I dont know anything about this softphone using WebRTC.

 

I was thinking about using our own softphone utilizing WebRTC. What i was really trying to do, was create a full featured softphone, using WebRTC. I was trying to eliminate the installation etc part, like everyone else!!!

 

I have tried testing webrtc using your code and it really doesnt work.

 

There is little documentation, that i could find, regarding OS or browser.

 

If there are any updates on this topic, i would appreciate your response as i thought it was kind of a dead project for your development.

 

Thanks



#4 Vodia PBX

Vodia PBX

    Advanced Member

  • Administrators
  • PipPipPip
  • 8,988 posts
  • Gender:Male

Posted 10 November 2014 - 01:09 PM

Well, we are using some super-stripped-down version of SIP. However the main problem with a 3rd party WebRTC-based phone will be that WebRTC requires the media session is set up using ICE, with testing out candidates and using DTLS. 



#5 koolandrew

koolandrew

    Advanced Member

  • Members
  • PipPipPip
  • 89 posts

Posted 11 November 2014 - 01:44 PM

Can we test this at all. Please advise, or provide us with documentation so we could create our own version.

 

Thanks



#6 Vodia PBX

Vodia PBX

    Advanced Member

  • Administrators
  • PipPipPip
  • 8,988 posts
  • Gender:Male

Posted 13 November 2014 - 04:30 PM

You mean the web browser-based phone? Sure just make a call from the user portal...



#7 koolandrew

koolandrew

    Advanced Member

  • Members
  • PipPipPip
  • 89 posts

Posted 14 November 2014 - 03:14 PM

What do you mean, i dont understand.



#8 Vodia PBX

Vodia PBX

    Advanced Member

  • Administrators
  • PipPipPip
  • 8,988 posts
  • Gender:Male

Posted 16 November 2014 - 09:17 PM

In V5, when you log in as a user, you can make phone and receive calls using the web browser.



#9 koolandrew

koolandrew

    Advanced Member

  • Members
  • PipPipPip
  • 89 posts

Posted 18 November 2014 - 04:38 PM

Please explain this to me. I dont see it anywhere on the user login. I see a call from phone, but what does that mean.

 

Could you please provide an explanation about this.

 

thanks



#10 Vodia PBX

Vodia PBX

    Advanced Member

  • Administrators
  • PipPipPip
  • 8,988 posts
  • Gender:Male

Posted 18 November 2014 - 09:15 PM

Call from phone means that the PBX will use a SIP phone to start the call (through third party call control). Call from browser means that it will use the web browser to make the phone call; this currently works only with Chrome.



#11 koolandrew

koolandrew

    Advanced Member

  • Members
  • PipPipPip
  • 89 posts

Posted 19 November 2014 - 02:09 AM

ok thanks. I never use chrome, so i had no idea what you meant. :angry: . I tested it, and it seems to work a little bit for outbound, but i could never get it to ring on the inbound.



#12 Vodia PBX

Vodia PBX

    Advanced Member

  • Administrators
  • PipPipPip
  • 8,988 posts
  • Gender:Male

Posted 19 November 2014 - 08:27 AM

For inbound you need to enable/allow this. This is a security feature of the browser.



#13 koolandrew

koolandrew

    Advanced Member

  • Members
  • PipPipPip
  • 89 posts

Posted 20 November 2014 - 02:36 PM

Is there any way to get some documentation on this. We are interested in pursuing this, but we really cannot get anything to work. Therefore, we thought about developing our own, but there is no documentation so we could implement our own development.

 

The first issues are as follows:

 

1. When using the webrtc and pasting it in the browser, and phone will ring but there is no audio.

2. When logging into the user extension, we can initiate a call, but there is no audio.

 

 

So here are the questions:

 

1. Are you following WebRTC standards.

2. When we try creating the webrtc phone through the trunk, we cannot receive a call. When we try to use the dialpad on the screen, there is no fuctionality in the dial pad. This is when using firefox or chrome.

3. When we tried using webrtc from the user login, with a chrome browser, we can dial out but there is no audio to another extension or to pstn number when it connects. Regarding inbound calls, i search the security of the chrome brower, and i cannot find "enable/allow" this.

 

It doesnt appear that you really support WebRTC. If that is not the case, please advise by providing more information. If you are not planning to support it, could we at least get some documentation so we could develop it ourselves. We are very interested in the oppportunities regarding webrtc; however, we need some more information.

 

Thanks



#14 Vodia Telephone System

Vodia Telephone System

    Advanced Member

  • Members
  • PipPipPip
  • 175 posts
  • Gender:Male

Posted 24 November 2014 - 10:08 AM

Yes we support WebRTC, but only the SDES connection (where the srtp key is exchanged in the sdp directly) and not yet the DTLS part of it.

 

That's why you have to use chrome, which supports both SDES and DTLS for now and therefore works.

 

What version of the PBX are you on?

 

Here is something about setting it up as a trunk:

 

http://vodia.com/doc...tion/trunk_wrtc

 

You can also use the "talk" button from our website "vodia.com" to call us for a quick test using chrome browser.

 

Thanks.



#15 koolandrew

koolandrew

    Advanced Member

  • Members
  • PipPipPip
  • 89 posts

Posted 24 November 2014 - 10:44 AM

HI,

 

I asked you some very specific questions. I dont want to bug you.

 

What is the point of hitting the talk button on your website, i have no idea what you are doing in the background.

 

We are interested in creating something similar to a softphone, using webrtc. If you cannot help us, then fine.

 

I have posted the results of our tests, its doesnt work in its present format.



#16 Vodia Telephone System

Vodia Telephone System

    Advanced Member

  • Members
  • PipPipPip
  • 175 posts
  • Gender:Male

Posted 25 November 2014 - 03:54 PM

And I answered very specifically that yes it IS WebRTC but not DTLS. Even within WebRTC there are two ways, SDE and DTLS and we do SDE at this moment but not DTLS. If it's feasible we will also do DTLS but not yet. That is why only chrome will work at the moment since only chrome supports both SDE and DTLS.

 

About hitting our talk button:

 

If you are using your chrome browser WITHOUT any special plug in or download and it is able to talk to our server and you are able to hear and speak to someone, that means there is NO OTHER WAY but you were able to connect via WebRTC. That was just to show it is doing WebRTC and nothing else.

 

Signalling is not covered by WebRTC though. RFC 7118 seems to cover that and it seems interesting but that is not implemented yet.

 

I hope that was clearer.



#17 koolandrew

koolandrew

    Advanced Member

  • Members
  • PipPipPip
  • 89 posts

Posted 26 November 2014 - 01:59 PM

We would like to create a softphone based upon Webritc to work with Vodia pbx.

 

I have tested it and we cannot get it to work with chrome or otherwise, it may work on on your website, but that is really no help at this point.

 

Again, i dont want to bug you about this, but we if we could some information so we could possibly design an application to work within the constraints, that would be great.

 

The only info so far is that you support webrtc, using sde only. There is no signalling at this stage.

 

Is there anything else you can provide or is that it at this point.

 

Thanks



#18 koolandrew

koolandrew

    Advanced Member

  • Members
  • PipPipPip
  • 89 posts

Posted 21 April 2016 - 01:03 PM

HI,

 

It is almost 1.5 years since my last post, as we didnt get a response.

 

We would still like to pursue this using vodia, but i dont know to do so. Other pbx platforms are embracing this technology along with video, so i am just wondering if vodia plans on the same.

 

I realize that this may be outside of your core, and it is really only meant for talk buttons on websites, and that is fine.

 

I am just  wondering if there have been any updates on Vodia's side to support Webrtc calling on the extension level.



#19 Vodia PBX

Vodia PBX

    Advanced Member

  • Administrators
  • PipPipPip
  • 8,988 posts
  • Gender:Male

Posted 21 April 2016 - 08:21 PM

WebRTC is standard now in the PBX when you log into the web portal as a user. It is essentially a soft phone replacement. But we are not using websocket as a SIP transport layer, just JavaScript with our own little soft phone code.



#20 koolandrew

koolandrew

    Advanced Member

  • Members
  • PipPipPip
  • 89 posts

Posted 23 April 2016 - 12:28 PM

That is an interesting update.

 

I have gone to your website for an update, and there is some info.

 

1. What version of pbx is it supported from? As i cannot seem to find the release notes anymore, but i remember reading that there are some changes recently to how chrome and mozilla handle webrtc. For example, is it only from version 5.4 and on?

2. You claim webrtc is standard, for a desktop, not a mobile browser, as i dont believe there is any way to install extensions on a mobile browser.

Is there anything for a mobile browser as of yet, or is that on the horizon?

 

Therefore, my question remains.

 

Is there an api that we could utilize to try and create our own app/webpage such that we could use for webrtc.

 

Again, i dont want to keep bugging you, and if that is it, so be it.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users