mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-04 20:33:53 +00:00
ACN: res_pjsip endpoint options
This commit adds the endpoint options required to control Advanced Codec Negotiation. incoming_offer_codec_prefs outgoing_offer_codec_prefs incoming_answer_codec_prefs outgoing_answer_codec_prefs The documentation may need tweaking and some additional edits added, especially for the "answer" prefs. That'll be handled when things finalize. This commit is safe to merge as it doens't alter any existing functionality nor does it alter the previous codec negotiation work which may now be obsolete. Change-Id: I920ba925d7dd36430dfd2ebd9d82d23f123d0e11
This commit is contained in:
@@ -839,6 +839,54 @@
|
||||
; at the end of the joint list.
|
||||
; remote_first - Include only the first codec in
|
||||
; the remote list.
|
||||
;incoming_offer_codec_prefs=; This is a string that describes how the codecs
|
||||
; specified on an incoming SDP offer (pending) are
|
||||
; reconciled with the codecs specified on an endpoint
|
||||
; (configured) before being sent to the Asterisk core.
|
||||
; The string actually specifies 4 name:value pair
|
||||
; parameters separated by commas. Whitespace is
|
||||
; ignored and they may be specified in any order.
|
||||
; prefer: <pending | configured>,
|
||||
; operation: <intersect | only_preferred
|
||||
; | only_nonpreferred>,
|
||||
; keep: <first | all>,
|
||||
; transcode: <allow | prevent>
|
||||
;outgoing_offer_codec_prefs=; This is a string that describes how the codecs
|
||||
; specified in the topology that comes from the
|
||||
; Asterisk core (pending) are reconciled with the
|
||||
; codecs specified on an endpoint (configured)
|
||||
; when sending an SDP offer.
|
||||
; The string actually specifies 4 name:value pair
|
||||
; parameters separated by commas. Whitespace is
|
||||
; ignored and they may be specified in any order.
|
||||
; prefer: <pending | configured>,
|
||||
; operation: <intersect | union
|
||||
; | only_preferred | only_nonpreferred>,
|
||||
; keep: <first | all>,
|
||||
; transcode: <allow | prevent>
|
||||
;incoming_answer_codec_prefs=; This is a string that describes how the codecs
|
||||
; specified in an incoming SDP answer (pending)
|
||||
; are reconciled with the codecs specified on an
|
||||
; endpoint (configured) when receiving an SDP
|
||||
; answer.
|
||||
; The string actually specifies 4 name:value pair
|
||||
; parameters separated by commas. Whitespace is
|
||||
; ignored and they may be specified in any order.
|
||||
; prefer: <pending | configured>,
|
||||
; operation: <intersect | union
|
||||
; | only_preferred | only_nonpreferred>,
|
||||
; keep: <first | all>
|
||||
;outgoing_answer_codec_prefs=; This is a string that describes how the codecs
|
||||
; that come from the core (pending) are reconciled
|
||||
; with the codecs specified on an endpoint
|
||||
; (configured) when sending an SDP answer.
|
||||
; The string actually specifies 4 name:value pair
|
||||
; parameters separated by commas. Whitespace is
|
||||
; ignored and they may be specified in any order.
|
||||
; prefer: <pending | configured>,
|
||||
; operation: <intersect | union
|
||||
; | only_preferred | only_nonpreferred>,
|
||||
; keep: <first | all>
|
||||
;preferred_codec_only=no ; Respond to a SIP invite with the single most
|
||||
; preferred codec rather than advertising all joint
|
||||
; codec capabilities. This limits the other side's
|
||||
|
||||
Reference in New Issue
Block a user