you can try this hack and give me your feedback :

diff -rau /mbuni-cvs/mmlib/mms_msg.c /mbuni/mmlib/mms_msg.c
--- /mbuni-cvs/mmlib/mms_msg.c  2006-11-25 12:53:40.000000000 +0100
+++ /mbuni/mmlib/mms_msg.c      2007-01-22 16:17:50.000000000 +0100
@@ -1361,7 +1361,8 @@
     m->msgId = http_header_value(m->headers, octstr_imm("Message-ID"));

     /* Default type is send */
- if ((s = http_header_value(m->headers, octstr_imm("X-Mms-Message-Type"))) == NULL) { + if ((s = http_header_value(m->headers, octstr_imm("X-Mms-Message-Type"))) == NULL ||
+         octstr_compare(s, octstr_imm("MM4_forward.REQ")) == 0) {
         http_header_add(m->headers, "X-Mms-Message-Type",
(char *)mms_message_type_to_cstr(MMS_MSGTYPE_SEND_REQ));
         m->message_type = MMS_MSGTYPE_SEND_REQ;


Vincent

----- Original Message ----- From: "Deon van der Merwe" <[EMAIL PROTECTED]>
To: "Mbuni MMS Gateway Developers" <devel@mbuni.org>
Sent: Friday, January 26, 2007 6:17 PM
Subject: [Devel] MM4 MMSC interworking


Hi,

Today we started a MMSC interworking project.  We receive the message
fine via SMTP (sendmail) and execute the mmsfromemail utility.  It
parses the message okay, and then terminates with:

2007-01-26 18:51:47 [19635] [0] ERROR: Unknown message type:
MM4_forward.REQ while parsing mime entity.
2007-01-26 18:51:47 [19635] [0] ERROR: Unable to create MM!

This happens in "mmlib/mms_msg.c".

The other MMSC is from Openwave.  Questions then:
- should they be sending MM4_forward?
- should mbuni be able to accept MM4_forward?

Anyone else done an interworking project with an Openwave MMSC?
_______________________________________________
Devel mailing list
Devel@mbuni.org
http://lists.mbuni.org/mailman/listinfo/devel



_______________________________________________
Devel mailing list
Devel@mbuni.org
http://lists.mbuni.org/mailman/listinfo/devel

Reply via email to