diff --git a/src/modules/call_control/call_control.c b/src/modules/call_control/call_control.c index 14455ec967f..209507036fb 100644 --- a/src/modules/call_control/call_control.c +++ b/src/modules/call_control/call_control.c @@ -102,7 +102,7 @@ typedef struct AVP_List { typedef struct CallControlSocket { char *name; // name int sock; // socket - int timeout; // how many miliseconds to wait for an answer + int timeout; // how many milliseconds to wait for an answer time_t last_failure; // time of the last failure char data[BUFFER_SIZE]; // buffer for the answer data } CallControlSocket; @@ -124,7 +124,7 @@ int parse_param_stop(unsigned int type, void *val); static CallControlSocket callcontrol_socket = { "/run/callcontrol/socket", // name -1, // sock - 500, // timeout in 500 miliseconds if there is no answer + 500, // timeout in 500 milliseconds if there is no answer 0, // time of the last failure "" // data }; diff --git a/src/modules/call_control/doc/call_control.8 b/src/modules/call_control/doc/call_control.8 index ea3d50d25b4..d94d647dcd3 100644 --- a/src/modules/call_control/doc/call_control.8 +++ b/src/modules/call_control/doc/call_control.8 @@ -115,11 +115,11 @@ see .BR kamailio.cfg(5) .PP Full documentation on Kamailio is available at -.I http://www.kamailio.org/. +.I https://www.kamailio.org/. .PP Mailing lists: .nf -users@lists.kamailio.org - Kamailio user community +sr-users@lists.kamailio.org - Kamailio user community .nf -devel@lists.kamailio.org - Kamailio development, new features and unstable version +sr-dev@lists.kamailio.org - Kamailio development, new features and unstable version diff --git a/src/modules/call_control/doc/call_control_admin.xml b/src/modules/call_control/doc/call_control_admin.xml index a7a57a8d735..0dd52f026ad 100644 --- a/src/modules/call_control/doc/call_control_admin.xml +++ b/src/modules/call_control/doc/call_control_admin.xml @@ -76,7 +76,7 @@ Callcontrol is invoked by calling the call_control() function for the initial INVITE of every call we want to apply a limit to. This will end - up as a request to the callcontrol application, which will interogate + up as a request to the callcontrol application, which will interrogate the rating engine for a time limit for the given caller and destination. The rating engine will determine if the destination has any associated cost and if the caller has any credit limit and if so will return the diff --git a/src/modules/cfgutils/cfgutils.c b/src/modules/cfgutils/cfgutils.c index bf4b0680bbc..740d26f4b46 100644 --- a/src/modules/cfgutils/cfgutils.c +++ b/src/modules/cfgutils/cfgutils.c @@ -333,7 +333,7 @@ void cfgutils_rpc_get_gflags(rpc_t* rpc, void* ctx) flags = *gflags; if (rpc->rpl_printf(ctx, "0x%X (%u)", flags, flags) < 0) { - rpc->fault(ctx, 500, "Faiure building the response"); + rpc->fault(ctx, 500, "Failure building the response"); return; } } @@ -365,7 +365,7 @@ void cfgutils_rpc_get_prob(rpc_t* rpc, void* ctx) { if (rpc->rpl_printf(ctx, "actual probability: %u percent", (*probability)) < 0) { - rpc->fault(ctx, 500, "Faiure building the response"); + rpc->fault(ctx, 500, "Failure building the response"); return; } } @@ -374,7 +374,7 @@ void cfgutils_rpc_get_hash(rpc_t* rpc, void* ctx) { if (rpc->rpl_printf(ctx, "%.*s", MD5_LEN, config_hash) < 0) { - rpc->fault(ctx, 500, "Faiure building the response"); + rpc->fault(ctx, 500, "Failure building the response"); return; } } @@ -451,12 +451,12 @@ void cfgutils_rpc_check_hash(rpc_t* rpc, void* ctx) if (strncmp(config_hash, tmp, MD5_LEN) == 0) { if (rpc->rpl_printf(ctx, "Identical hash") < 0) { - rpc->fault(ctx, 500, "Faiure building the response"); + rpc->fault(ctx, 500, "Failure building the response"); return; } } else { if (rpc->rpl_printf(ctx, "Different hash") < 0) { - rpc->fault(ctx, 500, "Faiure building the response"); + rpc->fault(ctx, 500, "Failure building the response"); return; } } @@ -976,17 +976,17 @@ static int w_core_hash(struct sip_msg *msg, char *p1, char *p2, char *p3) if (fixup_get_svalue(msg, (gparam_p) p1, &s1) != 0) { - LM_ERR("invalid s1 paramerer\n"); + LM_ERR("invalid s1 parameter\n"); return -1; } if (fixup_get_svalue(msg, (gparam_p) p2, &s2) != 0) { - LM_ERR("invalid s2 paramerer\n"); + LM_ERR("invalid s2 parameter\n"); return -1; } if (fixup_get_ivalue(msg, (gparam_p) p3, &size) != 0) { - LM_ERR("invalid size paramerer\n"); + LM_ERR("invalid size parameter\n"); return -1; } diff --git a/src/modules/cfgutils/doc/cfgutils_admin.xml b/src/modules/cfgutils/doc/cfgutils_admin.xml index 23afd740535..41ebc0435f2 100644 --- a/src/modules/cfgutils/doc/cfgutils_admin.xml +++ b/src/modules/cfgutils/doc/cfgutils_admin.xml @@ -80,7 +80,7 @@
Dependencies - The module depends on the following modules (in the other words the + The module depends on the following modules (in other words the listed modules must be loaded before this module): diff --git a/src/modules/ims_registrar_pcscf/save.c b/src/modules/ims_registrar_pcscf/save.c index 88c0c008a8e..db9b7e73877 100644 --- a/src/modules/ims_registrar_pcscf/save.c +++ b/src/modules/ims_registrar_pcscf/save.c @@ -254,7 +254,7 @@ static inline int update_contacts(struct sip_msg *req,struct sip_msg *rpl, udoma } /** - * Save contact based on REGISTER request. this will be a pending save, until we receive response + * Save contact based on REGISTER request. This will be a pending save, until we receive response * from SCSCF. If no response after pending_timeout seconds, the contacts is removed. Can only be used from REQUEST ROUTE */ int save_pending(struct sip_msg* _m, udomain_t* _d) { diff --git a/src/modules/janssonrpcc/doc/janssonrpcc_admin.xml b/src/modules/janssonrpcc/doc/janssonrpcc_admin.xml index 0d7e78c7085..10a3a732482 100644 --- a/src/modules/janssonrpcc/doc/janssonrpcc_admin.xml +++ b/src/modules/janssonrpcc/doc/janssonrpcc_admin.xml @@ -143,7 +143,7 @@ modparam("janssonrpcc", "result_pv", "$var(result)") modparam("janssonrpcc", "server", "conn=tests;srv=_test1._tcp.example.net"); modparam("janssonrpcc", "server", "conn=tests;srv=_test2._tcp.example.net"); modparam("janssonrpcc", "server", "conn=local;addr=localhost;port=8080;priority=10;weight=10"); -modparam("janssonrpcc", "server", "conn=user_db;addr=rpc.prod.exmaple.net;port=5060;priority=10;weight=10"); +modparam("janssonrpcc", "server", "conn=user_db;addr=rpc.prod.example.net;port=5060;priority=10;weight=10"); ... diff --git a/src/modules/jsonrpcs/doc/jsonrpcs_admin.xml b/src/modules/jsonrpcs/doc/jsonrpcs_admin.xml index 9e558c4cfd7..0e39676edd7 100644 --- a/src/modules/jsonrpcs/doc/jsonrpcs_admin.xml +++ b/src/modules/jsonrpcs/doc/jsonrpcs_admin.xml @@ -380,7 +380,7 @@ modparam("jsonrpcs", "dgram_user", "root")
<varname>dgram_timeout</varname> (int) - The reply will expire after trying to sent it for socket_timeout + The reply will expire after trying to send it for socket_timeout milliseconds. diff --git a/src/modules/jsonrpcs/jsonrpcs_mod.c b/src/modules/jsonrpcs/jsonrpcs_mod.c index 5ccaf0bac52..1e751f759aa 100644 --- a/src/modules/jsonrpcs/jsonrpcs_mod.c +++ b/src/modules/jsonrpcs/jsonrpcs_mod.c @@ -297,7 +297,7 @@ static int jsonrpc_delayed_reply_ctx_init(jsonrpc_ctx_t* ctx) /** Implementation of rpc_fault function required by the management API. * * This function will be called whenever a management function - * indicates that an error ocurred while it was processing the request. The + * indicates that an error occurred while it was processing the request. The * function takes the reply code and reason phrase as parameters, these will * be put in the body of the reply. * @@ -339,7 +339,7 @@ static void jsonrpc_fault(jsonrpc_ctx_t* ctx, int code, char* fmt, ...) * This is the function that will be called whenever a management function * asks the management interface to send the reply to the client. * The SIP/HTTP reply sent to - * the client will be always 200 OK, if an error ocurred on the server then it + * the client will be always 200 OK, if an error occurred on the server then it * will be indicated in the html document in body. * * @param ctx A pointer to the context structure of the jsonrpc request that @@ -1187,7 +1187,7 @@ static void jsonrpc_delayed_ctx_close(struct rpc_delayed_ctx* dctx) (hdr->parsed<(void*)r_ctx->msg || hdr->parsed>=(void*)(r_ctx->msg+r_ctx->msg_shm_block_size))) { /* header parsed filed doesn't point inside uas.request memory - * chunck -> it was added by failure funcs.-> free it as pkg */ + * chunk -> it was added by failure funcs.-> free it as pkg */ DBG("removing hdr->parsed %d\n", hdr->type); clean_hdr_field(hdr); hdr->parsed = 0; diff --git a/src/modules/jwt/doc/jwt_admin.xml b/src/modules/jwt/doc/jwt_admin.xml index 165ca170f95..5389bb61f30 100644 --- a/src/modules/jwt/doc/jwt_admin.xml +++ b/src/modules/jwt/doc/jwt_admin.xml @@ -101,7 +101,7 @@ modparam("jwt", "key_mode", 1) - alg - the algoritm to build the signature, as supported by the + alg - the algorithm to build the signature, as supported by the libjwt (e.g., RS256, HS256, ES256, ...) @@ -158,7 +158,7 @@ modparam("jwt", "key_mode", 1) - alg - the algoritm to build the signature, as supported by the + alg - the algorithm to build the signature, as supported by the libjwt (e.g., RS256, HS256, ES256, ...) @@ -210,7 +210,7 @@ modparam("jwt", "key_mode", 1) - alg - the algoritm to build the signature, as supported by the + alg - the algorithm to build the signature, as supported by the libjwt (e.g., RS256, HS256, ES256, ...) diff --git a/src/modules/kazoo/doc/kazoo_admin.xml b/src/modules/kazoo/doc/kazoo_admin.xml index 2d47ce83c1e..4128e8c834c 100644 --- a/src/modules/kazoo/doc/kazoo_admin.xml +++ b/src/modules/kazoo/doc/kazoo_admin.xml @@ -371,7 +371,7 @@ modparam("kazoo", "consume_messages_on_reconnect", 0)
<varname>single_consumer_on_reconnect</varname>(int) When the main loop receives a message from rabbitmq it will defer the - execution to a worker in a round-robin manner. this parameter allows to use the + execution to a worker in a round-robin manner. This parameter allows to use the same worker when kazoo reconnects to rabbitmq. Default value is 1. diff --git a/src/modules/kazoo/kazoo.c b/src/modules/kazoo/kazoo.c index 46f1f098b21..989d637bf22 100644 --- a/src/modules/kazoo/kazoo.c +++ b/src/modules/kazoo/kazoo.c @@ -176,7 +176,7 @@ static param_export_t params[] = { {"node_hostname", PARAM_STR, &dbk_node_hostname}, {"amqp_connection", PARAM_STRING|USE_FUNC_PARAM,(void*)kz_amqp_add_connection}, {"amqp_max_channels", INT_PARAM, &dbk_channels}, - {"amqp_timmer_process_interval", INT_PARAM, &kz_timer_ms}, + {"amqp_timer_process_interval", INT_PARAM, &kz_timer_ms}, {"amqp_consumer_ack_timeout_micro", INT_PARAM, &kz_ack_tv.tv_usec}, {"amqp_consumer_ack_timeout_sec", INT_PARAM, &kz_ack_tv.tv_sec}, {"amqp_interprocess_timeout_micro", INT_PARAM, &kz_sock_tv.tv_usec}, diff --git a/src/modules/kazoo/kz_amqp.c b/src/modules/kazoo/kz_amqp.c index 873d6fe421c..1604cea612e 100644 --- a/src/modules/kazoo/kz_amqp.c +++ b/src/modules/kazoo/kz_amqp.c @@ -2353,10 +2353,10 @@ int add_amqp_headers (char * headers, amqp_basic_properties_t * props ) if (header_value != NULL) { num_headers++; } else { - LM_ERR("Header-Value cant be parsed - skipping!\n"); + LM_ERR("Header-Value can't be parsed - skipping!\n"); } } else { - LM_ERR("Header-Name cant be parsed - skipping!\n"); + LM_ERR("Header-Name can't be parsed - skipping!\n"); } kv_pair_str = strtok_r(NULL, headers_delim, &header_saveptr); } diff --git a/src/modules/keepalive/doc/keepalive_admin.xml b/src/modules/keepalive/doc/keepalive_admin.xml index 431b5958e0b..0028ee52d69 100644 --- a/src/modules/keepalive/doc/keepalive_admin.xml +++ b/src/modules/keepalive/doc/keepalive_admin.xml @@ -96,7 +96,7 @@ modparam("keepalive", "destination", "sip.provider.com")
<varname>delete_counter</varname>(int) - Unsuccessful attemps increase delete_counter. After passing it, keepalive module doesn't try to send options requests. Ignored if it's set to 0. + Unsuccessful attempts increase delete_counter. After passing it, keepalive module doesn't try to send options requests. Ignored if it's set to 0. @@ -143,7 +143,7 @@ modparam("keepalive", "ping_from", "sip:keepalive@kamailio.org") Get destination status. - The Parameter destination is destination you want to check status + The parameter destination is destination you want to check status Returned value: @@ -179,10 +179,10 @@ if(ka_is_alive("192.168.10.20") == 1) { sip_uri (string) - address of destination to monitor. Valid format is [protoschema:]ip[:port], with: 'protoschema' being - one of 'sip' or 'sips' (SIP over TLS) - if omitted, 'sip'is used + one of 'sip' or 'sips' (SIP over TLS) - if omitted, 'sip' is used by default; 'port' is optional (using default standard port 5060 for sip and 5061 for sips) - owner (string) - module name “owning” the destination + owner (string) - module name owning the destination (for informational purpose) @@ -221,10 +221,10 @@ ka_add_destination("sip:192.168.1.10:5060;transport=tcp", "config"); sip_uri (string) - address of monitored destination. Valid format is [protoschema:]ip[:port], with: 'protoschema' being - one of 'sip' or 'sips' (SIP over TLS) - if omitted, 'sip'is used + one of 'sip' or 'sips' (SIP over TLS) - if omitted, 'sip' is used by default; 'port' is optional (using default standard port 5060 for sip and 5061 for sips) - owner (string) - module name “owning” the destination + owner (string) - module name owning the destination (for informational purpose) diff --git a/src/modules/keepalive/keepalive.h b/src/modules/keepalive/keepalive.h index 675b32de71b..f2f90907030 100644 --- a/src/modules/keepalive/keepalive.h +++ b/src/modules/keepalive/keepalive.h @@ -74,7 +74,7 @@ typedef struct _ka_dest int flags; int state; time_t last_checked, last_up, last_down; - int counter; // counts unreachable attemps + int counter; // counts unreachable attempts ticks_t ping_interval; /*!< Actual interval between OPTIONS */ void *user_attr; diff --git a/src/modules/keepalive/keepalive_rpc.c b/src/modules/keepalive/keepalive_rpc.c index ef9fe24a561..2cab97c3dc5 100644 --- a/src/modules/keepalive/keepalive_rpc.c +++ b/src/modules/keepalive/keepalive_rpc.c @@ -99,11 +99,11 @@ static void keepalive_rpc_list(rpc_t *rpc, void *ctx) static void keepalive_rpc_add(rpc_t *rpc, void *ctx) { - str sip_adress = {0,0}; + str sip_address = {0,0}; str table_name ={0,0}; int ret = 0; - ret = rpc->scan(ctx, "SS",&sip_adress,&table_name); + ret = rpc->scan(ctx, "SS",&sip_address,&table_name); if (ret < 2) { LM_ERR("not enough parameters - read so far: %d\n", ret); @@ -111,14 +111,14 @@ static void keepalive_rpc_add(rpc_t *rpc, void *ctx) return; } - LM_DBG("keepalive add [%.*s]\n", sip_adress.len, sip_adress.s); - if(sip_adress.len<1 || table_name.len <1){ + LM_DBG("keepalive add [%.*s]\n", sip_address.len, sip_address.s); + if(sip_address.len<1 || table_name.len <1){ LM_ERR("parameter is len less than 1 \n" ); rpc->fault(ctx, 500, "parameter is len less than 1"); return; } - if(ka_add_dest(&sip_adress,&table_name,0,ka_ping_interval,0,0,0) < 0 ){ + if(ka_add_dest(&sip_address,&table_name,0,ka_ping_interval,0,0,0) < 0 ){ LM_ERR("couldn't add data to list \n" ); rpc->fault(ctx, 500, "couldn't add data to list"); return; @@ -131,11 +131,11 @@ static const char *keepalive_rpc_add_doc[2] = { static void keepalive_rpc_del(rpc_t *rpc, void *ctx) { - str sip_adress = {0,0}; + str sip_address = {0,0}; str table_name ={0,0}; int ret = 0; - ret = rpc->scan(ctx, "SS",&sip_adress,&table_name); + ret = rpc->scan(ctx, "SS",&sip_address,&table_name); if (ret < 2) { LM_ERR("not enough parameters - read so far: %d\n", ret); @@ -143,15 +143,15 @@ static void keepalive_rpc_del(rpc_t *rpc, void *ctx) return; } - LM_DBG("keepalive delete [%.*s]\n", sip_adress.len, sip_adress.s); + LM_DBG("keepalive delete [%.*s]\n", sip_address.len, sip_address.s); - if(sip_adress.len < 1 || table_name.len < 1){ + if(sip_address.len < 1 || table_name.len < 1){ LM_ERR("parameter is len less than 1 \n"); rpc->fault(ctx, 500, "parameter is len less than 1"); return; } - if(ka_del_destination(&sip_adress,&table_name) < 0 ){ + if(ka_del_destination(&sip_address,&table_name) < 0 ){ LM_ERR("couldn't delete data from list \n" ); rpc->fault(ctx, 500, "couldn't delete data from list"); return; @@ -164,13 +164,13 @@ static const char *keepalive_rpc_del_doc[2] = { static void keepalive_rpc_get(rpc_t *rpc, void *ctx) { - str sip_adress = {0,0}; + str sip_address = {0,0}; str table_name ={0,0}; int ret = 0; ka_dest_t *target=0 , *head =0; void *sub; - ret = rpc->scan(ctx, "SS",&sip_adress,&table_name); + ret = rpc->scan(ctx, "SS",&sip_address,&table_name); if (ret < 2) { LM_ERR("not enough parameters - read so far: %d\n", ret); @@ -178,16 +178,16 @@ static void keepalive_rpc_get(rpc_t *rpc, void *ctx) return; } - LM_DBG("keepalive get [%.*s]\n", sip_adress.len , sip_adress.s); + LM_DBG("keepalive get [%.*s]\n", sip_address.len , sip_address.s); - if(sip_adress.len < 1 || table_name.len < 1){ + if(sip_address.len < 1 || table_name.len < 1){ LM_ERR("parameter is len less than 1 \n"); rpc->fault(ctx, 500, "parameter is len less than 1"); return; } ka_lock_destination_list(); - if(ka_find_destination(&sip_adress, &table_name, &target, &head) < 0 ){ + if(ka_find_destination(&sip_address, &table_name, &target, &head) < 0 ){ LM_ERR("couldn't get data from list \n" ); rpc->fault(ctx, 500, "couldn't get data from list"); ka_unlock_destination_list(); diff --git a/src/modules/kemix/doc/kemix_admin.xml b/src/modules/kemix/doc/kemix_admin.xml index 0743d7765c5..f28467dc170 100644 --- a/src/modules/kemix/doc/kemix_admin.xml +++ b/src/modules/kemix/doc/kemix_admin.xml @@ -30,8 +30,8 @@ - - http://kamailio.org/docs/tutorials/devel/kamailio-kemi-framework/ + + https://kamailio.org/docs/tutorials/devel/kamailio-kemi-framework/ diff --git a/src/modules/kemix/kemix_mod.c b/src/modules/kemix/kemix_mod.c index e6bff3841cf..c710d50ffcf 100644 --- a/src/modules/kemix/kemix_mod.c +++ b/src/modules/kemix/kemix_mod.c @@ -75,7 +75,7 @@ static sr_kemi_xval_t* ki_kx_get_ruri(sip_msg_t *msg) } if(msg->first_line.type == SIP_REPLY) { - /* REPLY doesnt have a ruri */ + /* REPLY doesn't have a ruri */ sr_kemi_xval_null(&_sr_kemi_kx_xval, 0); return &_sr_kemi_kx_xval; } @@ -108,7 +108,7 @@ static sr_kemi_xval_t* ki_kx_get_ouri(sip_msg_t *msg) } if(msg->first_line.type == SIP_REPLY) { - /* REPLY doesnt have a ruri */ + /* REPLY doesn't have a ruri */ sr_kemi_xval_null(&_sr_kemi_kx_xval, 0); return &_sr_kemi_kx_xval; } diff --git a/src/modules/kex/core_stats.c b/src/modules/kex/core_stats.c index 565ce4e77d7..816ae39a90f 100644 --- a/src/modules/kex/core_stats.c +++ b/src/modules/kex/core_stats.c @@ -409,7 +409,7 @@ struct rpc_list_params { /** - * Satistic getter RPC callback. + * Statistic getter RPC callback. */ static void rpc_get_grp_vars_cbk(void* p, str* g, str* n, counter_handle_t h) { @@ -644,7 +644,7 @@ static void rpc_stats_fetchn_statistics(rpc_t* rpc, void* ctx) } /** - * Satistic reset/clear-er RPC callback.. + * Statistic reset/clear-er RPC callback.. */ static void rpc_reset_or_clear_grp_vars_cbk(void* p, str* g, str* n, counter_handle_t h) diff --git a/src/modules/kex/doc/kex_admin.xml b/src/modules/kex/doc/kex_admin.xml index 34484bc4ec8..5c597e97047 100644 --- a/src/modules/kex/doc/kex_admin.xml +++ b/src/modules/kex/doc/kex_admin.xml @@ -88,7 +88,7 @@ setsflag("$var(flag)");
<function moreinfo="none">issflagset(flag)</function> - Return true of the script flag is set. + Return true if the script flag is set. Meaning of the parameters is as follows: @@ -179,7 +179,7 @@ setbflag("$var(flag)", "1");
<function moreinfo="none">isbflagset(flag [, branch])</function> - Return true of the branch flag is set. + Return true if the branch flag is set. Meaning of the parameters is as follows: @@ -762,7 +762,7 @@ resetdebug(); Print the list of available internal statistics. NOTE: the result is an array of strings that have the list of - statistics formated like "name = value", being propagated over the time + statistics formatted like "name = value", being propagated over the time from the MI variant. Use "stats.fetch" or "stats.fetchn"commands to have a more JSON-friendly output. Parameters: statsid - which statistics to @@ -785,7 +785,7 @@ resetdebug(); Print the list of available internal statistics with a more json friendly output. Each printed statistic is a field in the output structure: {"statsgroup.statsname" : "statsvalue"}. The value is - represented as string to accomodate large numbers. + represented as string to accommodate large numbers. Parameters: statsid - which statistics to be printed. If set to 'all' then all statistics are printed; if set to 'statsgroup:' then all statistics in the group are printed; diff --git a/src/modules/kex/kex_mod.c b/src/modules/kex/kex_mod.c index e46e85b5cf4..1927c7343d3 100644 --- a/src/modules/kex/kex_mod.c +++ b/src/modules/kex/kex_mod.c @@ -141,7 +141,7 @@ static int mod_init(void) register_pkg_proc_stats(); pkg_proc_stats_init_rpc(); - /* per module memmory debugging RPC command */ + /* per module memory debugging RPC command */ mod_stats_init_rpc(); return 0;