Deploying a simple sip servlet

1,158 views
Skip to first unread message

Indra

unread,
Nov 25, 2011, 9:46:56 AM11/25/11
to mobicents-public, sivakris...@gmail.com
Hello all,

I am new to mobicents , I am currently working on a project which uses
mobicents sip-servlet on Jboss server.
I use SIP inspector as my user agent . everything works fine when i
deploy and run the code on the server, when i send invite call from
sip inspector and try to trace from wire shark , I getting an error
stating ''400 BAD Request''
This is my code from my editor

package org.example.servlet.sip;

import java.io.IOException;
import java.text.ParseException;
import javax.servlet.*;
import javax.servlet.sip.*;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.sip.SipServlet;
import javax.servlet.sip.SipServletRequest;
import javax.servlet.sip.SipErrorListener;
import javax.servlet.sip.SipServletRequest;
import javax.servlet.sip.SipServletResponse;
import javax.servlet.sip.Proxy;

public class ServletZigbee extends SipServlet{
protected void doInvite(SipServletRequest request)

throws ServletException, IOException
{
if(request.isInitial())
{

Proxy proxy = request.getProxy();
proxy.setRecordRoute(true);
proxy.setSupervised(true);
proxy.proxyTo(request.getRequestURI());
}

System.out.println("ServletZigbee: Got request:\n" +request);
}

public void doMessage(SipServletRequest request)
throws ServletException, IOException
{
SipServletResponse res = request.createResponse(200);
res.send();
}


public void init(ServletConfig config) throws ServletException {
super.init(config);
System.out.println("Servlet SIP / Zigbee deployed!");

}
}

Now i have to write a code using the method doMessage()
so that I can send message request to my sip inspector.

Can anyone guide me with this . It would be a great help !

Thanks
Indra

Jean Deruelle

unread,
Nov 29, 2011, 3:58:31 AM11/29/11
to mobicent...@googlegroups.com, sivakris...@gmail.com
Please provide the server.log with gov.nist and org.mobicents categories set to DEBUG in jboss-log4j.xml.
Bad request usually means the request is malformed/invalid.

Jean

Indhira Prabhakaran

unread,
Dec 5, 2011, 8:31:19 AM12/5/11
to mobicent...@googlegroups.com
Hello Jean ,

This is the following error that I get . I am using SIP inspector as my SIP user agent and I am using invite and Message SIP messages, When i run my server and trace in wireshark, i get the following error in my server console


