Comment #3 on issue 164 by [email protected]: CANCEL not proxied after INVITE
http://code.google.com/p/sipservlets/issues/detail?id=164

There are a couple of errors in client_SimpleSipServletTest.xml. The Via lines in the INVITE and the CANCEL should be identical. Also there should be no [routes] line in the CANCEL.

With those changes sip-server.log is showing a NullPointerException being raised:

2012-10-09 17:21:41,534 ERROR [org.mobicents.servlet.sip.core.dispatchers.DispatchTask] (MSS-Executor-Thread-0) Unexpected exception while processing message CANCEL sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK269211_1
From: "sipp" <sip:[email protected]>;tag=269211
To: "sut" <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1 CANCEL
Max-Forwards: 70
Content-Length: 0


java.lang.NullPointerException
at org.mobicents.servlet.sip.core.dispatchers.CancelRequestDispatcher$CancelDispatchTask.dispatch(CancelRequestDispatcher.java:220) at org.mobicents.servlet.sip.core.dispatchers.DispatchTask.dispatchAndHandleExceptions(DispatchTask.java:61) at org.mobicents.servlet.sip.core.dispatchers.DispatchTask.run(DispatchTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)

Reply via email to