|
List Info
Thread: MM4 MMSC interworking
|
|
| MM4 MMSC interworking |

|
2007-01-26 11:17:28 |
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
|
|
| Re: MM4 MMSC interworking |

|
2007-01-28 12:06:18 |
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.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_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" <vincent telemaque.fr>
To: "Deon van der Merwe" <deonvandermerwe gmail.com>; "Mbuni MMS Gateway
Developers" <devel mbuni.org>
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.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"
<deonvandermerwe gmail.com>
> 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
>
_______________________________________________
Devel mailing list
Devel mbuni.org
http://
lists.mbuni.org/mailman/listinfo/devel
|
|
| Re: MM4 MMSC interworking |

|
2007-01-30 09:35:31 |
Hi Vincent,
On 1/28/07, Vincent CHAVANIS <vincent telemaque.fr> 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: MM4 MMSC interworking |

|
2007-01-30 11:07:06 |
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.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_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"
> <vincent telemaque.fr>
> To: "Deon van der Merwe"
<deonvandermerwe gmail.com>; "Mbuni MMS
> Gateway Developers" <devel mbuni.org>
> 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.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"
>> <deonvandermerwe gmail.com>
>> 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
>
>
> _______________________________________________
> 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: MM4 MMSC interworking |

|
2007-01-30 11:21:49 |
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 <bagyenda dsmagic.com> 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
|
|
[1-5]
|
|