Skip to content

Commit

Permalink
uac_redirect: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyanpalauzov authored and miconda committed Jun 12, 2023
1 parent 46d4f8b commit 1a449c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
17 changes: 7 additions & 10 deletions src/modules/uac_redirect/doc/uac_redirect_admin.xml
Expand Up @@ -19,7 +19,7 @@
<para>
UAC REDIRECT - User Agent Client redirection - module enhances &kamailio;
with the functionality of being able to handle (interpret, filter,
log and follow) redirect responses ( 3xx replies class).
log and follow) redirect responses (3xx replies class).
</para>
<para>
UAC REDIRECT module offers stateful processing, gathering the
Expand Down Expand Up @@ -154,16 +154,15 @@ modparam("uac_redirect","default_filter","deny")
of them will be accepted for redirection.
</para>
<para>
The parameter may be defined only one - multiple definition will
The parameter may be defined only once - multiple definition will
overwrite the previous definitions. If more regular expression
need to be defined, use the
<function moreinfo="none">set_deny_filter()</function> scripting
function.
</para>
<para>
<emphasis>
This parameter is optional, it's default
value being NULL.
The default value is NULL.
</emphasis>
</para>
<example>
Expand All @@ -186,16 +185,15 @@ modparam("uac_redirect","deny_filter",".*@siphub\.net")
of them will be rejected for redirection.
</para>
<para>
The parameter may be defined only one - multiple definition will
The parameter may be defined only once - multiple definition will
overwrite the previous definitions. If more regular expression
need to be defined, use the
<function moreinfo="none">set_accept_filter()</function> scripting
function.
</para>
<para>
<emphasis>
This parameter is optional, it's default
value being NULL.
The default value is NULL.
</emphasis>
</para>
<example>
Expand Down Expand Up @@ -276,8 +274,7 @@ modparam("uac_redirect","acc_db_table","acc_redirect")
</para>
<para>
<emphasis>
This parameter is optional, it's default
value being 0.
The default value is 0.
</emphasis>
</para>
<example>
Expand Down Expand Up @@ -531,7 +528,7 @@ get_redirects("*");
function, but it will produce accounting records.
</para>
<para>
The accounting records will be mark by the
The accounting records will be marked by the
<emphasis>reason</emphasis> phrase.
</para>
<para>
Expand Down
2 changes: 1 addition & 1 deletion src/modules/uac_redirect/rd_funcs.c
Expand Up @@ -69,7 +69,7 @@ int get_redirect(struct sip_msg *msg, int maxt, int maxb, str *reason,
LM_DBG("resume branch=%d\n", first_branch);

cts_added = 0; /* no contact added */
backup_uri = msg->new_uri; /* shmcontact2dset will ater this value */
backup_uri = msg->new_uri; /* shmcontact2dset will alter this value */

/* look if there are any 3xx branches starting from resume_branch */
for(i = first_branch; i < t->nr_of_outgoings; i++) {
Expand Down

0 comments on commit 1a449c8

Please sign in to comment.