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

getContentTypeHeader #4

Closed
stormning opened this issue Sep 7, 2017 · 2 comments
Closed

getContentTypeHeader #4

stormning opened this issue Sep 7, 2017 · 2 comments

Comments

@stormning
Copy link

After using sipMessage.getContentTypeHeader() ,
then use sipMessage.toBuffer().toString()
I found the contentTypeHeader value is missing

@stormning
Copy link
Author

stormning commented Sep 14, 2017

io.pkts.packet.sip.header.impl.ContentTypeHeaderImpl#transferValue
only transfer params to dst.
I modified it as below , and resolved the problem
@OverRide
protected void transferValue(Buffer dst) {
getValue().getBytes(0, dst);
super.transferValue(dst);
}

@jonbo372
Copy link
Collaborator

Thanks for filing the issue. This is an issue with siplib in pkts.io. Moving the bug to that project.

aboutsip/pkts#65

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