14:25:05,328 ERROR [UDPMessageChannel] Error
java.text.ParseException: [C@1cd1a20
ID expected
    at gov.nist.core.LexerCore.match(LexerCore.java:214)
    at gov.nist.core.ParserCore.nameValue(ParserCore.java:52)
    at gov.nist.core.ParserCore.nameValue(ParserCore.java:130)
    at gov.nist.javax.sip.parser.ParametersParser.parse(ParametersParser.java:58)
    at gov.nist.javax.sip.parser.AddressParametersParser.parse(AddressParametersParser.java:67)
    at gov.nist.javax.sip.parser.ToParser.parse(ToParser.java:59)
    at gov.nist.javax.sip.parser.StringMsgParser.processHeader(StringMsgParser.java:280)
    at gov.nist.javax.sip.parser.StringMsgParser.parseSIPMessage(StringMsgParser.java:170)
    at gov.nist.javax.sip.stack.UDPMessageChannel.processIncomingDataPacket(UDPMessageChannel.java:337)
    at gov.nist.javax.sip.stack.UDPMessageChannel.run(UDPMessageChannel.java:297)
    at java.lang.Thread.run(Thread.java:636)
14:25:05,594 ERROR [UDPMessageChannel] BAD MESSAGE!
14:25:05,594 ERROR [UDPMessageChannel] INVITE sip:10...@127.0.0.1:5080;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.0.114:5061;branch=z9hG4bK20
From: <sip:1...@192.168.0.114:5061>;tag=24417923471779367133
To: <sip:10...@127.0.0.1:5080>;
Call-ID: 1...@192.168.0.114
CSeq: 2 INVITE
Max-Forwards: 70
Contact: <sip:1...@192.168.0.114:5061;transport=UDP>
User-Agent: SIPInspector_v_1.34
Content-Type: application/sdp
Content-Length: 215

v=0
o=111 843670094 843670094 IN IP4 192.168.0.114
s=-
c=IN IP4 192.168.0.114
t=0 0
a=sendrecv
m=audio 6000 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20

Pls help me to figure out !!
thank you

Yvon Colin

unread,
Dec 5, 2011, 8:55:39 AM12/5/11
to mobicent...@googlegroups.com
Indhira,
could you please explain what you want to do with your servlet?
By the way, as Jean daid it before your log level is too high; If you use Jboss_mobicents go to the  jboss-log4j.xml file and change gov.nist and org.mobicents categories to DEBUG.
You can find this file here :  $JBOSS_HOME/server/default/conf
Regards,

2011/12/5 Indhira Prabhakaran <indr...@gmail.com>
Hello Jean ,

This is the following error that I get . I am using SIP inspector as my SIP user agent and I am using invite and Message SIP messages, When i run my server and trace in wireshark, i get the following error in my server console

Indhira



--
Yvon

Tom Smith

unread,
Dec 5, 2011, 9:01:30 AM12/5/11
to mobicent...@googlegroups.com
It looks like the INVITE has an invalid To header. Here is the BNF
for the To header from RFC 3261:

To = ( "To" / "t" ) HCOLON ( name-addr
/ addr-spec ) *( SEMI to-param )

Looks like the semicolon should only be present if followed by a parameter.

Indhira Prabhakaran

unread,
Dec 5, 2011, 9:17:07 AM12/5/11
to mobicent...@googlegroups.com
Yvon ,

I am trying to deploy a SIP servlet on Jboss server. I am using SIP inspector as my user agent . My task is to send an invite message from my SIP UA to my server and after that I need to trace in wireshark for 200 OK message. When i try to do this, i am getting as BAD Message
 This is my servletzogbee.java
and my SIP Stack in my SIP UA is ass follows

<-- INVITE
--> MESSAGE

And i have given 2 calls from the UA before I start the WIRESHARK.
My local IP address is my PC IP address and with different port
and my remote IP address is the default JBOSS server address :127.0.0.1 & default remote server port : 5080

thank u



Yvon Colin

unread,
Dec 5, 2011, 9:50:39 AM12/5/11
to mobicent...@googlegroups.com
Hum ok !!
I think what you want is really simple :
With sip inspector you send an invite to your "Jboss AS"!  Cool
But your Jboss AS doesn't know what to do if you didn't code it before.
What you want back, if  have understand, is a 200 ok response , right?
Your doinvite methode means (what your "Jboss as" should do when it receives an invite). In your case you juste need a 200 ok response. so, you have to code your doinvite methode like that :


public class ServletZigbee extends SipServlet{
       protected void doInvite(SipServletRequest request)

       throws ServletException, IOException
       {
               if(request.isInitial())
               {  SipServletResponse res = request.createResponse(200);
                 res.send();
               }
      }
}
 
that's all for what you want.

2011/12/5 Indhira Prabhakaran <indr...@gmail.com>



--
Yvon

Indhira Prabhakaran

unread,
Dec 5, 2011, 10:24:02 AM12/5/11
to mobicent...@googlegroups.com
Many Thanks Yvon,
But the problem is, as far as i know i guess sip servlet should have an init() method. I tried as you said, but now i get ICMP message. Destination unreachable ! sad :(
co-ordinator of mine suggested me to re-write few things in the SIP header , like by adding a Route :<sip:local_ip:local port>
The main task of mine is to manage incoming and outgoing SIP messages, If i am done with this, I can carry on with further tasks in my project. But this seems like struggling because of that BAD MESSAGE earlier and now with ICMP destination unreachable

-Indhira


Yvon Colin

unread,
Dec 6, 2011, 3:01:19 AM12/6/11
to mobicent...@googlegroups.com
Ok ok Indhira,
I am agree with you should have an init method, what i wrote was just the doinvite methode (you should have a doinvite and an init). But are you sure that your servlet is deployed? And if it is deployed, did you configure the DAR file? Without that the container can't send your invite to your simple servlet.
Regards,

2011/12/5 Indhira Prabhakaran <indr...@gmail.com>
Many Thanks Yvon,



--
Yvon

Indhira Prabhakaran

unread,
Dec 6, 2011, 5:08:39 AM12/6/11
to mobicent...@googlegroups.com
Yvon,
I will check with it now. But I have a question !
I use SIP inspector as my UA and i input a simple invite & message methods. Do I have to change anythng in the SIP header manually ?

---------->
INVITE sip:1000@[remote_ip]:[remote_port];transport=udp SIP/2.0«
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]«
From: <sip:155@[local_ip]:[local_port]>;tag=24417923471779367133«
To: <sip:1000@[remote_ip]:[remote_port]>;[peer_tag_param]«
Call-ID: [call_number]@[local_ip]«
CSeq: [cseq+1] INVITE«
Max-Forwards: 70«
Contact: <sip:155@[local_ip]:[local_port];transport=[transport]>«
User-Agent: SIPInspector_v_1.34«
Content-Type: application/sdp«
Content-Length: [len]«
«
v=0«
o=111 843670094 843670094 IN IP4 [local_ip]«
s=-«
c=IN IP4 [local_ip]«

t=0 0«
a=sendrecv«
m=audio 6000 RTP/AVP 0 101«
a=rtpmap:0 PCMU/8000«
a=rtpmap:101 telephone-event/8000«
a=fmtp:101 0-15«
a=ptime:20«

-Indhira




Andrew Miller

unread,
Dec 6, 2011, 6:35:10 AM12/6/11
to mobicent...@googlegroups.com
I've not used SIP Inspector, but if that is an initial INVITE, it should not have any tag on the To: line. The receiver will assign a To: tag and return it in the response.

Try just
This looks like why you are getting a To: line with just a semi-colon on the end (which is illegal)

Andy Miller
Crocodile RCS Ltd.

Indhira Prabhakaran

unread,
Dec 6, 2011, 7:00:57 AM12/6/11
to mobicent...@googlegroups.com
I tried with your suggestion. Many thanks. but i am getting 400 BAD MESSAGE in wireshark traces.
I have one more question , Now i am creating a New SIP Stack in my UA as follows:

-->INVITE
<--100
<--200
-->ACK
<--MESSAGE
-->200
<--BYE
-->200

for invite the SIP header as follows


--------->
INVITE sip:1000@[remote_ip]:[remote_port];transport=udp SIP/2.0«
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]«
From: <sip:155@[local_ip]:[local_port]>;tag=24417923471779367133«
To: <sip:1000@[remote_ip]:[remote_port]>«

