1
0
Fork 0

adding allow adaptations flag

This commit is contained in:
bagyenda 2007-07-23 04:27:03 +00:00
parent 7c31b97523
commit 8ef3978cab
2 changed files with 8 additions and 3 deletions

View File

@ -544,7 +544,12 @@ static Octstr *headers_to_soapxml(List *hdrs, MM7Version_t *ver)
skip = 1;
break;
case MM7_TAG_Content:
octstr_format_append(s, "<mm7:Content href=\"%S\"/>\n", v);
if ((p = http_header_value(hdrs, octstr_imm("allowAdaptations"))) != NULL)
p = octstr_format(" allowAdaptations=\"%S\"", p);
else
p = octstr_imm("");
octstr_format_append(s, "<mm7:Content href=\"%S\"%S/>\n", v,p);
octstr_destroy(p);
skip = 1;
break;
case MM7_TAG_ReplyCharging:

View File

@ -1,7 +1,7 @@
libmms = $(top_builddir)/mmlib/libmms.a
bin_PROGRAMS = mmsbox
mmsbox_SOURCES = mmsbox.c mmsbox_cfg.c dlr.c bearerbox.c
mmsbox_SOURCES = mmsbox.c mmsbox_cfg.c dlr.c bearerbox.c
mmsbox_LDADD = $(libmms)
EXTRA_DIST = mmsbox_cfg.h mmsbox.h mmsbox_msg_filter.h
EXTRA_DIST = mmsbox_cfg.h mmsbox.h mmsbox_mt_filter.h