Hi:
Here is the patch I use to get Mbuni to send MM7 over EAIF without the
Message Corrupt Error.
----
Patched File: kannel/gateway-1.4.0/wap/wsp_headers.c
1433,1435d1432
< // Kripper was here
< static int wsp_pack_content_id(Octstr *packed, Octstr *text);
<
1493,1495c1490
< // Kripper was here
< // { WSP_HEADER_CONTENT_ID, wsp_pack_text, 0},
< { WSP_HEADER_CONTENT_ID, wsp_pack_content_id, 0},
---
{ WSP_HEADER_CONTENT_ID, wsp_pack_text, 0},
1620,1628d1614
< // Kripper was here.
< static int wsp_pack_content_id(Octstr *packed, Octstr *text)
< {
< octstr_append_char(packed, '"');
< octstr_append(packed, text);
< octstr_append_char(packed, 0);
< return 0;
< }
<
1633,1636c1619,1620
<
< if (octstr_get_char(text, 0) >= 128 || octstr_get_char(text, 0) < 32)
< octstr_append_char(packed, WSP_QUOTE);
<
---
if (octstr_get_char(text, 0) >= 128 || octstr_get_char(text, 0) < 32)
octstr_append_char(packed, WSP_QUOTE);
Atentamente,
J. Christopher Pereira
Jefe de Proyecto
TRAZACHILE
www.trazabilidadchile.cl
(09) 475 0 341
(32) 852463
_______________________________________________
Devel mailing list
Devel@mbuni.org
http://mbuni.org/mailman/listinfo/devel_mbuni.org