[asterisk-bugs] [JIRA] (ASTERISK-26747) Ambiguity in PJSIP use_avpf and force_avp

JoshE (JIRA) noreply at issues.asterisk.org
Tue Jan 24 12:37:10 CST 2017


JoshE created ASTERISK-26747:
--------------------------------

             Summary: Ambiguity in PJSIP use_avpf and force_avp
                 Key: ASTERISK-26747
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26747
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
    Affects Versions: 13.13.1
            Reporter: JoshE


Placeholder issue and starting a discussion for some concerns about the way that use_avpf and force_avp (undocumented, though used in pjsip) are implemented in res_pjsip in Asterisk 13+.

use_avpf right now forces the AVPF on all incoming invites. We would prefer the ability, as was closer to the behavior in chan_sip to allow it if present, but not require it.

Similar to some issues with encryption, we have a need to "optimistically" accept avpf on incoming invites. Ideally, this would let us configure something like:

use_avpf=yes
force_avpf=no

And allow an invite with RTP/AVP to pass through. Right now, this returns an invalid transport.

Might be a question for @jcolp, but would a change to add this additional behavior - a knob for force_avpf - be acceptable?

Secondarily, it may be beneficial to document the force_avp option, as it's currently undocumented in the .sample file.



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



More information about the asterisk-bugs mailing list