1
0
Fork 0

Minor change of order of MM7 tags to please Comverse!

This commit is contained in:
bagyenda 2007-01-03 05:53:03 +00:00
parent 14e44ea421
commit de6ded80a9
1 changed files with 5 additions and 4 deletions

View File

@ -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);