summaryrefslogtreecommitdiff
path: root/include/asterisk/options.h
diff options
context:
space:
mode:
authorAlexander Traud <pabstraud@compuserve.com>2016-09-13 11:08:34 +0200
committerGeorge Joseph <gjoseph@digium.com>2016-11-02 09:47:55 -0500
commit0cf1778eed4754570a36938e1f5d212951320a71 (patch)
tree2f50719a3f64eadb5f9aa4a618f220670a915aff /include/asterisk/options.h
parent18974927e5595f589f2c66a93da6e03185a07d65 (diff)
rtp_engine: Allow more than 32 dynamic payload types.
The dynamic range (96-127) allows 32 RTP Payload Types. RFC 3551 section 3 allows to reassign other ranges. Consequently, when the dynamic range is exhausted, you can go for "rtp_pt_dynamic = 35" (or 0) in asterisk.conf. This enables the range 35-63 (or 0-63) giving room for another 29 (or 64) payload types. ASTERISK-26311 #close Change-Id: I7bc96ab764bc30098a178b841cbf7146f9d64964 (cherry picked from commit 9ac53877f688c06acaa7c377f15da8770e4ee88b)
Diffstat (limited to 'include/asterisk/options.h')
-rw-r--r--include/asterisk/options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/options.h b/include/asterisk/options.h
index 0da5799ae..21bd7a704 100644
--- a/include/asterisk/options.h
+++ b/include/asterisk/options.h
@@ -155,6 +155,8 @@ extern int dahdi_chan_name_len;
extern int ast_language_is_prefix;
+extern unsigned int ast_option_rtpptdynamic;
+
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif