Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A SIP call between browsers made via WCS is a special case of calls between a browser and a SIP device when the web application in a browser serves as a softphone for both parts of the call.

...

Management of SIP functions is performed using the REST API.

Operation flowchart

...

SIP server as a proxy server to transfer calls and RTP media

 2:

SIP server as a server to transfer calls only

 


  1. The browser 1 begins a call from the Caller account to the Callee account 
  2. WCS connects to the SIP server
  3. The SIP server transfers the call to the Callee to WCS
  4. WCS sends to the browser 2 an event that a call is received
  5. Browsers exchange audio and video streams

...

Without an external SIP server. SIP and RTP media are processed by WCS

...

 

  1. The browser 1 begins a call from the Caller account to the Callee account
  2. WCS establishes a SIP connection between accounts
  3. WCS sends to the browser 2 an event that a call is received
  4. Browsers exchange audio and video streams

...

15. Receiving a confirmation from the SIP server

SIP calls without an external SIP server

WCS may establish a SIP call and process its traffic withoun an external SIP server (see the scheme above). To do this, the following parameters must be set in flashphoner.properties file

Code Block
themeRDark
enable_local_videochat=true
sip_add_contact_id=false

1. For test we use:

  • Phone web application to make a call

2. Open Phone web application page. Enter the following:

  • user name
  • password
  • SIP Domain: set WCS server IP address (not domain name!)
  • SIP Outbound Proxy: set WCS server IP address (not domain name!)
  • set SIP Port to 0
  • clean Register requred checkbox

Click Connect

Image Added

3. Open Phone web application page in another browser window. Enter the following:

  • second user name
  • password
  • SIP Domain: set WCS server IP address (not domain name!)
  • SIP Outbound Proxy: set WCS server IP address (not domain name!)
  • set SIP Port to 0
  • clean Register requred checkbox

Click Connect

Image Added

4. Enter callee name and click Call

Image Added

5. Accept the call by clicking Answer

Image Added

6. The call is established

Image Added