Reference11r1:Concept myPBX WebRTC Softwarephone

From innovaphone wiki
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

  • IP800 IP6000 IP6010 IP3010 IP810 or IP0010 (restriction of RC1 only)
  • Recent firmware (v11 rc1 or higher)
  • myPBX license (enabled at the user object)
  • enabled ICE and DTLS-SRTP

Computer

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

Remote endpoint

  • The remote endpoint has to support ICE and DTLS-SRTP. innovaphone devices from v11 rc1 do so.

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 "DUMMYVOIP" 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.

Remote Endpoint

The remote endpoint must support ICE and DTLS-SRTP. In v11 RC2 both is enabled by default on innovaphone devices.

For debugging purposes the following trace flags are useful.

 !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

Usage

Activation

Select the corresponding device in myPBX. The browser asks for permission to access the microphone of the computer. Please 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.

Issues in RC1

  • The WebRTC softwarephone does not ring for incoming calls. Also no ringback tones are played.
  • Works only on IP800 IP6000 IP6010 IP3010 IP810 and IP0010 (fixed for RC2).
  • Does not work on the 5th and 6th device at a user object (fixed for RC2).
  • When "Config VOIP" is checked at a user object, but nothing is selected for "Outgoing Registration", the PBX traps when selecting the corresponding device in myPBX (fixed for RC2).

Issues in RC2

  • Trap when changing device during WebRTC calls.
  • Trap during encoding of big JSON messages (fixed for RC3).