diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-02-19 15:36:05 +0100 |
---|---|---|
committer | daniel <dwillmann@sysmocom.de> | 2018-11-27 07:44:12 +0000 |
commit | 60d86b7d29aafb3f9faf4486ea3e07680f051fce (patch) | |
tree | bf40affd72148f3623f1abe7830da5cf5ff55810 /openbsc/src | |
parent | e8cd09dd6f3378a8137afb581dcd7ed554daa24c (diff) |
bsc-nat: Enable octet-aligned when ensuring mode set
From RFC 4867:
octet-align: Permissible values are 0 and 1. If 1, octet-aligned
operation SHALL be used. If 0 or if not present,
bandwidth-efficient operation is employed.
Change-Id: Ic4db7f6d18f650f36f3186965096771f748de5fd
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c b/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c index 9fc8ba31e..311ab94cc 100644 --- a/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c +++ b/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c @@ -939,7 +939,7 @@ copy: * safely append another line. */ if (ensure_mode_set && !found_fmtp && payload != -1) { - snprintf(buf, sizeof(buf) - 1, "a=fmtp:%d mode-set=2%s", + snprintf(buf, sizeof(buf) - 1, "a=fmtp:%d mode-set=2 octet-align=1%s", payload, cr ? "\r\n" : "\n"); buf[sizeof(buf) - 1] = '\0'; output->l3h = msgb_put(output, strlen(buf)); |