SIP

parent http://wpdev.chealwoo.com/webrtc/

API

  • Jain-Sip
  • Restcomm-sip-servlet

Understanding SIP

 

Web phones

Soft Phones

WebRTC

https://webrtc.org/says WebRTC is a free, open project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.

WebRTC protocols are explained https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Protocols

Sip-Servlet + Kurento Java Hello World example

parent http://wpdev.chealwoo.com/webrtc/

This test assumes Kurento Media Server is running in your environment.

Starting with Restcomm Hello Sip-Servlet example.

at https://telestax.com/mobicents-sip-servlets-sip-programming-in-java-tutorial/

  1. Downloaded source code from https://code.google.com/archive/p/sipservlets/issues/199.
  2. Downloaded Restcomm sip servlet release from https://mobicents.ci.cloudbees.com/view/SIP%20Servlets/job/RestcommSipServlets-Release/lastSuccessfulBuild/artifact/
  3. Added Kurento HelloWorld example and built echo. (code at https://github.com/chealwoo/my-sipapp.git. tagged sip-kurento-echo)

Running demo


Start LinPhone 1
Open Options > Preferences
Network settings,  SIP/UDP port to 5061
Manage SIP Accounts
Add
Your SIP identity: sip:linp@127.0.0.1:5080
SIP Proxy address: sip:127.0.0.1:5080

call at sip:kurento@127.0.0.1:5080 and you should be able to hear echo from Kurento Media Server.

Ref

This task is done.