sipsorcery/examples/SIPExamples at master · sipsorcery-org/sipsorcery

The examples in this folder contain sample code to demonstrate common SIP/VoIP cases including:

  • Get Started: Simplest example. Demonstrates how to place a SIP call.
  • Get Started Video: Adds video to the Get Started example.
  • SIP Proxy: Very rudimentary example for a SIP Proxy and SIP Registrar.
  • Registration Client: Demonstrates how to use the SIPRegistrationUserAgent class to register with a SIP Registrar server.
  • SIP Call Client: Demonstrates how to use SIPClientUserAgent class to place a call to a SIP server user agent.
  • SIP Call Server: Demonstrates how to use the SIPServerUserAgent class to receive a call from a SIP client user agent.
  • SoftPhone: A very rudimentary SIP softphone implementation.
  • Get Started Web Socket: An example of how to create a web socket listener to send and receive SIP messages. An explanation of the example is available here.
  • STUN Server: An example of how to create a basic STUN (RFC3849) server. An explanation of the example is available here.
  • Call Hold and Blind Transfer: An example of how to place a call on hold and perform a blind transfer using a REFER request as specified in RFC3515. An explanation of the example is available here.
  • Call Attended Transfer: An example of how to perform an attended transfer. An explanation of the example is available here.
  • Send DTMF (as RTP events): An example of how to send DTMF tones using RTP events as specified in RFC2833. An explanation of the example is available here.