aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/mgcp.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2013-12-03 14:43:34 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2013-12-10 11:11:42 +0100
commitdb2d431697609d473de433b7028f81ce499a02c0 (patch)
tree65830327458c4763f30589a60c462c2d68f89c6a /openbsc/include/openbsc/mgcp.h
parent55ba140da126c78013fe1a6055d750ee10b60ecf (diff)
mgcp/rtp: Add RTP header patch mode configuration
This adds datastructures and a VTY frontend to configure the different type of RTP header patching: SSRC and timestamp. Note that timestamp patching is not yet implemented. Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/include/openbsc/mgcp.h')
-rw-r--r--openbsc/include/openbsc/mgcp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp.h b/openbsc/include/openbsc/mgcp.h
index 4e22e0f5e..8ab52ce1a 100644
--- a/openbsc/include/openbsc/mgcp.h
+++ b/openbsc/include/openbsc/mgcp.h
@@ -118,6 +118,10 @@ struct mgcp_trunk_config {
int omit_rtcp;
+ /* RTP patching */
+ int force_constant_ssrc; /* 0: don't, 1: once */
+ int force_constant_timing;
+
/* spec handling */
int force_realloc;