First cause of problems:

Your web server is reporting the content type of the MMS as text/ plain. It should report application/vnd.wap.mms-message

 Second issue:
   Problem in Mbuni, bug. Fixed in CVS.

P.

On Nov 27, 2007, at 01:20, Nis - Kannel wrote:

Sure thing.
I have attached 4 log files and one MMS file.
The MMS is encoded using MMS decoder, http://heyman.info/ mmsdecoder.php

I 'am trying to parse the MMS file into mmsbox using:
http://192.168.1.1:13013/cgi-bin/sendmms?username=username&password=password
&from=87654321&to=12345678&subject=Test&content-url=http%3A// sms.domainname.
com/multi.mms
And from there into my own MMSC and on to my client mobile phone.

I can't get access to my 3G mobile provider's MMSC when running a VAS
gateway, so I have to try using mm7 with mmsproxy and mmsrelay.

Excuse me for not using the correct terminology.

/Nis

-----Original Message-----
From: P. A. Bagyenda [mailto:[EMAIL PROTECTED]
Sent: 26. november 2007 17:19
To: Nis - Kannel
Subject: Re: Kannel, gwlib and Mbuni problem

Can you send me the MM7 packet you are sending? That appears to be the
problem. Also would help if you could explain what you're trying to do.

Paul.

On Nov 26, 2007, at 14:08, Nis - Kannel wrote:

Maybe I 'am in over my head here, but I'll try anyway.

I have used Kannel for some years now and lately trying to get Mbuni
working
as well.
Mbuni, mbuni.org, is a MMS gateway for those who don't know it.

Using Kannel 1.4.1 stable version, released in the Gentoo portage
tree and
Mbuni 1.30 self compiled, leaves me with the same problem as anybody
else.
When using the mmsproxy in the this setup, it crashes every time it
enters
mm7dispatch.

From asking the Mbuni user mail list, the answer is a problem with
Kannel
1.4.1's gwlib.
I browsed their mail list archives and it seems to be a general
problem.

Now, I don't have the necessary skills to solve the problem, but I can
provide some information for starts.
So I anybody involved in the development of Kannel will either "pick
up the
glove" or point towards a solution to this problem, many Mbuni users
will be
affected.

I have pasted some mbuni-mmsc log lines and a part of the Kannel
gwlib/octstr.c file below

Thank you!

/Nis

Mbuni-mmsc log
--------------
DEBUG:  --> Enterred mm7dispatch interface, mreq=[Ok]
mtype=[SubmitReq] <--
PANIC: gwlib/octstr.c:2447: seems_valid_real: Assertion `ostr != NULL'
failed. (Called from gwlib/octstr.c:661:octstr_base64_to_binary.)
PANIC: gwlib/octstr.c:2447: seems_valid_real: Assertion `ostr != NULL'
failed. (Called from gwlib/octstr.c:661:octstr_base64_to_binary.)
PANIC: /usr/local/bin/mmsproxy(gw_panic+0x101) [0x808e8e1]
PANIC: /usr/local/bin/mmsproxy [0x8091855]
PANIC: /usr/local/bin/mmsproxy(octstr_base64_to_binary+0x25)
[0x8092d75]
PANIC: /usr/local/bin/mmsproxy(unbase64_mimeparts+0x100) [0x806f9e0]
PANIC: /usr/local/bin/mmsproxy(mms_frommime+0x72) [0x80624d2]
PANIC: /usr/local/bin/mmsproxy(mm7_soap_to_mmsmsg+0x1ab) [0x8072cdb]
PANIC: /usr/local/bin/mmsproxy [0x805b05b]
PANIC: /usr/local/bin/mmsproxy [0x8085b80]
PANIC: /lib/libpthread.so.0 [0xb7c9d18b]
PANIC: /lib/libc.so.6(clone+0x5e) [0xb7a9804e]

gwlib/octstr.c
--------------
static void seems_valid_real(const Octstr *ostr, const char
*filename, long
lineno,
                           const char *function) {
  gw_assert(immutables_init);
  gw_assert_place(ostr != NULL, ( !!! LINE 2447 !!! )
                  filename, lineno, function);
  gw_assert_allocated(ostr,
                      filename, lineno, function);
  gw_assert_place(ostr->len >= 0,
                  filename, lineno, function);
  gw_assert_place(ostr->size >= 0,
                  filename, lineno, function);
  if (ostr->size == 0) {
      gw_assert_place(ostr->len == 0,
                      filename, lineno, function);
      gw_assert_place(ostr->data == NULL,
                      filename, lineno, function);
  } else {
      gw_assert_place(ostr->len + 1 <= ostr->size,
                      filename, lineno, function);
      gw_assert_place(ostr->data != NULL,
                      filename, lineno, function);
        if (!ostr->immutable)
          gw_assert_allocated(ostr->data,
                              filename, lineno, function);
      gw_assert_place(ostr->data[ostr->len] == '\0',
                      filename, lineno, function);
  }
}


--
Denne meddelelse er blevet skannet for virus og farligt indhold
af MailScanner, og er fundet ufarlig.
<mmsc-access.log><mbuni-mmsc.log><mmsbox.log><mmsbox- access.log><multi.mms>

_______________________________________________
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to