Skip to content

Recover -mp and [auto_media_port] #653

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -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
===================

Expand Down
1 change: 1 addition & 0 deletions src/message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/sipp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down