Reference11r1:Concept myPBX WebRTC Softwarephone

From innovaphone wiki
Revision as of 17:34, 2 September 2014 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)
  • 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.

Note: In v11r1 rc1 only the first four devices can be used for "Config VOIP".

Remote Endpoint

The remote endpoint must support ICE and DTLS-SRTP. In v11 RC1 DTLS-SRTP is not enabled by default on innovaphone Devices. Therefore if you like to try the WebRTC Softwarephone you need to enabled it.

 !config add H323 /dtls on
 !config add SIP /dtls on
 !config add TSIP /dtls on
 !config add SIPS /dtls on

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

  • In RC1 it works only on IP800 IP6000 IP6010 IP3010 IP810 and IP0010.
  • In RC1 it only works using one of the first 4 devices of a user object.
  • In RC1 the phone does not ring for incoming calls. Also ringbacktones are played.
  • The WebRTC softwarephon is currently not available in the myPBX launcher because the underlying Internet Explorer does currently not support WebRTC.