Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 77 by [email protected]: 410 response throws ParseException in MGCP Stack.
http://code.google.com/p/mediaserver/issues/detail?id=77

When MMS responds with 401 response the MGCP stack throws an exception and the response never makes it back to the SIP servlet application.

2012-08-27 08:56:48,516 DEBUG [org.mobicents.protocols.mgcp.stack.MessageHandler] (Thread-28) Message header: 410 169512028 Endpoint not available 2012-08-27 08:56:48,516 DEBUG [org.mobicents.protocols.mgcp.stack.MessageHandler] (Thread-28) Processing response message 2012-08-27 08:56:48,516 ERROR [org.mobicents.protocols.mgcp.stack.TransactionHandler] (Thread-28) Could not decode message:
java.text.ParseException: unknown response code: 410
at org.mobicents.protocols.mgcp.parser.Utils.decodeReturnCode(Utils.java:1568) at org.mobicents.protocols.mgcp.stack.CreateConnectionHandler$ResponseContentHandle.header(CreateConnectionHandler.java:267) at org.mobicents.protocols.mgcp.parser.MgcpMessageParser.parse(MgcpMessageParser.java:55) at org.mobicents.protocols.mgcp.stack.CreateConnectionHandler.decodeResponse(CreateConnectionHandler.java:88) at org.mobicents.protocols.mgcp.stack.TransactionHandler.receiveResponse(TransactionHandler.java:621) at org.mobicents.protocols.mgcp.stack.MessageHandler.scheduleMessages(MessageHandler.java:223) at org.mobicents.protocols.mgcp.stack.JainMgcpStackImpl.run(JainMgcpStackImpl.java:327) 2012-08-27 08:56:48,514 DEBUG [org.mobicents.servlet.sip.address.RFC2396UrlDecoder] (Mobicents-SIP-Servlets-UDPMessageChannelThread-0) uri to decode sipp 2012-08-27 08:56:48,514 DEBUG [org.mobicents.servlet.sip.message.SipServletMessageImpl] (pool-27-thread-64) transaction gov.nist.javax.sip.stack.SIPServerTransaction@ca26b608 transactionId = null transactionType false 2012-08-27 08:56:48,518 ERROR [org.mobicents.protocols.mgcp.stack.JainMgcpStackImpl] (Thread-28) Unexpected exception occured:
java.lang.NullPointerException
at org.mobicents.protocols.mgcp.stack.TransactionHandler.receiveResponse(TransactionHandler.java:627) at org.mobicents.protocols.mgcp.stack.MessageHandler.scheduleMessages(MessageHandler.java:223) at org.mobicents.protocols.mgcp.stack.JainMgcpStackImpl.run(JainMgcpStackImpl.java:327)


Reply via email to