Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 2115 by horacimacias: MSS unable to handle GenericURI URIs
http://code.google.com/p/mobicents/issues/detail?id=2115
What steps will reproduce the problem?
1. Send a request to MSS with a non-sip/sips/tel URI, for
example "urn:service:sos"
2. Check the logs; the request was not presented to the default app/servlet
and a ClassCastException is thrown
What is the expected output? What do you see instead?
I'd expect the exception not to be thrown and the servlet being invoked as
with any other sip request
What version of the product are you using? On what operating system?
MSS 1.4 FINAL on Linux
Please provide any additional information below.
InitialRequestDispatcher assumes the request URI is an instance of
Parameters. I tested checking instanceof Parameters and things seem to be
working now. I'm attaching a simple patch for this.
Attachments:
genericuripatch.txt 1.3 KB