Goal is simple make system to enable VoIP calls. As end nodes we use Linphone/windows. Sip servlets is running on the jboss. Actualy Project was build basing on click2call example. When I run this example (from source code) it worked. Then I rewrite this function to my application. Start it.
Here is the problem:
I connect to enpoints (linphone sipphone) and my application get REGISTER message but when I call from one to another my servlet doesn't get any massage. I updated dar file on server, implement methods such as doInvite doSuccessResponse doResponse. I checked jboss logs for errors (non was risen), and have no more idea what to do next. All my servlet methods log some info when are invoked and doRegister is invoked each time I register sipphone, but only this one. here is my mobicents-dar.properties file content:
INVITE: ("pl.edu.agh.mobicents.VoIPSystem", "DAR:To", "TERMINATING", "", "NO_ROUTE", "0"), ("pl.edu.agh.mobicents.VoIPSystem", "DAR:From", "ORIGINATING", "", "NO_ROUTE", "0")
MESSAGE: ("pl.edu.agh.mobicents.VoIPSystem", "DAR:From", "ORIGINATING", "", "NO_ROUTE", "0")
OPTIONS: ("pl.edu.agh.mobicents.VoIPSystem", "DAR:From", "ORIGINATING", "", "NO_ROUTE", "0")
REGISTER: ("pl.edu.agh.mobicents.VoIPSystem", "DAR:From", "ORIGINATING", "", "NO_ROUTE", "0")
and here sip.xml:
<sip-app>
<app-name>pl.edu.agh.mobicents.VoIPSystem</app-name>
<display-name>Mobicents VoIP System</display-name>
<description>Mobicents VoIP System</description>
<servlet>
<servlet-name>ProxySipServlet</servlet-name>
<display-name>ProxySipServlet</display-name>
<description>Simple Proxy SIPServlet</description>
<servlet-class>
pl.edu.agh.mobicentsVoIP.servlets.ProxySipServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<listener>
<listener-class>
pl.edu.agh.mobicentsVoIP.servlets.ProxySipServlet
</listener-class>
</listener>
</sip-app>
can anyone help me?