Your best bet would be to point content-url to a multipart/mixed message formatted correctly. This should work. How exactly are you calling mmsbox to cause the crash?
On 10/24/07, qwerty <[EMAIL PROTECTED]> wrote: > > Hi to all, > > I need to send two files, a image and a text file, as a VAS. Is that > posible using content-url? > > I've trying sending a file to content-url like this: > > --===============0337595869== > Content-Type: text/plain; charset="us-ascii" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > > Esta es la tierra > --===============0337595869== > Content-Type: image/bmp > MIME-Version: 1.0 > > Content-Transfer-Encoding: base64 > > iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAAARnQU1BAACx > ... > FZNZtj+rrOV8QX3bneLmFc8qlqx7Xdu+9V1N2+Z3C5ZteF3SvPJZ1oIld6Jy68/7JxTvdwlIXKVn > 7lo6dbaio8Tw0VI9+DP/3cP6T3z//wdctPS8B2aEdAAAAABJRU5ErkJggg== > --===============0337595869==-- > > With the headers ok, but it doesn't work, in fact I get this trace from > mmsbox before an assert: > > 2007-10-23 17:17:06 [21082] [5] DEBUG: Queued to thread 0 for > /var/lib/mbuni/spool//mmsbox_outgoing/0/s1/qf4224.1.x82.73, sendt=1193174224, > tnow=1193174226 > 2007-10-23 17:17:06 [21082] [7] DEBUG: WSP: decoding headers: > 2007-10-23 17:17:06 [21082] [7] DEBUG: Octet string at 0x815a8a0: > 2007-10-23 17:17:06 [21082] [7] DEBUG: len: 45 > 2007-10-23 17:17:06 [21082] [7] DEBUG: size: 46 > 2007-10-23 17:17:06 [21082] [7] DEBUG: immutable: 0 > 2007-10-23 17:17:06 [21082] [7] DEBUG: data: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d > 3d 3d 3d 3d 30 33 ==============03 > 2007-10-23 17:17:06 [21082] [7] DEBUG: data: 33 37 35 39 35 38 36 39 3d 3d > 0a 43 6f 6e 74 65 37595869==.Conte > 2007-10-23 17:17:06 [21082] [7] DEBUG: data: 6e 74 2d 54 79 70 65 3a 20 74 > 65 78 74 nt-Type: text > 2007-10-23 17:17:06 [21082] [7] DEBUG: Octet string dump ends. > 2007-10-23 17:17:06 [21082] [7] WARNING: Skipping faulty header. > 2007-10-23 17:17:06 [21082] [7] WARNING: Parse error reading mime body > [hlen=45, dlen=61, left=33730]! > 2007-10-23 17:17:06 [21082] [7] ERROR: mms_queue_getdata: Failed to decode > data file for queue entry qf4224.1.x82.73 > in /var/lib/mbuni/spool//mmsbox_outgoing > 2007-10-23 17:17:06 [21082] [7] PANIC: mms_msg.c:1216: mms_messagetype: > Assertion `msg' failed. > 2007-10-23 17:17:06 [21082] [7] PANIC: ./mmsbox(gw_panic+0xdc) [0x80899ec] > 2007-10-23 17:17:06 [21082] [7] PANIC: ./mmsbox(mms_messagetype+0x4f) > [0x805bd2f] > 2007-10-23 17:17:06 [21082] [7] PANIC: ./mmsbox [0x8059912] > 2007-10-23 17:17:06 [21082] [7] PANIC: ./mmsbox [0x80610f6] > 2007-10-23 17:17:06 [21082] [7] PANIC: ./mmsbox [0x8080b70] > 2007-10-23 17:17:06 [21082] [7] PANIC: /lib/libpthread.so.0 [0xb7e2b294] > 2007-10-23 17:17:06 [21082] [7] PANIC: /lib/libc.so.6(__clone+0x5e) > [0xb7c8932e] > > Thanks, > Angel > > > > _______________________________________________ > Users mailing list > Users@mbuni.org > http://lists.mbuni.org/mailman<http://lists.mbuni.org/mailman/listinfo/users> > /listinfo/users <http://lists.mbuni.org/mailman/listinfo/users> > >
_______________________________________________ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users