Minor change of order of MM7 tags to please Comverse!
This commit is contained in:
parent
14e44ea421
commit
de6ded80a9
|
@ -932,6 +932,11 @@ MSoapMsg_t *mm7_mmsmsg_to_soap(MmsMsg *msg, Octstr *from, List *xto,
|
|||
isclientside ? "SenderAddress" : "Sender",
|
||||
octstr_get_cstr(xfrom));
|
||||
|
||||
if ((s = mms_get_header_value(msg, octstr_imm("Date"))) != NULL) {
|
||||
http_header_add(m->envelope, "TimeStamp", octstr_get_cstr(s));
|
||||
octstr_destroy(s);
|
||||
}
|
||||
|
||||
if (isclientside) {
|
||||
if (vaspid)
|
||||
http_header_add(m->envelope, "VASPID", vaspid);
|
||||
|
@ -974,10 +979,6 @@ MSoapMsg_t *mm7_mmsmsg_to_soap(MmsMsg *msg, Octstr *from, List *xto,
|
|||
octstr_destroy(s);
|
||||
}
|
||||
|
||||
if ((s = mms_get_header_value(msg, octstr_imm("Date"))) != NULL) {
|
||||
http_header_add(m->envelope, "TimeStamp", octstr_get_cstr(s));
|
||||
octstr_destroy(s);
|
||||
}
|
||||
|
||||
/* Should we bother to strip message part of headers??? */
|
||||
headers = mime_entity_headers(m->msg);
|
||||
|
|
Loading…
Reference in New Issue