mgw: Allow receiving lowercase X-Osmo-Ign Callid field
MGCP RFC3435 (https://tools.ietf.org/html/rfc3435) states almost all text has to be handled in a case-insensitive way, except SDP parts. Related: OS#4001 Change-Id: Ifc1b3bfe6ff6922df478cea89bbbb291b5fa5706
This commit is contained in:
parent
9a34592c09
commit
6e26c70f46
|
@ -785,7 +785,7 @@ static bool parse_x_osmo_ign(struct mgcp_endpoint *endp, char *line)
|
|||
if (!token)
|
||||
break;
|
||||
|
||||
if (!strcmp(token, "C"))
|
||||
if (!strcasecmp(token, "C"))
|
||||
endp->x_osmo_ign |= MGCP_X_OSMO_IGN_CALLID;
|
||||
else
|
||||
LOGPENDP(endp, DLMGCP, LOGL_ERROR, "received unknown X-Osmo-IGN item '%s'\n", token);
|
||||
|
|
Loading…
Reference in New Issue