summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Hauke <mardnh@gmx.de>2021-01-01 22:14:42 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2021-01-03 10:10:47 +0100
commit027846d895469f020b68bfaee8a097f17a1df130 (patch)
tree904508ea91c14df4c0a6a49682726cfa67528036 /src
parent6ea21e8a2ef9a4ca0fdd07a11239897b224c54f7 (diff)
Fix typos
Diffstat (limited to 'src')
-rw-r--r--src/router/call.c8
-rw-r--r--src/router/call.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/router/call.c b/src/router/call.c
index 9933a2f..5b8c28b 100644
--- a/src/router/call.c
+++ b/src/router/call.c
@@ -50,10 +50,10 @@
* If RTP proxy is enabled, the SDP is negotiated with the supported codecs of
* this router. The first reply to the CC-SETUP-REQ message will include the
* SDP reply as well as progress indicator set to 8 (if not a CC-SETUP-CNF
- * message) towards originating endpoint. The SDP negoatiation on the
+ * message) towards originating endpoint. The SDP negotiation on the
* originating side is complete. If the call gets forwarded to a single or
- * multiple terminating endpoints, an SDP is generated with teh supported
- * codecs of this router. In case of single terminating endpont, the SDP of the
+ * multiple terminating endpoints, an SDP is generated with the supported
+ * codecs of this router. In case of single terminating endpoint, the SDP of the
* first reply to the CC-SETUP-IND message is used to negotiate the codec. In
* case of multiple terminating endpoints (call forking) the SDP reply is
* stored and processed when a CC-SETUP-RSP is received from the first
@@ -1729,7 +1729,7 @@ static void routing_dtmf(call_t *call)
dtmf_decode_exit(&relation->dtmf_dec);
- /* we add 13, because we working at speech level and not at 0dBm, wich is -13 dBm */
+ /* we add 13, because we working at speech level and not at 0dBm, which is -13 dBm */
dtmf_decode_init(&relation->dtmf_dec, relation, recv_dtmf, 8000, db2level(6.0 + 13.0), db2level(-30.0 + 13.0));
relation->dtmf_dec_enable = 1;
diff --git a/src/router/call.h b/src/router/call.h
index 12b62c5..580f267 100644
--- a/src/router/call.h
+++ b/src/router/call.h
@@ -26,7 +26,7 @@ typedef struct call_relation {
struct call_relation *next;
int num; /* number counter for debugging */
struct call *call; /* points to the call */
- uint32_t cc_callref; /* callref for each releation */
+ uint32_t cc_callref; /* callref for each relation */
const char *sdp; /* received SDP? */
int tones_recv; /* are inband tones available? */
jitter_t orig_dejitter; /* jitter buffer for call recording (originating source) */