Skip to content

Commit

Permalink
rtpproxy: 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 ac773d9 commit d5501cf
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/modules/rtpproxy/doc/rtpproxy_admin.xml
Expand Up @@ -299,7 +299,7 @@ modparam("rtpproxy", "extra_id_pv", "$avp(extra_id)")
<title>Set <varname>db_url</varname> parameter</title>
<programlisting format="linespecific">
...
modparam("rtpproxy", "db_url", "mysql://user:passwb@localhost/database")
modparam("rtpproxy", "db_url", "mysql://user:passwd@localhost/database")
...
</programlisting>
</example>
Expand Down Expand Up @@ -475,7 +475,7 @@ rtpproxy_offer();
<listitem><para>
<emphasis>f</emphasis> - instructs rtpproxy to ignore marks
inserted by another rtpproxy in transit to indicate that the
session is already goes through another proxy. Allows creating
session already goes through another proxy. Allows creating
a chain of proxies.
</para></listitem>
<listitem><para>
Expand Down
2 changes: 1 addition & 1 deletion src/modules/rtpproxy/examples/4to6.cfg
Expand Up @@ -37,7 +37,7 @@ modparam("nathelper", "natping_interval", 15)

request_route {
# initial sanity checks -- messages with
# max_forwars == 0, or excessively long requests,
# max_forwards == 0, or excessively long requests,
# or those that don't addressed to us
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483", "Too Many Hops");
Expand Down
2 changes: 1 addition & 1 deletion src/modules/rtpproxy/examples/alg.cfg
Expand Up @@ -33,7 +33,7 @@ modparam("nathelper", "natping_interval", 15)

request_route {
# initial sanity checks -- messages with
# max_forwars == 0, or excessively long requests,
# max_forwards == 0, or excessively long requests,
# or those that don't addressed to us
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483", "Too Many Hops");
Expand Down
4 changes: 2 additions & 2 deletions src/modules/rtpproxy/rtpproxy.c
Expand Up @@ -434,8 +434,8 @@ static int add_rtpproxy_socks(struct rtpp_set *rtpp_list, char *rtpproxy)
}


/* 0-succes
* -1 - erorr
/* 0-success
* -1 - error
* */
static int rtpproxy_add_rtpproxy_set(char *rtp_proxies)
{
Expand Down
4 changes: 2 additions & 2 deletions src/modules/rtpproxy/rtpproxy_funcs.c
Expand Up @@ -170,8 +170,8 @@ int extract_body(struct sip_msg *msg, str *body)

/*
* Better use the content-len value - no need of any explicit
* parcing as get_body() parsed all headers and Conten-Length
* body header is automaticaly parsed when found.
* parsing as get_body() parsed all headers and Content-Length
* body header is automatically parsed when found.
*/
if(msg->content_length == 0) {
LM_ERR("failed to get the content length in message\n");
Expand Down
2 changes: 1 addition & 1 deletion src/modules/rtpproxy/rtpproxy_stream.c
Expand Up @@ -55,7 +55,7 @@ int fixup_var_str_int(void **param, int param_no)
*param = (void *)model;
} else if(param_no == 2) {
/* According to
* http://www.kamailio.org/docs/modules/1.5.x/nathelper.html#rtpproxy_stream2xxx
* https://www.kamailio.org/docs/modules/1.5.x/nathelper.html#rtpproxy_stream2xxx
* this could be -1 */
s.s = (char *)(*param);
s.len = strlen(s.s);
Expand Down
8 changes: 4 additions & 4 deletions src/modules/rtpproxy/test/kamailio.cfg
Expand Up @@ -29,7 +29,7 @@ tos=0x80

# ------------------ module loading ----------------------------------
mpath="sip-router/modules_k:sip-router/modules"
# To Check/modufy the maximum forwards
# To Check/modify the maximum forwards
loadmodule "maxfwd.so"
# Transaction-Module
loadmodule "tm.so"
Expand Down Expand Up @@ -87,7 +87,7 @@ modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")
# The Port for incoming XML-RPC requests
modparam("mi_xmlrpc", "port", 8000)
# Method-Response: A single string parameter should be replied.
# See: http://www.kamailio.org/docs/modules/1.2.x/mi_xmlrpc.html#AEN102
# See: https://www.kamailio.org/docs/modules/1.2.x/mi_xmlrpc.html#AEN102
modparam("mi_xmlrpc", "reply_option", 1)
# The size of the Buffer used to create the XML-RPC-Request-Node
modparam("mi_xmlrpc", "buffer_size", 8192)
Expand All @@ -112,7 +112,7 @@ modparam("dialog", "dlg_match_mode", 1)
# Describe how to push into the DB the dialogs' information from memory.
# The supported modes are:
# 0 - NO_DB - the memory content is not flushed into DB;
# 1 - REALTIME - any dialog information changes will be reflected into the database immediatly.
# 1 - REALTIME - any dialog information changes will be reflected into the database immediately.
# 2 - DELAYED - the dialog information changes will be flushed into DB periodically, based on a timre routine.
modparam("dialog", "db_mode", 0)
# The interval (seconds) at which to update dialogs' information if you chose to store the dialogs' info at a given interval.
Expand Down Expand Up @@ -224,7 +224,7 @@ route[1] {
# * via sip version - (8) - not working because parser fails already when another version then 2.0 is present.
# * via protocol - (16) - not working because parser fails already if an unsupported transport is present.
# * cseq method - (32) - checks if the method from the cseq header is equal to the request method.
# * cseq value - (64) - checks if the number in the cseq header is a valid unsigend integer.
# * cseq value - (64) - checks if the number in the cseq header is a valid unsigned integer.
# * content length - (128) - checks if the size of the body matches with the value from the content length header.
# * expires value - (256) - checks if the value of the expires header is a valid unsigned integer.
# * proxy require - (512) - checks if all items of the proxy require header are present in the list of the
Expand Down

0 comments on commit d5501cf

Please sign in to comment.