Skip to content

Commit

Permalink
sst: clarify that sst_flag must be set
Browse files Browse the repository at this point in the history
and typos
  • Loading branch information
dilyanpalauzov authored and miconda committed Dec 28, 2022
1 parent 8d9a0d6 commit 2402c8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/modules/sst/doc/sst_admin.xml
Expand Up @@ -26,7 +26,7 @@
<para>The sst module provides a way to update the
dialog expiry timer based on the SIP INVITE/200 OK
Session-Expires header value. You can use the sst
module in an &kamailio; proxy to allow freeing of local
module in a &kamailio; proxy to allow freeing of local
resources of dead calls.</para>

<para>You can also use the sst module to validate the
Expand Down Expand Up @@ -156,7 +156,7 @@
<title><varname>enable_stats</varname> (integer)</title>

<para>If the statistics support should be enabled or
not. Via statistic variables, the module provide
not. Via statistic variables, the module provides
information about the dialog processing. Set it to zero to
disable or to non-zero to enable it.</para>

Expand Down Expand Up @@ -311,7 +311,7 @@ route {
...
if (method=="INVITE") {
setflag(5); # set the dialog flag
setflag(6); # Set the sst flag
setflag(6); # set the sst flag
}
...
}
Expand Down Expand Up @@ -404,7 +404,7 @@ route {

<section>
<title>Installation and Running</title>
<para>Just load the module and remember to set the timeout_avp value.</para>
<para>Just load the module and remember to set the timeout_avp and sst_flag values.</para>
</section>
</chapter>

2 changes: 1 addition & 1 deletion src/modules/sst/sst_handlers.c
Expand Up @@ -630,7 +630,7 @@ int ki_sst_check_min(struct sip_msg *msg, int flag)
* First see if there is an Session-Expires: header. If there
* is, also look for a MIN-SE: header. If there is, use the
* minimum value of the two to compare with srt1. All MUST not
* be less then 90 and 1800 is recomended. See RCF section 4.
* be less than 90 and 1800 is recomended. See RCF section 4.
*/
if ((result = parse_session_expires(msg, &se)) != parse_sst_success) {
if (result != parse_sst_header_not_found) {
Expand Down

0 comments on commit 2402c8f

Please sign in to comment.