[asterisk-bugs] [JIRA] (ASTERISK-26317) pjsip PJMEDIA_SDP_NEG_ANSWER_MULTIPLE_CODECS always defined.

Aaron An (JIRA) noreply at issues.asterisk.org
Mon Aug 29 05:40:03 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=232073#comment-232073 ] 

Aaron An commented on ASTERISK-26317:
-------------------------------------

configure it as a per-endpoint basis is also a good choise. I will try to contribute with gerrit.

> pjsip PJMEDIA_SDP_NEG_ANSWER_MULTIPLE_CODECS always defined.
> ------------------------------------------------------------
>
>                 Key: ASTERISK-26317
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26317
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 13.8.0
>         Environment: CentOS 6.5
>            Reporter: Aaron An
>            Assignee: Aaron An
>            Severity: Critical
>
> look at res/res_pjsip_session.c function "new_invite()" or "ast_sip_session_create_invite()", 
> #ifdef PJMEDIA_SDP_NEG_ANSWER_MULTIPLE_CODECS
>  pjmedia_sdp_neg_set_answer_multiple_codecs(session->inv_session->neg, PJ_TRUE);
> #endif
> but in pjproject it alway define PJMEDIA_SDP_NEG_ANSWER_MULTIPLE_CODECS to 0 or other. so we always set the multiple codecs to true.
> I think it will be better to have a set in pjsip.conf to control where use multiple codecs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list