Skip to content

Commit

Permalink
Recover -mp and [auto_media_port]
Browse files Browse the repository at this point in the history
...to maintain backwards compatibility.
  • Loading branch information
orgads committed Aug 30, 2023
1 parent 1126a8b commit 5d58858
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Bugs fixed in 3.7.2
=======================
- Recovered `-mp` and `[auto_media_port]` to maintain backwards compatibility. (by Orgad Shaneh)

Bugs fixed in 3.7.1
=======================

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

0 comments on commit 5d58858

Please sign in to comment.