Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium
New issue 2615 by [email protected]: The distributable field is not well
supported by the SipApplication annotation.
http://code.google.com/p/mobicents/issues/detail?id=2615
What steps will reproduce the problem?
1. Consider a Sip application set as distributable in the sip.xml file. The
application works fine. Here is an example:
https://github.com/tleruitte/mobicents-issue/tree/master/without-annotations
2. Replace the sip.xml file with annotations in the code
(javax.servlet.sip.annotation.SipApplication and
javax.servlet.sip.annotation.SipServlet). Here is the same example but with
annotations:
https://github.com/tleruitte/mobicents-issue/tree/master/with-annotations
3. When the annotated application is deployed, an error is thrown
(java.lang.IllegalStateException: CacheManager does not recognize config
null). When I try to send an INVITE request which should be handled by the
app, another error is thrown
(org.mobicents.servlet.sip.core.dispatchers.DispatcherException: An
unexpected servlet exception occured while routing an initial request).
Full trace of both errors are here:
https://github.com/tleruitte/mobicents-issue/blob/master/errors.txt
What is the expected output? What do you see instead?
I would expect to have the same behavior, not matter if the parameters are
given through the sip.xml file or by annotations.