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

Aaron An (JIRA) noreply at issues.asterisk.org
Fri Aug 26 05:02:57 CDT 2016


Aaron An created ASTERISK-26317:
-----------------------------------

             Summary: 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
            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