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

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Aug 29 05:22:01 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp updated ASTERISK-26317:
-----------------------------------

    Assignee: Aaron An
      Status: Waiting for Feedback  (was: Triage)

I'd expect people to want to configure this on a per-endpoint basis, so that's where I'd expect it to go. I've also set this to feedback so when you have a patch you can attach it and take it through the contribution process if you want.

> 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