Here is the part of SipServlet:
----------------------------------------------------------------------------------------------
public class OurSipServlet extends SipServlet
{
....
@Override
public void init(ServletConfig servletConfig) throws
ServletException
{
//Stop gather statistics by Mobicents
super.init(servletConfig);
SipServletsHelper.sipFactory = sipFactory;
}
@Override
protected void doRequest(SipServletRequest request) throws
ServletException, IOException
{
final String method = request.getMethod(); // Here we can
recieve exception in case "Watch" of
a request object in IDE(IntelliJ in my case)
}
....
}
------------------stacktrace below:
----------------------------------------------------------------------------
ERROR PipelineThread-435
com.avistar.callcontrol.sip.CallControlSipServlet.doRequest(CallControlSipServlet.java:
165) - java.lang.IllegalStateException: Error sending request INVITE
sips:cal...@192.168.252.35:5072;transport=TLS SIP/2.0
From: "caller" <sips:caller@omigrin:
5061>;tag=95003921_c71fdaf2_de3b0f53-483a-4d3e-a574-611ea44de391
To: "callee" <sips:callee@omigrin:5061>
CSeq: 1 INVITE
Route: <sips:192.168.252.35:5061;lr>
Max-Forwards: 69
Subject: Performance Test
Content-Type: application/sdp
Call-ID:
7c634c157485ca94...@192.168.252.35
Contact: <
sip:nu...@192.168.252.35:5060>;transport=TLS
Avistar-From-Address: 192.168.252.35
Avistar-Call-Control-Originator-URI:
sips:cal...@192.168.252.35:5071
Avistar-To-Address: 192.168.252.35
Via: SIP/2.0/UDP 192.168.252.35:5060;branch=z9hG4bKde3b0f53-483a-4d3e-
a574-611ea44de391_c71fdaf2_12718782747233
Content-Length: 141
v=0
o=user1 53655765
2353687637 IN IP4 192.168.252.35
s=-
c=IN IP4 192.168.252.35
t=0 0
m=audio 6001 RTP/AVP 0
a=rtpmap:0 PCMU/8000
callcontrol.sip.CallControlSipServlet.doRequest(CallControlSipServlet.java:
149)
at javax.servlet.sip.SipServlet.service(SipServlet.java:325)
at
org.mobicents.servlet.sip.core.dispatchers.MessageDispatcher.callServlet(MessageDispatcher.java:
235)
at org.mobicents.servlet.sip.core.dispatchers.InitialRequestDispatcher
$InitialDispatchTask.dispatch(InitialRequestDispatcher.java:713)
at
org.mobicents.servlet.sip.core.dispatchers.DispatchTask.dispatchAndHandleExceptions(DispatchTask.java:
55)
at
org.mobicents.servlet.sip.core.dispatchers.InitialRequestDispatcher.dispatchInsideContainer(InitialRequestDispatcher.java:
422)
at
org.mobicents.servlet.sip.core.dispatchers.InitialRequestDispatcher.dispatchMessage(InitialRequestDispatcher.java:
289)
at
org.mobicents.servlet.sip.core.SipApplicationDispatcherImpl.processRequest(SipApplicationDispatcherImpl.java:
694)
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:
1303)
at
gov.nist.javax.sip.stack.SIPServerTransaction.processRequest(SIPServerTransaction.java:
847)
at
gov.nist.javax.sip.stack.TLSMessageChannel.processMessage(TLSMessageChannel.java:
613)
at
gov.nist.javax.sip.parser.PipelinedMsgParser.run(PipelinedMsgParser.java:
470)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.sip.TransactionUnavailableException: Scheme for
gov.nist.javax.sip.SipProviderImpl.getNewClientTransaction(SipProviderImpl.java:
304)
at
org.mobicents.servlet.sip.message.SipServletRequestImpl.send(SipServletRequestImpl.java:
1133)
... 21 more
Caused by: java.text.ParseException: Scheme for contact should be
sips:sip:nu...@192.168.252.35:5060
at gov.nist.javax.sip.message.SIPRequest.checkHeaders(SIPRequest.java:
321)
at
gov.nist.javax.sip.SipProviderImpl.getNewClientTransaction(SipProviderImpl.java:
302)
--------------------------------------------------------------------------------------------------------------------------------------