-
Notifications
You must be signed in to change notification settings - Fork 181
/
Copy pathreadme.txt
29 lines (23 loc) · 1.25 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
To build run:
mvn clean install
To deploy:
drop the generated war file in webapps Tomcat directory or Jboss deploy directory.
Alternatively you can add a context entry in the tomcat's server.xml like this
(this won't work on Jboss and this is not the recommended way to go) :
<Context
className="org.mobicents.servlet.sip.startup.SipStandardContext"
configClass="org.mobicents.servlet.sip.startup.SipContextConfig"
docBase="E:\workspaces\sip-servlets\sip-servlets-examples\call-blocking\target\call-blocking-1.0"
name="call-blocking-context"
path="/call-blocking">
<Manager className="org.mobicents.servlet.sip.core.session.SipStandardManager"/>
</Context>
use this as a DAR file (Service tag/darConfigurationFileLocation attribute in the tomcat's server.xml):
file:///E:/workspaces/sip-servlets/sip-servlets-examples/call-blocking/call-blocking-servlet-dar.properties
To use:
You can now run Tomcat or Jboss.
Start a SIP Phone such as the From Header should be one of the following address :
sip:[email protected] or sip:[email protected]
The SIP phone doesn't have to be registered.
We recommend using 3CX Phone, SJ Phone or WengoPhone.
Make a call to any address, you should receive a Forbidden.