I am sure most have following this tutorial.http://ben-touron.blogspot.com/2009/11/developping-simple-sip-application-with.html
I followed and I have not been successful in getting my servlet to intercept the calls with the breakpoints I have placed for the system out messages in Eclipse Indigo.
After scrutinizing the logs, I think my culprit is the following line:
---
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:SimpleServlet' did not find a matching property.
---I have the "SimpletServlet" in my "mobicents-dar.properties" for an INVITE defined as follows:
---
INVITE:("SimpleServlet", "DAR:From", "TERMINATING", "", "NO_ROUTE", "0")
----I have my servlet.xml with the following in the host section:
---
<Context docBase="SimpleServlet" path="/SimpleServlet" reloadable="true" source="org.eclipse.jst.j2ee.server:SimpleServlet"/></Host>
---There is no "hostConfigClass" for attributes in my host section which most have deduce is the problem.
I am using "mss-2.0.0.FINAL-apache-tomcat-7.0.29-1210011535". I am getting really frustrated. Can anybody help?
Also, how long does it take for posts to get approved? Feels like I have been waiting quite a while on my reply to my topic.
--
--
Have you had a chance to review the User Guide:
On Fri, Jan 25, 2013 at 11:38 AM, jason <ivory...@gmail.com> wrote:
As fyi I tried following the steps using cygwin to execute the "curl" command (since we develop in Windows where I am) and I got the following:
As fyi I tried following the steps using cygwin to execute the "curl" command (since we develop in Windows where I am) and I got the following:
$ curl --data "PhoneNumber=1234&VoiceUrl=http://127.0.0.1:8080/restcomm/demo/hello-world.xml&VoiceMethod=POST" http://ACae6e420f425248d6a26948c17a9e2acf:77f8c12cc7b8f8423e5c38b03524916...@127.0.0.1:8080/restcomm/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/IncomingPhoneNumbers.json
--
--
--
You received this message because you are subscribed to the Google Groups "mobicents-public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobicents-publ...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "mobicents-public" group.
To unsubscribe from this group, send email to mobicents-publ...@googlegroups.com.
Lengthy document. Seems to address almost all of my questions. I am still reading it.
I decide to take a break and skim to the question I posed in this thread and I found the document does not really address the scenario I mentioned below.
Maybe I should rephrase my question since I have more insight in my head.
- Why is the host context not required in the server.xml when coding a SIP Servlet?
- Does the server.xml of Tomcat override the sip.xml?
- Is this the reason why the context is left out of the server.xml for Tomcat?
- If so, does this logic apply to JBoss and other servers using Mobicents?
To unsubscribe from this group and stop receiving emails from it, send an email to mobicents-publ...@googlegroups.com.