bensari / mediaserver

Automatically exported from code.google.com/p/mediaserver
1 stars 0 forks source link

410 response throws ParseException in MGCP Stack. #77

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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)

Original issue reported on code.google.com by quintana...@gmail.com on 27 Aug 2012 at 3:46

GoogleCodeExporter commented 9 years ago
Already resolved in mgcp impl

Original comment by oifa.yul...@gmail.com on 27 Aug 2012 at 4:33

GoogleCodeExporter commented 9 years ago
Thanks for heads up.

Original comment by quintana...@gmail.com on 27 Aug 2012 at 4:41