Cipango-example-sipapp is a basic 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.bin.home}/sipapps
Usage
Proxy/Registrar
The registrar does not need special configuration. It allows registration from any domain and authentication is disabled.
Any SIP compliant phone should be able to register (see #Softphone configuration).
Registrations can be seen at the page
http://localhost:8080/cipango-example-sipapp/oam
Click to dial
This service requires to have two SIP phones registered.
To create a new call, naviguate to the page
http://localhost:8080/cipango-example-sipapp/call
Softphone configuration
X-Lite
X-Lite is a free SIP softphone available for download here. When you start X-Lite, it looks like:
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:
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:
Click OK and you're done. You may now call other SIP terminals registered on the same Cipango instance.