summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-11-06 23:37:02 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-01-23 14:42:10 +0100
commit0a41f7f38e6bca098bcd86bf8c465cac988d8955 (patch)
treea63b36fc1b88797a7621b7792cc929f99232e497
parentce58f5d91225b7beb176efc77171b3424bd7db0b (diff)
-rw-r--r--openbsc/src/libmgcp/mgcp_network.c6
-rw-r--r--openbsc/src/libmsc/msc_ifaces.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/openbsc/src/libmgcp/mgcp_network.c b/openbsc/src/libmgcp/mgcp_network.c
index d74bd78f2..0862cce20 100644
--- a/openbsc/src/libmgcp/mgcp_network.c
+++ b/openbsc/src/libmgcp/mgcp_network.c
@@ -670,6 +670,12 @@ int mgcp_send(struct mgcp_endpoint *endp, int dest, int is_rtp,
uint32_t *ssrc = &buf[8];
(*ssrc) ++;
+
+ uint16_t *seqnr = &buf[2];
+ (*seqnr) += 1000;
+
+ uint32_t *timestamp = &buf[4];
+ (*timestamp) += 1000;
rc = mgcp_udp_send(rtp_end->rtp.fd,
&rtp_end->addr,
diff --git a/openbsc/src/libmsc/msc_ifaces.c b/openbsc/src/libmsc/msc_ifaces.c
index f579e1fb2..1ae5d46d2 100644
--- a/openbsc/src/libmsc/msc_ifaces.c
+++ b/openbsc/src/libmsc/msc_ifaces.c
@@ -178,7 +178,7 @@ static int conn_iu_rab_act_cs(struct gsm_trans *trans)
/* HACK. where to scope the RAB Id? At the conn / subscriber /
* ue_conn_ctx? */
- static uint8_t next_rab_id = 1;
+ static uint8_t next_rab_id = 234;
conn->iu.rab_id = next_rab_id ++;
conn->iu.mgcp_rtp_endpoint =