summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorKevin Harwell <kharwell@digium.com>2017-03-20 13:26:08 -0500
committerKevin Harwell <kharwell@digium.com>2017-03-22 15:46:56 -0500
commitd0649254b589d873d0a707fccaf412d66b92efdc (patch)
tree3ae31d179b14fa95c7294cb399156d3c942d7870 /configs
parentab0a05716d3a77f0d7f063f460965fc94be5f78a (diff)
rtp_engine: allocate RTP dynamic payloads per session
Dynamic payload types were statically defined in Asterisk. This unfortunately limited the number of dynamic payloads that could be registered. With this patch dynamic payload type numbers are now assigned dynamically and per RTP instance. However, in order to limit any issues where some clients expect the old statically defined value this patch makes it so the value Asterisk used to pre- designate is used for the dynamic assignment if available. An option, "rtp_use_dynamic", has also been added (can be set in asterisk.conf) that turns the new dynamic behavior on or off. When off it reverts back to using statically defined payload values. This option defaults to "no" in Asterisk 14. ASTERISK-26515 #close patches: ASTERISK-26515.diff submitted by jcolp (license 5000) Change-Id: If282877199b85da8dde7eb9452cdedaa19da586a
Diffstat (limited to 'configs')
-rw-r--r--configs/samples/asterisk.conf.sample4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/samples/asterisk.conf.sample b/configs/samples/asterisk.conf.sample
index 54670b41f..a2ac7b377 100644
--- a/configs/samples/asterisk.conf.sample
+++ b/configs/samples/asterisk.conf.sample
@@ -97,6 +97,10 @@ documentation_language = en_US ; Set the language you want documentation
; This is currently is used by DUNDi and
; Exchanging Device and Mailbox State
; using protocols: XMPP, Corosync and PJSIP.
+;rtp_use_dynamic = no ; When set to "yes" RTP dynamic payload types
+ ; are assigned dynamically per RTP instance vs.
+ ; allowing Asterisk to globally initialize them
+ ; to pre-designated numbers (defaults to "no").
;rtp_pt_dynamic = 96 ; Normally the Dynamic RTP Payload Type numbers
; are 96-127, which allow 32 formats. When you
; use more and receive the message "No Dynamic