mgcp: Add a hack to allow to patch the SSRC
This is a hack and we will need to do this only if a MDCX with a new IP address is arriving.
This commit is contained in:
parent
796e1a2125
commit
f612e431ff
|
@ -123,7 +123,8 @@ static void patch_and_count(struct mgcp_endpoint *endp, struct mgcp_rtp_state *s
|
|||
state->ssrc = rtp_hdr->ssrc;
|
||||
state->seq_offset = (state->seq_no + 1) - seq;
|
||||
state->timestamp_offset = state->last_timestamp - timestamp;
|
||||
state->patch = endp->allow_patch;
|
||||
#warning "Always allow to patch the SSRC"
|
||||
state->patch = 1;
|
||||
LOGP(DMGCP, LOGL_NOTICE,
|
||||
"The SSRC changed on 0x%x SSRC: %u offset: %d from %s:%d in %d\n",
|
||||
ENDPOINT_NUMBER(endp), state->ssrc, state->seq_offset,
|
||||
|
|
Reference in New Issue