SailFin Sample Applications - Basic3pccThese instructions are for using this sample with basic (i.e., non clustered) SailFin installation. This sample ("Basic3pcc") demonstrates a simple Third Party Call Control (3pcc) application in SailFin. This sample includes 2 applications as shown in the figure below: Jspwiki style: sortable
%% Figure 1. Applications bundled in Basic3pcc sample. Application #1 (i.e., 3pccConvergedApp.sar) is a 3pcc call controller application. CallInitiatorServlet, which is a http servlet, is also part of this application using which the user can initiate a 3pcc call from the browser. Application #2 (i.e., 3pccRegistrarAndProxy.sar) contains the RegistrarServlet to keep the registration details of user's SIP phone, and a ProxyServlet to proxy the SIP requests to the registered location of user's SIP phone. Overall workings of the sample is described in the figure below: Jspwiki style: sortable
%% Figure 2. Overall workings of the sample Instructions to deploy the sample application Basic3pccNote: For executing sailfin samples user must have installed and configured SailFin server. Here 'SF_HOME' is the sailfin installation directory.
It would start the server.
It would point to the sailfin sample 'Basic3pcc' direcotry
It would check your environment variable settings and it would display the available targets for use.
It would deploy both 3pccConvergedApp.sar and 3pccRegistrarAndProxy.sar files on SailFin server.
Instructions to execute the sample application Basic3pcc
As mentioned in the instruction, you need to register both Alice's and Bob's X-Lite phones with SailFin. Note that the sample has pre-provisioned list of users which are Alice, Bob, Adam, Eve (with password same as user name). If you wish to re-provision the users, you can do so by editing SF_HOME/samples/sipservlet/Basic3pcc/userdb.properties file. If you do that then you need to re-build and re-deploy the sample using step (6) & (5) of the above section. Jspwiki style: sortable
%% Figure 3. Brower view after Alice logged in
Jspwiki style: sortable
%% Figure 4. Third Party Call Control (3pcc) call establishment. Continue to read how to explore SailFin cluster, high availability features using Basic3pcc sample application
|