Rejecting message due to parse error

Michael kr <[email protected]>
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
Hi All,

In the last hour or so, I was investigating why a call
is not coming through.

It appear that there was a parse error in the message:

java.text.ParseException: From: "michael"
<sip:MIK_S>;tag=8a188006855544c8becca97c8e7d5fb8

Expecting  >>>><<< got >>>_<<<
        at
gov.nist.core.LexerCore.match(LexerCore.java:248)
        at
gov.nist.javax.sip.parser.AddressParser.nameAddr(AddressParser.java:58)
        at
gov.nist.javax.sip.parser.AddressParser.address(AddressParser.java:86)
        at
gov.nist.javax.sip.parser.AddressParametersParser.parse(AddressParametersParser.java:29)
        at
gov.nist.javax.sip.parser.FromParser.parse(FromParser.java:34)
        at
gov.nist.javax.sip.parser.StringMsgParser.parseMessage(StringMsgParser.java:551)
        at
gov.nist.javax.sip.parser.StringMsgParser.parseSIPMessage(StringMsgParser.java:323)
        at
gov.nist.javax.sip.stack.UDPMessageChannel.run(UDPMessageChannel.java:236)
        at java.lang.Thread.run(Unknown Source)

Rejecting message !  INVITE
sip:[email protected]:5060 SIP/2.0




The “From:” header is initialized by the computer’s
name which appears to include "_".

Now: 
a. Can we tolerate this? The messaging can be handled
with an _ in the text.
b. Information about such rejection should be send to
the application level to save time of the unsuspecting
programmer ;-)

Thanks,

Michael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.