diff --git a/README.md b/README.md index 025702a04..75d821104 100644 --- a/README.md +++ b/README.md @@ -438,7 +438,7 @@ The options are described in more detail below. Use multiple redis keys for storing the call (old behaviour) DEPRECATED * -q, --no-redis-required - When this paramter is present or NO_REDIS_REQUIRED='yes' or '1' in config file, rtpengine starts even + When this parameter is present or NO_REDIS_REQUIRED='yes' or '1' in config file, rtpengine starts even if there is no initial connection to redis databases(either to -r or to -w or to both redis). Be aware that if the -r redis can't be initially connected, sessions are not reloaded upon rtpengine startup, @@ -672,7 +672,7 @@ particular forwarding table. To delete this forwarding table, the command `del 42` can be issued like above. This will only work if no *rtpengine* daemon is currently running and controlling this table. -Each subdirectory `/proc/rtpengine/$ID/` corresponding to each fowarding table contains the pseudo-files +Each subdirectory `/proc/rtpengine/$ID/` corresponding to each forwarding table contains the pseudo-files `blist`, `control`, `list` and `status`. The `control` file is write-only while the others are read-only. The `control` file will be kept open by the *rtpengine* daemon while it's running to issue updates to the forwarding rules during runtime. The daemon also reads the `blist` file on a regular basis, which @@ -785,7 +785,7 @@ For the `ping` command, the additional value `pong` is allowed. If the result is be present in the error case. If the result is `ok`, the optional key `warning` may be present, containing a human-readable warning message. This can be used for non-fatal errors. -For readabilty, all data objects below are represented in a JSON-like notation and without the message cookie. +For readability, all data objects below are represented in a JSON-like notation and without the message cookie. For example, a `ping` message and its corresponding `pong` reply would be written as: { "command": "ping" } @@ -1005,7 +1005,7 @@ Optionally included keys are: * `address family` A string value of either `IP4` or `IP6` to select the primary address family in the substituted SDP - body. The default is to auto-detect the address family if possible (if the recieving end is known + body. The default is to auto-detect the address family if possible (if the receiving end is known already) or otherwise to leave it unchanged. * `rtcp-mux` diff --git a/daemon/bencode.h b/daemon/bencode.h index 7c469ec6c..c2598960b 100644 --- a/daemon/bencode.h +++ b/daemon/bencode.h @@ -239,7 +239,7 @@ struct iovec *bencode_iovec(bencode_item_t *root, int *cnt, unsigned int head, u /* Similar to bencode_iovec(), but instead returns the encoded document as a null-terminated string. * Memory for the string is allocated from the same bencode_buffer_t object as the "root" object - * was allocated from. If "len" is a non-NULL pointer, the length of the genrated string is returned + * was allocated from. If "len" is a non-NULL pointer, the length of the generated string is returned * in *len. This is important if the encoded document contains binary data, in which case null * termination cannot be trusted. The returned string is freed when the corresponding * bencode_buffer_t object is destroyed. */ diff --git a/daemon/call.c b/daemon/call.c index 622458520..c6b01925e 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -1126,7 +1126,7 @@ static void __ice_offer(const struct sdp_ng_flags *flags, struct call_media *thi } } -/* generates SDES parametes for outgoing SDP, which is our media "out" direction */ +/* generates SDES parameters for outgoing SDP, which is our media "out" direction */ static void __generate_crypto(const struct sdp_ng_flags *flags, struct call_media *this, struct call_media *other) { @@ -1551,7 +1551,7 @@ int monologue_offer_answer(struct call_monologue *other_ml, GQueue *streams, __C_DBG("processing media stream #%u", sp->index); __C_DBG("free ports needed for round-robin-calls, left for this call %u", rr_calls_ports); - /* first, check for existance of call_media struct on both sides of + /* first, check for existence of call_media struct on both sides of * the dialogue */ media = __get_media(monologue, &ml_media, sp); other_media = __get_media(other_ml, &other_ml_media, sp); diff --git a/daemon/main.c b/daemon/main.c index 43b91eb90..b31266b40 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -578,7 +578,7 @@ no_kernel: if (!is_addr_unspecified(&redis_write_ep.address)) { mc.redis_write = redis_new(&redis_write_ep, redis_write_db, redis_write_auth, ANY_REDIS_ROLE, no_redis_required); if (!mc.redis_write) - die("Cannot start up without running Redis %s write database! See also NO_REDIS_REQUIRED paramter.", + die("Cannot start up without running Redis %s write database! See also NO_REDIS_REQUIRED parameter.", endpoint_print_buf(&redis_write_ep)); } @@ -586,7 +586,7 @@ no_kernel: mc.redis = redis_new(&redis_ep, redis_db, redis_auth, mc.redis_write ? ANY_REDIS_ROLE : MASTER_REDIS_ROLE, no_redis_required); mc.redis_notify = redis_new(&redis_ep, redis_db, redis_auth, mc.redis_write ? ANY_REDIS_ROLE : MASTER_REDIS_ROLE, no_redis_required); if (!mc.redis || !mc.redis_notify) - die("Cannot start up without running Redis %s database! See also NO_REDIS_REQUIRED paramter.", + die("Cannot start up without running Redis %s database! See also NO_REDIS_REQUIRED parameter.", endpoint_print_buf(&redis_ep)); if (!mc.redis_write) diff --git a/daemon/media_socket.h b/daemon/media_socket.h index bf20efa2b..6e27679b5 100644 --- a/daemon/media_socket.h +++ b/daemon/media_socket.h @@ -98,7 +98,7 @@ void __unkernelize(struct packet_stream *); void unkernelize(struct packet_stream *); void __stream_unconfirm(struct packet_stream *); -/* XXX shouldnt be necessary */ +/* XXX shouldn't be necessary */ /* INLINE struct local_intf *get_interface_from_address(const struct logical_intf *lif, const sockaddr_t *addr, socktype_t *type) diff --git a/debian/rules.modules b/debian/rules.modules index 76f4e9217..2add88617 100644 --- a/debian/rules.modules +++ b/debian/rules.modules @@ -40,7 +40,7 @@ MA_DIR ?= /usr/share/modass # The kdist_configure target is called by make-kpkg modules_config and # by kdist* rules by dependency. It should configure the module so it is # ready for compilation (mostly useful for calling configure). -# prep-deb-files from module-assistant creates the neccessary debian/ files +# prep-deb-files from module-assistant creates the necessary debian/ files kdist_configure: prep-deb-files # the kdist_clean target is called by make-kpkg modules_clean and from diff --git a/lib/str.h b/lib/str.h index 36fb8a156..5235509f8 100644 --- a/lib/str.h +++ b/lib/str.h @@ -32,9 +32,9 @@ typedef struct _str str; /* returns pointer to end of str (s->s + s->len) */ INLINE char *str_end(const str *s); -/* returns pointer to first occurence of "c" in s */ +/* returns pointer to first occurrence of "c" in s */ INLINE char *str_chr(const str *s, int c); -/* sets "out" to point to first occurence of c in s. adjusts len also */ +/* sets "out" to point to first occurrence of c in s. adjusts len also */ INLINE str *str_chr_str(str *out, const str *s, int c); /* compares a str to a regular string */ INLINE int str_cmp(const str *a, const char *b); diff --git a/utils/rtpengine-ctl b/utils/rtpengine-ctl index 62d5a5511..ff1b21362 100755 --- a/utils/rtpengine-ctl +++ b/utils/rtpengine-ctl @@ -75,7 +75,7 @@ sub showusage { print " sessions own : print one-liner own sessions information\n"; print " sessions foreign : print one-liner foreign sessions information\n"; print " totals : print total statistics\n"; - print " timeout : print timout parameters\n"; + print " timeout : print timeout parameters\n"; print "\n"; print " terminate [ | all | own | foreign ]\n"; print " : session is immediately terminated\n"; @@ -101,7 +101,7 @@ sub showusage { print "\n"; print "\n"; print " Return Value:\n"; - print " 0 on success with ouput from server side, other values for failure.\n"; + print " 0 on success with output from server side, other values for failure.\n"; print "\n"; }