Skip to content

Commit

Permalink
modules/ims_qos: new mod_param to add RTCP flow description for media…
Browse files Browse the repository at this point in the history
… flow

New parameter include_rtcp_fd that if set adds additional flow description to AAR for RTCP
  • Loading branch information
Richard Good committed Nov 25, 2016
1 parent 3cfc8d9 commit 88ef3f0
Show file tree
Hide file tree
Showing 3 changed files with 340 additions and 115 deletions.
20 changes: 20 additions & 0 deletions modules/ims_qos/doc/ims_qos_admin.xml
Expand Up @@ -360,6 +360,26 @@ if the Rx session fails</para>
<programlisting format="linespecific">
...
modparam("ims_qos", "delete_contact_on_rx_failure", 0)
...
</programlisting>
</example>
</section>

<section>
<title><varname>include_rtcp_fd</varname> integer</title>

<para>If set then a flow description is added for media flows - next available odd port
is used as the default for RTCP traffic</para>

<para><emphasis> Default value is 0, RTCP flow description not added</emphasis></para>

<example>
<title><varname>include_rtcp_fd</varname> parameter
usage</title>

<programlisting format="linespecific">
...
modparam("ims_qos", "include_rtcp_fd", 1)
...
</programlisting>
</example>
Expand Down
4 changes: 4 additions & 0 deletions modules/ims_qos/mod.c
Expand Up @@ -104,6 +104,9 @@ int video_default_bandwidth = 128;
//Very useful for UEs that change ports mid way through call therefore breaking flow description filters
str regex_sdp_ip_prefix_to_maintain_in_fd = {0, 0};

//If set this will include an additional filter for all existing filters using the next odd port up - as this is the RTCP port
int include_rtcp_fd = 0;

int cdp_event_list_size_threshold = 0; /**Threshold for size of cdp event list after which a warning is logged */

stat_var *aars;
Expand Down Expand Up @@ -204,6 +207,7 @@ static param_export_t params[] = {
{ "terminate_dialog_on_rx_failure", INT_PARAM, &terminate_dialog_on_rx_failure},
{ "delete_contact_on_rx_failure", INT_PARAM, &delete_contact_on_rx_failure},
{ "regex_sdp_ip_prefix_to_maintain_in_fd", PARAM_STR, &regex_sdp_ip_prefix_to_maintain_in_fd},
{ "include_rtcp_fd", INT_PARAM, &include_rtcp_fd},
{ 0, 0, 0}
};

Expand Down

0 comments on commit 88ef3f0

Please sign in to comment.