Revision: a97b02461d54
Author:   jean.deruelle <[email protected]>
Date:     Fri Apr  6 06:51:42 2012
Log:      Edited wiki page SpeedDial through web user interface.
http://code.google.com/p/sipservlets/source/detail?r=a97b02461d54&repo=wiki

Modified:
 /SpeedDial.wiki

=======================================
--- /SpeedDial.wiki     Fri Apr  6 06:50:59 2012
+++ /SpeedDial.wiki     Fri Apr  6 06:51:42 2012
@@ -2,23 +2,25 @@

 = Service Description =

-This simple example shows how SIP Servlets can be used along with HTTP servlets as a converged application to place calls from a web page. This example consists of the following steps:
-
-  # Alice and Bob each register a SIP Softphone
-  # Alice clicks on the "Call" link to place a call to Bob
-  # Alice's phone rings
-  # When Alice picks up her phone, Bob's phone rings
-  # When Bob answers his phone, the call is connected
-  # When one of them hangs up, the other one is also disconnected
+Speed Dial allows a calling party to specify a short speed-dial number (e.g. "1"), which it translates into a complete address based on prior configuration and proxies it (without record-routing, and without supervised mode). +Speed Dial currently performs a lookup into a hard coded list of addresses and should later evolve towards a database.
+Here is the list of hard coded contacts and their locations :
+
+  * "1" => "sip:[email protected]"
+  * "2" => "sip:[email protected]" (The Master Blaster)
+  * "3" => "sip:[email protected]"
+  * "4" => "sip:[email protected]"
+  * "5" => "sip:[email protected]"
+ * "9" => "sip:[email protected]:5090" (Special case to be able to run the app standalone)

 = How to activate it =

 == From the binary ==

-Download the latest version of the war file corresponding to this example from [https://oss.sonatype.org/content/groups/public/org/mobicents/servlet/sip/examples/click-to-call-servlet/ here] +Download the latest version of the war file corresponding to this example from [https://oss.sonatype.org/content/groups/public/org/mobicents/servlet/sip/examples/speed-dial/ here]

Drop the downloaded war file into your tomcat_home/webapps directory or jboss_home/server/default/deploy directory -Get the [http://sipservlets.googlecode.com/git/sip-servlets-examples/click-to-call/click2call-dar.properties corresponding dar configuration file]. +Get the [http://sipservlets.googlecode.com/git/sip-servlets-examples/speed-dial/speed-dial-dar.properties corresponding dar configuration file].

To understand what the dar configuration file is used for, check the Application Router Documentation .

@@ -31,16 +33,11 @@

 == From the source ==

-Please check out the speed dial example located under [http://code.google.com/p/sipservlets/source/browse/#git%2Fsip-servlets-examples%2Fclick-to-call this location] +Please check out the speed dial example located under [http://code.google.com/p/sipservlets/source/browse/#git%2Fsip-servlets-examples%2Fspeed-dial this location] from the svn repository. Just call mvn clean install war:inplace to create the war file in the target directory

 = How to play with it =

-Starts Two sip phones.
-Open up a browser to http://localhost:8080/click2call/. If you have no registered SIp clients you will be asked to register at least two. -Configure your SIP clients to use the sip servlets server as a register and proxy. (ip address : 127.0.0.1, port: 5080) -By default it will accept any password, see below for instructions on how to enable security and authentication. After the registration you will see a table where each cell will initiate a call between the corresponding clients. -You can also navigate to http://localhost:8080/click2call/simplecall.html, which is a simplified version that doesn't require registered clients. -You will see the index page where you can enter two SIP URIs. Enter the URIs of the two SIP phones you just started and click "Submit".
-The SIP phones don't have to be registered.
-After you pick up both phones the RTP session starts.
+Start two SIP Phones. One phone should be setup as sip:[email protected] on ip address 127.0.0.1 and port 5090 The other phone can be registered as anything
+The SIP phone doesn't have to be registered.
+From the second phone, make a call to sip:[email protected] you should have the "receiver" phone ringing.

Reply via email to