Revision: 2c6e75792588
Author: jean.deruelle <[email protected]>
Date: Fri Apr 6 06:41:41 2012
Log: Created wiki page through web user interface.
http://code.google.com/p/sipservlets/source/detail?r=2c6e75792588&repo=wiki
Added:
/SpeedDial.wiki
=======================================
--- /dev/null
+++ /SpeedDial.wiki Fri Apr 6 06:41:41 2012
@@ -0,0 +1,43 @@
+#summary Speed Dial Example
+
+= Service Description =
+
+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/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/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 .
+
+Drop it in your tomcat_home/conf/dars directory or
jboss_home/server/default/conf/dars directory.
+
+To use this dar file for this service, specify in the Service xml tag,
darConfigurationFileLocation attribute of the tomcat_home/conf/server.xml
file or jboss_home/server/default/deploy/jboss-web.deployer/server.xml ,
the following :
+conf/dars/speed-dial-dar.properties
+
+You can now run your container (Tomcat or Jboss).
+
+== From the source ==
+
+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 =
+
+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.