[Asterisk-code-review] res_pjsip: Add utils for checking media types (asterisk[18])

George Joseph asteriskteam at digium.com
Mon Jan 17 06:33:15 CST 2022


Hello Friendly Automation, 

I'd like you to reexamine a change. Please visit

    https://gerrit.asterisk.org/c/asterisk/+/17856

to look at the new patch set (#2).

Change subject: res_pjsip: Add utils for checking media types
......................................................................

res_pjsip: Add utils for checking media types

Added two new functions to assist checking media types...

* ast_sip_are_media_types_equal compares two pjsip_media_types.
* ast_sip_is_media_type_in tests if one media type is in a list
  of others.

Added static definitions for commonly used media types to
res_pjsip.h.

Changed several modules to use the new functions and static
definitions.

ASTERISK_29813
(not ready to close)

Change-Id: Ief77675235bd3bf00a6b095d4673fd878d0801b9
---
M include/asterisk/res_pjsip.h
M res/res_pjsip.c
M res/res_pjsip.exports.in
M res/res_pjsip_sdp_rtp.c
M res/res_pjsip_session.c
5 files changed, 97 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/56/17856/2
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/17856
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 18
Gerrit-Change-Id: Ief77675235bd3bf00a6b095d4673fd878d0801b9
Gerrit-Change-Number: 17856
Gerrit-PatchSet: 2
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220117/857ceb26/attachment-0001.html>


More information about the asterisk-code-review mailing list