diff options
author | Aaron An <anjb@ti-net.com.cn> | 2016-08-30 11:26:03 +0800 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2016-09-09 05:36:19 -0500 |
commit | 2a50c2910144e1b4095d171b1386fd5ebb0c5b5a (patch) | |
tree | bcc7712ca9397f1ae82f5e30905f21b247acde74 /configs/samples/pjsip.conf.sample | |
parent | d3c4b901d476a41b3f7df063aeba3852df4e26b7 (diff) |
res/res_pjsip: Add preferred_codec_only config to pjsip endpoint.
This patch add config to pjsip by endpoint.
;preferred_codec_only=yes
; Respond to a SIP invite with the single most preferred codec
; rather than advertising all joint codec capabilities. This
; limits the other side's codec choice to exactly what we prefer.
ASTERISK-26317 #close
Reported by: AaronAn
Tested by: AaronAn
Change-Id: Iad04dc55055403bbf5ec050997aee2dadc4f0762
Diffstat (limited to 'configs/samples/pjsip.conf.sample')
-rw-r--r-- | configs/samples/pjsip.conf.sample | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/samples/pjsip.conf.sample b/configs/samples/pjsip.conf.sample index 0d1c03909..e6b32495b 100644 --- a/configs/samples/pjsip.conf.sample +++ b/configs/samples/pjsip.conf.sample @@ -764,6 +764,10 @@ ; "0" or not enabled) ;contact_user= ; On outgoing requests, force the user portion of the Contact ; header to this value (default: "") +;preferred_codec_only=yes ; Respond to a SIP invite with the single most preferred codec + ; rather than advertising all joint codec capabilities. This + ; limits the other side's codec choice to exactly what we prefer. + ; default is no. ;==========================AUTH SECTION OPTIONS========================= ;[auth] |