summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 =