Call-ID: [call_number]@[local_ip]«
CSeq: [cseq+1] INVITE«
Max-Forwards: 70«
Contact: <sip:155@[local_ip]:[local_port];transport=[transport]>«
User-Agent: SIPInspector_v_1.34«
Content-Type: application/sdp«
Content-Length: [len]«
«
v=0«
o=111 843670094 843670094 IN IP4 [local_ip]«
s=-«
c=IN IP4 [local_ip]«
t=0 0«
a=sendrecv«
m=audio 6000 RTP/AVP 0 101«
a=rtpmap:0 PCMU/8000«
a=rtpmap:101 telephone-event/8000«
a=fmtp:101 0-15«
a=ptime:20«
 and for ACK
------->
ACK sip:1000@[remote_ip]:[remote_port];transport=udp SIP/2.0«

Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]«
From: <sip:155@[local_ip]:[local_port]>;tag=24417923471779367133«
To: <sip:1000@[remote_ip]:[remote_port]>«
Call-ID: [call_number]@[local_ip]«
CSeq: [cseq] ACK«

Max-Forwards: 70«
Contact: <sip:155@[local_ip]:[local_port];transport=[transport]>«
User-Agent: SIPInspector_v_1.34«
Content-Length: 0«
«

I deleted the To tag ; as you suggested.
Now Do i have to write method for ACK also in my Sipservlet.java class? before running ?


Thanks,
-Indhira

Andrew Miller

unread,
Dec 6, 2011, 8:52:40 AM12/6/11
to mobicent...@googlegroups.com
Indhira,

The ACK should have a tag on the To: line. It should be the tag that was returned in the 200 OK.

The notation you showed early for SIP Inspector looks very similar to SIPp. If this is so, [peer_tag_param] should resolve to this for the ACK.

