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

Added support for updated RFC7866 content-type sub type with XML extension #4270

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

regularex
Copy link

@regularex regularex commented Jan 25, 2025

Updated to support RFC7866 base content type XML extension per https://datatracker.ietf.org/doc/html/draft-sipcore-siprec-fix-mediatype-00

@CLAassistant
Copy link

CLAassistant commented Jan 25, 2025

CLA assistant check
All committers have signed the CLA.

metadata_part = pjsip_multipart_find_part(rdata->msg_info.msg->body,
&media_type, NULL);

/* Fallback to XML extension rs-metadata+xml if needed */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just put this within pjsip_siprec_get_metadata()?

I know that you probably don't really need the function, but since it's already there, erasing it is typically not desirable unless really necessary.

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

Successfully merging this pull request may close these issues.

3 participants