projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adding handling of bad GSM audio frames
[lcr.git]
/
gsm_bs.cpp
diff --git
a/gsm_bs.cpp
b/gsm_bs.cpp
index
7748f7a
..
d062e3d
100644
(file)
--- a/
gsm_bs.cpp
+++ b/
gsm_bs.cpp
@@
-396,7
+396,8
@@
int message_bsc(struct lcr_gsm *lcr_gsm, int msg_type, void *arg)
port = port->next;
}
- if (msg_type == GSM_TCHF_FRAME) {
+ if (msg_type == GSM_TCHF_FRAME
+ || msg_type == GSM_TCHF_BAD_FRAME) {
if (port) {
/* inject DTMF, if enabled */
if (pgsm_bs->p_g_dtmf) {