adding allow adaptations flag
This commit is contained in:
parent
7c31b97523
commit
8ef3978cab
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue