diff --git a/mbuni/mmlib/mms_mm7soap.c b/mbuni/mmlib/mms_mm7soap.c index 412b0f5..35d5f7c 100644 --- a/mbuni/mmlib/mms_mm7soap.c +++ b/mbuni/mmlib/mms_mm7soap.c @@ -415,7 +415,7 @@ static Octstr *headers_to_soapxml(List *hdrs, MM7Version_t *ver) octstr_format_append(s, "%S\n", p); octstr_destroy(p); } else - octstr_format_append(s, "%d.%d.%d\n", ver->major, ver->minor1, ver->minor2); + octstr_format_append(s, "%s\n", MM7_VERSION); p = http_header_value(hdrs, octstr_imm("VASPID")); q = http_header_value(hdrs, octstr_imm("VASID")); diff --git a/mbuni/mmlib/mms_mm7soap.h b/mbuni/mmlib/mms_mm7soap.h index f436f75..38cb33d 100644 --- a/mbuni/mmlib/mms_mm7soap.h +++ b/mbuni/mmlib/mms_mm7soap.h @@ -21,6 +21,8 @@ #define MM7_SOAP_STATUS_OK(e) ((e) / 1000 == 1) #define MM7_DEFAULT_VERSION MMS_3GPP_VERSION +#define MM7_VERSION "5.3.0" + typedef struct MSoapMsg_t MSoapMsg_t; typedef struct MM7Version_t {