Reference11r1:Concept myPBX WebRTC Softwarephone

From innovaphone wiki
Revision as of 13:03, 20 February 2015 by Msc (talk | contribs) (→‎Known issues)
Jump to navigation Jump to search
There are also other versions of this article available: Reference11r1 (this version) | Reference12r1 | Reference12r2

The myPBX web application in version 11 comes with an integrated WebRTC software phone that can be used in browsers that support WebRTC.

How it works

  • The web application has an integrated WebRTC endpoint that can be controlled like a regular phone using myPBX.
  • The endpoint connects to the PBX using Websocket. The PBX creates a signaling instance and a registration that controlls the endpoint.

Requirements

PBX

  • Recent firmware (v11 RC1 or higher)
  • myPBX license (enabled at the user object)

Computer

  • Browser supporting WebRTC (currently Firefox, Chrome and Opera)
  • Microphone or headset

Remote endpoint

  • The remote endpoint has to support ICE and DTLS-SRTP. All innovaphone devices support it from version 11 RC2.

Configuration

PBX

  • Create a device at the user object. Make sure both hardware ID and name are given. Check "Config VOIP" and press "Apply".
  • The "Edit User" Dialog now shows a new tab with the name of the device. In that tab select "WebRTC" as the method for the Outgoing Registration.
  • If you now open myPBX in a suitable web browser the WebRTC phone appears as a normal phone.

Audio Configuration

  • The audio configuration is part of your browser and your operating system. We do not support it.
  • For testing the audio device please use this WebRTC test page. Open the page and follow the instructions. If you hear yourself or some nasty feedback sounds, the audio is working.
  • Only contact the innovaphone support if the audio is working on the test page but not in the myPBX WebRTC Softwarephone.

Usage

Start the myPBX web application in a Browser that supports WebRTC.

Note: In the myPBX launcher the functionality is currently not available.

Activation

Select the corresponding device in myPBX. The browser asks for permission to access the microphone of the computer. Please select the audio device you want to use for telephony and accept.

Calling

Incoming and outgoing calls can be done as usual using myPBX.

Known issues

  • The WebRTC softwarephone is currently not available in the myPBX launcher because the underlying Internet Explorer does currently not support WebRTC.
  • Three party conferences are not implemented, yet.
  • Firefox does not support DTMF. In Chrome DTMF works.

Tracing

Web application trace

The web console of the browser shows the trace of the web application. It contains the same information as the trace file of the myPBX launcher, but only the lines from the web application.

  • In Firefox the console is opened using CTRL-SHIFT-K.
  • In Chrome the console is opened using F12.
  • In Opera the console is part of the web inspector that can be found in the menu (Page > Developer Tools > Web Inspector).


Webrtc softwarephone console.png

Remote endpoint

On innovaphone devices the ICE and DTLS-SRTP tracing can be useful to track down connection problems.

 !config add H323 /ice-trace on /dtls-trace on
 !config add SIP /ice-trace on /dtls-trace on
 !config add TSIP /ice-trace on /dtls-trace on
 !config add SIPS /ice-trace on /dtls-trace on