rtp_proxy.c: Correctly set msg_type to GSM_TCH_FRAME_AMR on AMR
When forwarding AMR from RTP towards the MNCC interface, we need to set the apropriate msg_type. Before this patch it was unitialized, resulting in improper/unknown msg_types of messages on the MNCC interface.
This commit is contained in:
parent
a87f8f9891
commit
ec75798644
|
@ -196,6 +196,7 @@ static int rtp_decode(struct msgb *msg, uint32_t callref, struct msgb **data)
|
|||
}
|
||||
break;
|
||||
case RTP_PT_AMR:
|
||||
msg_type = GSM_TCH_FRAME_AMR;
|
||||
break;
|
||||
default:
|
||||
DEBUGPC(DLMUX, "received RTP frame with unknown payload "
|
||||
|
|
Loading…
Reference in New Issue