mgcp_network.c: Set proper CRC Header for ACK Initialization
Discovered while debugging wireshark CRC calculation and implementing new IuUP code in libosmocore. Change-Id: Ic8350d1f9a9e5dcefeb787462d267bfac08d778f
This commit is contained in:
parent
bc3f3b40fe
commit
ebb05c1f90
|
@ -1225,6 +1225,7 @@ int mgcp_send(struct mgcp_endpoint *endp, int is_rtp, struct osmo_sockaddr *addr
|
|||
if (data[0] == 0xe0) {
|
||||
data[0] = 0xe4;
|
||||
data[1] = 0x00;
|
||||
data[2] = 0x09; /* Patch CRC Header to adapt to new header above */
|
||||
rtp_state->patched_first_rtp_payload = true;
|
||||
LOGPENDP(endp, DRTP, LOGL_DEBUG,
|
||||
"Patching over first two bytes"
|
||||
|
|
Loading…
Reference in New Issue