Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Cipangocipango-example-sipapp is a basic simple proxy/registrar with a click to dial service provided with Cipango.

Build and run

The application source is located in the directory ${cipango.src.home}/modules/examples/cipango-example-sipapp.

  • To compile application
    mvn clean install
  • To import the project into eclipse
    mvn eclipse:eclipse
  • To run the application
    mvn cipango:run
  • To deploy the application into cipango
    • compile application if not done yet
    • copy target/cipango-example-sipapp-VERSION.war to ${cipango.src.home}/sipapps

Usage

web interface.

How to use

Proxy/Registrar

The registrar does not need special configuration. It allows registration from any domain and without any authentication is disabled.
Any SIP compliant phone should be able to register .Registrations can be seen at the page(see #Softphone configuration).

Registered phones are available at:

Code Block
http://localhost:8080/test/oam

The URI may be (depending of how the application has been delpoyed)

Code Block
http://localhost:8080/cipango-example-sipapp/oam

You may place calls between two registered phone by dialing the number of the phone you would like to call.

Click to dial

This service requires to have at least two SIP phones registered.

To create a new call, naviguate to the pagepoint your browser to:

Code Block
http://localhost:8080

...

/test/call

Softphone configuration

X-Lite

X-Lite is a free SIP softphone available for download here. When you start X-Lite, it looks like:
Image Added
To add a SIP account, click on the arrow on the left part of the top menu and select SIP Account Settings.... The following window then appears:
Image Added
Click then on Add... to configure a SIP account. For instance, if Cipango is running on address 192.168.1.37 with default SIP port 5060 and you would like to configure sip:alice@cipango.org, fill the properties as follows:
Image Added
Click OK and you're done. You may now call other SIP terminals registered on the same Cipango instance.