Try the line as originally given in the ACK (but not in the INVITE.
To: <sip:1000@[remote_ip]:[remote_port]>;[peer_tag_param]

See http://tools.ietf.org/html/rfc3261 for details of how the tags work. Look at the INVITE transaction sections.

You only need to write a handler for the ACK if you need to do something with the ACK.

In your example the INVITE has an SDP offer, so the 200 should have the SDP answer. In this case the ACK simply completes the INVITE transaction, and all the relevant handling is done for you by the stack.

If the INVITE had no SDP, then the offer would be in the 200, and the SDP answer would be in the ACK. In this case you normally need to handle the ACK to deal with the SDP.

Andy Miller
Crocodile RCS Ltd.
 

Yvon Colin

unread,
Dec 6, 2011, 8:54:32 AM12/6/11
to mobicent...@googlegroups.com
everything seems ok for me!one question what is the value of your [remote_ip]:[remote_port]
can you enclose log and wireshark trace please?!
2011/12/6 Indhira Prabhakaran <indr...@gmail.com>



--
Yvon

Yvon Colin

unread,
Dec 6, 2011, 8:56:52 AM12/6/11
to mobicent...@googlegroups.com
follow this! it is a   good example
http://ben-touron.blogspot.com/2009/11/developping-simple-sip-application-with.html

2011/12/6 Yvon Colin <colin...@gmail.com>



--
Yvon

Indra

unread,
Dec 6, 2011, 10:01:11 AM12/6/11
to mobicents-public
Andrew,
Many Thanks ! I will work on it and let u know if i have any
questions.
-Indhira

Indra

unread,
Dec 6, 2011, 10:12:43 AM12/6/11
to mobicents-public
Yvon, Andrew,
The value of [remote_ip]:[remote_port] is 127.0.0.1:5080

these are my following wireshark traces.
This trace is for, which i tried to send a Message request from the
servlet to the SIP INSPECTOR, It worked well.

Frame 1 (413 bytes on wire, 413 bytes captured)
Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst:
00:00:00_00:00:00 (00:00:00:00:00:00)
Internet Protocol, Src: 192.168.0.114 (192.168.0.114), Dst: 127.0.0.1
(127.0.0.1)
User Datagram Protocol, Src Port: sip-tls (5061), Dst Port: onscreen
(5080)
Session Initiation Protocol
Request-Line: MESSAGE sip:10...@127.0.0.1:5080;transport=udp SIP/2.0
Method: MESSAGE
Request-URI: sip:10...@127.0.0.1:5080;transport=udp
[Resent Packet: False]
Message Header
Via: SIP/2.0/UDP 192.168.0.114:5061;branch=z9hG4bK200
Transport: UDP
Sent-by Address: 192.168.0.114
Sent-by port: 5061
Branch: z9hG4bK200


From: <sip:1...@192.168.0.114:5061>;tag=24417923471779367133

SIP from address: sip:1...@192.168.0.114:5061
SIP tag: 24417923471779367133
To: <sip:10...@127.0.0.1:5080>
SIP to address: sip:10...@127.0.0.1:5080
SIP to address User Part: 1000
SIP to address Host Part: 127.0.0.1
SIP to address Host Port: 5080
Call-ID: 1...@192.168.0.114
CSeq: 2 MESSAGE
Sequence Number: 2
Method: MESSAGE


Max-Forwards: 70
Contact: <sip:1...@192.168.0.114:5061;transport=UDP>

Contact Binding: <sip:1...@192.168.0.114:5061;transport=UDP>
User-Agent: SIPInspector_v_1.34
Content-Length: 0

The second trace is, when i Tried to send a MESSAGE request from SIP
inspector to Sip servlet & it failed, shwoing 404 Bad request ERROR

Frame 1 (413 bytes on wire, 413 bytes captured)
Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst:
00:00:00_00:00:00 (00:00:00:00:00:00)
Internet Protocol, Src: 192.168.0.114 (192.168.0.114), Dst: 127.0.0.1
(127.0.0.1)
User Datagram Protocol, Src Port: sip-tls (5061), Dst Port: onscreen
(5080)
Session Initiation Protocol
Request-Line: MESSAGE sip:10...@127.0.0.1:5080;transport=udp SIP/
2.0
Method: MESSAGE
Request-URI: sip:10...@127.0.0.1:5080;transport=udp
[Resent Packet: False]
Message Header
Via: SIP/2.0/UDP 192.168.0.114:5061;branch=z9hG4bK200
Transport: UDP
Sent-by Address: 192.168.0.114
Sent-by port: 5061
Branch: z9hG4bK200


From: <sip:1...@192.168.0.114:5061>;tag=24417923471779367133

SIP from address: sip:1...@192.168.0.114:5061
SIP tag: 24417923471779367133
To: <sip:10...@127.0.0.1:5080>
SIP to address: sip:10...@127.0.0.1:5080
SIP to address User Part: 1000
SIP to address Host Part: 127.0.0.1
SIP to address Host Port: 5080
Call-ID: 1...@192.168.0.114
CSeq: 2 MESSAGE
Sequence Number: 2
Method: MESSAGE


Max-Forwards: 70
Contact: <sip:1...@192.168.0.114:5061;transport=UDP>

Contact Binding: <sip:


1...@192.168.0.114:5061;transport=UDP>
User-Agent: SIPInspector_v_1.34

Content-Length: 0

No. Time Source Destination
Protocol Info
2 1.223063 127.0.0.1 192.168.0.114
SIP Status: 404 Not found

Frame 2 (277 bytes on wire, 277 bytes captured)
Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst:
00:00:00_00:00:00 (00:00:00:00:00:00)
Internet Protocol, Src: 127.0.0.1 (127.0.0.1), Dst: 192.168.0.114
(192.168.0.114)
User Datagram Protocol, Src Port: onscreen (5080), Dst Port: sip-tls
(5061)
Session Initiation Protocol
Status-Line: SIP/2.0 404 Not found
Status-Code: 404
[Resent Packet: False]
[Request Frame: 1]
[Response Time (ms): 1223]
Message Header
To: <sip:10...@127.0.0.1:5080>
SIP to address: sip:10...@127.0.0.1:5080
SIP to address User Part: 1000
SIP to address Host Part: 127.0.0.1
SIP to address Host Port: 5080
Via: SIP/2.0/UDP 192.168.0.114:5061;branch=z9hG4bK200
Transport: UDP
Sent-by Address: 192.168.0.114
Sent-by port: 5061
Branch: z9hG4bK200
CSeq: 2 MESSAGE
Sequence Number: 2
Method: MESSAGE
Call-ID: 1...@192.168.0.114


From: <sip:1...@192.168.0.114:5061>;tag=24417923471779367133

SIP from address: sip:1...@192.168.0.114:5061
SIP tag: 24417923471779367133
Content-Length: 0

Thanks

-Indhira

Indhira Prabhakaran

unread,
Dec 6, 2011, 10:19:20 AM12/6/11
to mobicents-public
now in my server its shows me the following error

org.mobicents.servlet.sip.core.dispatchers.DispatcherException: the Request-URI does not point to another domain,
and there is no Route header,the container should not send the request as it will cause a loop. Instead, the container must reject the request with 404 Not Found final response with no Retry-After header. You may want to check your dar configuration file to see if the request can be handled or make sure you use the correct Application Router jar.
    at org.mobicents.servlet.sip.core.dispatchers.InitialRequestDispatcher.dispatchOutsideContainer(InitialRequestDispatcher.java:479)
    at org.mobicents.servlet.sip.core.dispatchers.InitialRequestDispatcher.dispatchMessage(InitialRequestDispatcher.java:302)
    at org.mobicents.servlet.sip.core.SipApplicationDispatcherImpl.processRequest(SipApplicationDispatcherImpl.java:709)
    at gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:230)
    at gov.nist.javax.sip.SipProviderImpl.handleEvent(SipProviderImpl.java:196)
    at gov.nist.javax.sip.DialogFilter.processRequest(DialogFilter.java:1298)
    at gov.nist.javax.sip.stack.SIPServerTransaction.processRequest(SIPServerTransaction.java:863)
    at gov.nist.javax.sip.stack.UDPMessageChannel.processMessage(UDPMessageChannel.java:540)
    at gov.nist.javax.sip.stack.UDPMessageChannel.processIncomingDataPacket(UDPMessageChannel.java:492)

    at gov.nist.javax.sip.stack.UDPMessageChannel.run(UDPMessageChannel.java:297)
    at java.lang.Thread.run(Thread.java:636)
