Re: [Devel] MM4 MMSC interworking

2007-01-30 Thread Deon van der Merwe

Hi,

Related to the interworking...  In mmsc/mmsglobalsender.c's method:
mms_sendtoproxy there is the call to send the actual email out:
x = mms_sendtoemail(from, pto,
subject ? subject : settings->mms_email_subject,
msgid,  msg, 0,
error, sendmail_cmd,
settings->hostname, 0, 0,NULL,NULL,0);

The question: is there any specific reason why the last parameter,
append_hostname, is set to false?


On 1/30/07, Paul Bagyenda <[EMAIL PROTECTED]> wrote:

Applied to CVS. Thanks
On Jan 28, 2007, at 21:06, Vincent CHAVANIS wrote:

> This is an update of my previous message,
> This should fix the duplicate entry header for the X-Mms-Message-Type.
>

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


Re: [Devel] MM4 MMSC interworking

2007-01-30 Thread Paul Bagyenda

Applied to CVS. Thanks
On Jan 28, 2007, at 21:06, Vincent CHAVANIS wrote:


This is an update of my previous message,
This should fix the duplicate entry header for the X-Mms-Message-Type.


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.0 +0100
+++ /mbuni/mmlib/mms_msg.c  2007-01-22 16:17:50.0 +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_remove_all(m->headers, "X-Mms-Message-Type");
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: "Vincent CHAVANIS"  
<[EMAIL PROTECTED]>
To: "Deon van der Merwe" <[EMAIL PROTECTED]>; "Mbuni MMS  
Gateway Developers" 

Sent: Saturday, January 27, 2007 4:17 PM
Subject: Re: [Devel] MM4 MMSC interworking



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.0 +0100
+++ /mbuni/mmlib/mms_msg.c  2007-01-22 16:17:50.0 +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" 
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



___
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


Re: [Devel] MM4 MMSC interworking

2007-01-30 Thread Deon van der Merwe

Hi Vincent,

On 1/28/07, Vincent CHAVANIS <[EMAIL PROTECTED]> wrote:

This is an update of my previous message,
This should fix the duplicate entry header for the X-Mms-Message-Type.



Working 100%- thanks allot.
___
Devel mailing list
Devel@mbuni.org
http://lists.mbuni.org/mailman/listinfo/devel


Re: [Devel] MM4 MMSC interworking

2007-01-28 Thread Vincent CHAVANIS

This is an update of my previous message,
This should fix the duplicate entry header for the X-Mms-Message-Type.


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.0 +0100
+++ /mbuni/mmlib/mms_msg.c  2007-01-22 16:17:50.0 +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_remove_all(m->headers, "X-Mms-Message-Type");
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: "Vincent CHAVANIS" <[EMAIL PROTECTED]>
To: "Deon van der Merwe" <[EMAIL PROTECTED]>; "Mbuni MMS Gateway 
Developers" 

Sent: Saturday, January 27, 2007 4:17 PM
Subject: Re: [Devel] MM4 MMSC interworking



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.0 +0100
+++ /mbuni/mmlib/mms_msg.c  2007-01-22 16:17:50.0 +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" 
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




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


Re: [Devel] MM4 MMSC interworking

2007-01-27 Thread Vincent CHAVANIS

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.0 +0100
+++ /mbuni/mmlib/mms_msg.c  2007-01-22 16:17:50.0 +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" 
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