diff --git a/CHANGES.md b/CHANGES.md index 72102ae1..4a38339d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,8 @@ +Bugs fixed in 3.7.3 +=================== + +- Recovered `-mp` and `[auto_media_port]` to maintain backwards compatibility. (by Orgad Shaneh) + Bugs fixed in 3.7.2 =================== diff --git a/src/message.cpp b/src/message.cpp index 535d0496..f237fd42 100644 --- a/src/message.cpp +++ b/src/message.cpp @@ -95,6 +95,7 @@ struct KeywordMap SimpleKeywords[] = { {"ueaescm128sha1322video" , E_Message_UEAesCm128Sha1322Video }, #endif // USE_TLS {"media_port", E_Message_Media_Port }, + {"auto_media_port", E_Message_Media_Port }, {"media_ip_type", E_Message_Media_IP_Type }, {"call_number", E_Message_Call_Number }, {"dynamic_id", E_Message_DynamicId }, // wrapping global counter diff --git a/src/sipp.cpp b/src/sipp.cpp index 49d53ba6..511221f4 100644 --- a/src/sipp.cpp +++ b/src/sipp.cpp @@ -277,6 +277,7 @@ struct sipp_option options_table[] = { {"mb", "Set the RTP echo buffer size (default: 2048).", SIPP_OPTION_INT, &media_bufsize, 1}, {"min_rtp_port", "Minimum port number for RTP socket range.", SIPP_OPTION_INT, &min_rtp_port, 1}, {"max_rtp_port", "Maximum port number for RTP socket range.", SIPP_OPTION_INT, &max_rtp_port, 1}, + {"mp", NULL, SIPP_OPTION_INT, &min_rtp_port, 1}, {"rtp_payload", "RTP default payload type.", SIPP_OPTION_INT, &rtp_default_payload, 1}, {"rtp_threadtasks", "RTP number of playback tasks per thread.", SIPP_OPTION_INT, &rtp_tasks_per_thread, 1}, {"rtp_buffsize", "Set the rtp socket send/receive buffer size.", SIPP_OPTION_INT, &rtp_buffsize, 1},