summaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmgcp/rtp_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/libmgcp/rtp_helper.c')
-rw-r--r--openbsc/src/libmgcp/rtp_helper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/libmgcp/rtp_helper.c b/openbsc/src/libmgcp/rtp_helper.c
index a07db3591..aafbbe52d 100644
--- a/openbsc/src/libmgcp/rtp_helper.c
+++ b/openbsc/src/libmgcp/rtp_helper.c
@@ -316,6 +316,9 @@ int rtp_compress(struct mgcp_rtp_compr_state *state, struct msgb *msg,
if (hdr->marker)
marker = 1;
+ state->generated_ssrc = ntohl(hdr->ssrc);
+ state->timestamp = ntohl(hdr->timestamp);
+ state->sequence = ntohs(hdr->sequence);
last_sequence = sequence;
count += 1;
}