15:41:24,431 INFO  [SIPTransactionStack] <message
from="127.0.0.1:5080"
to="192.168.0.114:5061"
time="1323182484427"
isSender="true"
transactionId="z9hg4bk200"
callId="1...@192.168.0.114"
firstLine="SIP/2.0 404 Not found"
>
<![CDATA[SIP/2.0 404 Not found
To: <sip:10...@127.0.0.1:5080>

Via: SIP/2.0/UDP 192.168.0.114:5061;branch=z9hG4bK200
CSeq: 2 MESSAGE

Call-ID: 1...@192.168.0.114
From: <sip:1...@192.168.0.114:5061>;tag=24417923471779367133
Content-Length: 0
]]>
</message
>


and YVON of you suggested me to config with the DAR file , But i cannot find that Configuration file in the jboss-5.1.0.GA/server/default/conf directory. now my question is , can we configure manually ?? or should i need to install any other version of mobicents ??

This is the mobicent version , which i use

http://mobicents.googlecode.com/svn/downloads/sip-servlets-eclipse-update-site/


-Thank you

Andrew Miller

unread,
Dec 6, 2011, 10:36:24 AM12/6/11
to mobicent...@googlegroups.com
Indhira,

The DAR is held at jboss-5.1.0.GA\server\default\conf\dars\mobicents-dar.properties.

