我正在努力学习上的教程,http://ben-touron.blogspot.com/2009/11/developping-simple-sip-application-with.html
使用Mobicents创建一个简单Servlet。我已经配置了我的dar文件,并在Apache Tomcat v6.0 的server.xml中设置了dar文件
已查看http://www.java.net/node/699015?force=762寻找答案&没有找到。我也关闭了防火墙:(
Server.xml
<Service className="org.mobicents.servlet.sip.startup.SipStandardService" congestionControlCheckingInterval="-1" darConfigurationFileLocation="file:///E:/Research/SIP/SipServlets/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/conf/dars/mobicents-dar.properties" name="Sip-Servlets" sipApplicationDispatcherClassName="org.mobicents.servlet.sip.core.SipApplicationDispatcherImpl" sipStackPropertiesFile="conf/mss-sip-stack.properties">
Dar文件
INVITE=("org.example.servlet.sip.SimpleSipServlet", "DAR:From", "TERMINATING", "", "NO_ROUTE", "0")
当我通过X-Lite调用时,即使我的SIP Servlet已初始化,我的应用程序也不会被路由。:(
谢谢。
您看到的是过时的指令。看看最近关于Mobicents SIP Servlet的教程:
http://docs.telestax.com/sip-servlets-homepage/