mgw: Use X-Osmux string define

Change-Id: Ib437c0a6b414f1d8f08fdb90e88a61e9aed2780d
This commit is contained in:
Pau Espin 2022-09-08 15:15:37 +02:00
parent a4f783b51b
commit ab4e8663e1
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ static struct msgb *create_response_with_sdp(struct mgcp_endpoint *endp,
/* Attach optional OSMUX parameters */
if (mgcp_conn_rtp_is_osmux(conn)) {
rc = msgb_printf(sdp, "X-Osmux: %u\r\n", conn->osmux.cid);
rc = msgb_printf(sdp, MGCP_X_OSMO_OSMUX_HEADER " %u\r\n", conn->osmux.cid);
if (rc < 0)
goto error;
}