Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ParseException in Contact header with URI parameters #168

Open
jleren opened this issue Nov 3, 2017 · 1 comment
Open

ParseException in Contact header with URI parameters #168

jleren opened this issue Nov 3, 2017 · 1 comment

Comments

@jleren
Copy link

jleren commented Nov 3, 2017

Hi,

Im having problems with the following Contact header in a SUBSCRIBE message:

Contact: <sip:sip_wuclnzqtpt@10.200.40.113;x-tiu="VGhdczoaJVQaHyQ3HgYqHzsUGAIkHClLfF1nX1FYZVFeXXtDZVRcRmBYUgc7EjsdGRkmHFQGLQNNbhwSJFJYSnpdZ15aWGZZWV14QmRUX0ZiWA==">

I get the following ParserException:
017-11-03 11:30:12,157 - [debug] - SIPStackLogger - gov.nist.javax.sip.stack.UDPMessageChannel.handleException(UDPMessageChannel.java:679) [Parsing Issue [C@44fa741e
Expecting >>>><<< got >>>"<<<]

As far as I can read from the SIP RFC, it is allowed to have this kind of parameter in a SIP URI, so I think this is an error in the ContactHeader parser.

I have been looking around the parser code myself, but have not been able to find a solution.

Kind Regards
Jon Schøpzinsky

@jaimecasero
Copy link
Contributor

let me create a test for this scenario,and come back with answer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants