aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/mgcp_internal.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-08-05 12:07:00 +0000
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-08-05 20:08:22 +0800
commit6357a8e3110a6cdecb5ee8fdbe59d806f257c1ba (patch)
treee317f7de77d6faf422b8ee9b002a8187f10bc27e /openbsc/include/openbsc/mgcp_internal.h
parenta39ddd5654bcb9fa212eea154c9a00384b31219e (diff)
mgcp: Patch RTP packets again if that is allowed.openbsc/0.9.3
Diffstat (limited to 'openbsc/include/openbsc/mgcp_internal.h')
-rw-r--r--openbsc/include/openbsc/mgcp_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h
index 92e5f9955..bdcd03030 100644
--- a/openbsc/include/openbsc/mgcp_internal.h
+++ b/openbsc/include/openbsc/mgcp_internal.h
@@ -86,6 +86,9 @@ struct mgcp_endpoint {
/* sequence bits */
struct mgcp_rtp_state net_state;
struct mgcp_rtp_state bts_state;
+
+ /* SSRC/seq/ts patching for loop */
+ int allow_patch;
};
#define ENDPOINT_NUMBER(endp) abs(endp - endp->cfg->endpoints)