It is best not to edit this by hand. It can be configured from http://localhost:8080/sip-servlets-management/. If your servlet is deployed correctly, it should be available in drop down box under INVITE.

Try working through the tutorial that Yvon posted, it seems to cover the basics.


Andy Miller
Crocodile RCS Ltd.


Indhira Prabhakaran

unread,
Dec 6, 2011, 11:06:38 AM12/6/11
to mobicent...@googlegroups.com
Andrew,

Thanks a lot ! I found it atlast , I didn't check the Runtime environment path, i edited the DAR file by adding
MESSAGE: ("org.mobicents.servlet.sip.example.SimpleApplication", "DAR:From", "ORIGINATING", "", "NO_ROUTE", "0")
Now everthing works fine without errors, but I get 501 Request no Implemented message in my wireshark.
I read the tutorail already, That was the link provided by my co-ordinator, it helped me, but My goal is to send MESSAGE to the servlet , not Invite. Hope you understan my question. If i try to send a message from Servlet to SIP UA, it works fine, but the other way round, I am getting a server failure.

Thank you
-Indhira


Andrew Miller

unread,
Dec 6, 2011, 11:40:23 AM12/6/11
to mobicent...@googlegroups.com
If you configure the DAR like that, it will send the MESSAGE to the Mobicents simple Application. This does not handle MESSAGE, so you get a 501.

If you are still using your original code then you should use "org.example.servlet.sip.ServletZigbee" (I believe), rather than "org.mobicents.servlet.sip.example.SimpleApplication".

It is better to do this from the Web interface, because you can see if your Servlet is deployed, and you can't make a typographical error.


Andy Miller
Crocodile RCS Ltd.


Yvon Colin

unread,
Dec 7, 2011, 4:21:25 AM12/7/11
to mobicent...@googlegroups.com
Indhira,
It is almost done do what Andrew said go to the : http://localhost:8080/sip-servlets-management/.
Or if your know your servlet name. I think you konw it 'cause you code it replace "org.mobicents.servlet.sip.example.SimpleApplication", by your servlet name. I think you probably know it DAR means Default Application Router. Your question is What for? "The Application Router is called by the container to select a SIP servlet application to service an initial request".
You select the wrong servlet and unfortunatly this servlet does not handle message that why you have that kind of error. here you can see the code of the servlet you did call in you dar file there is no domessage method in it or a dorequest method. 

2011/12/6 Andrew Miller <andrew...@crocodile-rcs.com>



--
Yvon

Indhira Prabhakaran

unread,
Dec 7, 2011, 8:43:14 AM12/7/11
to mobicent...@googlegroups.com
Yvon & Andrew & all,

Many Thanks for your support so far, finally my SIP UA communicates with my sip servlet.
I just replaced the "org.mobicents.servlet.sip.example.SimpleApplication'' with my class name and now it works. and send 200 ok message .
Its a better progress in my project now. Any questions, i will post it . Thank you Guys !

- Indhira
Reply all
Reply to author
Forward
0 new messages