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 9ac53877f6)
This commit is contained in:
Alexander Traud
2016-09-13 11:08:34 +02:00
committed by George Joseph
parent 18974927e5
commit 0cf1778eed
6 changed files with 115 additions and 15 deletions

View File

@@ -84,6 +84,9 @@ extern "C" {
/*! First dynamic RTP payload type */
#define AST_RTP_PT_FIRST_DYNAMIC 96
/*! Last reassignable RTP payload type */
#define AST_RTP_PT_LAST_REASSIGN 63
/*! Maximum number of generations */
#define AST_RED_MAX_GENERATION 5