Hello Jamo,

To compose MMS check on Nokia MMS forum.

You can also use the HTTP API from Mbuni to send MMS:

# lynx -dump "
http://localhost:10001/?username=altmms&password=altmms&to=+687783548/TYPE=PLMN&subject=Test-MMS&text=MMSTexte";

With a SMIL file:
# lynx -dump "'
http://localhost:13501?username=xxxx&password=xxxx&from=xxxxxxx&to=xxxxxx&subject=teste&smil=http://localhost:84/main-allison.smil
"


The SMIL:

<smil>
<head>
<meta name="title" content="oi2" />
<meta name="author" content="MMS" />
<layout>
<root-layout width="160" height="160" />
<region id="Image" width="160" height="120" left="0" top="0" />
<region id="Text" width="160" height="20" left="0" top="120" />
</layout>
</head>
<body>
<par dur="3s">
<img src="path_to_img" region="Image" />
</par>
</body>
</smil>

Try to look on google and Mbuni list about this



If you want to use Mbuni as a MMS-C you will need a public IP address
because Mbuni will send a Notification to recipient (binary SMS) that will
make the recipient mobile connecting to GPRS/3G network and fetch the MMS
URL that will be something like http://<mbuni_public_ip>:<port>/path/to/mms

If you are using a gprs/3G modem to send your MMS then it is your MMS-C
provider who will deliver MMS to recipient and you don't need public IP
address, recipient mobile will fetch MMS stored on provider's MMS-C.

Regards,

Emmanuel

2011/3/29 jamo njoroge <patja...@gmail.com>

> @emmanuel how do you go about composing the mms's you attached? also do you
> need to have a public ip address to send mms's via a gsm network as i have
> tried sending them but on them from mbuni but on the handset it says,
> "message retrieval failed" what could be the issue?
>
>
> On Tue, Mar 29, 2011 at 9:37 AM, paul mwaniki <paulmw...@gmail.com> wrote:
>
>> sorry friend mbuni is hell on earth,infact i quit a job when i was
>> told to work on mbuni. but i will forward you some helpful documents
>>
>> On Tue, Mar 29, 2011 at 9:21 AM, ranjani kr <ranjani14...@gmail.com>
>> wrote:
>> > Hi All,
>> >
>> > I'm trying to set up MMS gateway.
>> > With the help of some blogs and Mbuni guide I'm able to set mmsc to an
>> > extent. I'm almost near setting mbuni as mmsc but still something is
>> > missing. This is project work of my course but need some guidelines to
>> > finish in time. Can you please take some time to help me with this or
>> guide
>> > me if I'm going wrong
>> >
>> > Here is my mmsc.config file
>> >
>> > group = core
>> > log-file = /tmp/log/mbuni-mmsc.log
>> > access-log = /tmp/log/mmsc-access.log
>> > log-level = 0
>> >
>> > group = mbuni
>> > #name = "My MMSC"
>> > hostname = *.*.*.*
>> > host-alias = mmsc
>> > local-prefixes = +91;037;+25637;25637
>> > storage-directory = /tmp/spool
>> > max-send-threads = 5
>> > #send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'
>> > #unified-prefix = "+25637,037,37"
>> > #maximum-send-attempts = 50
>> > default-message-expiry = 360000
>> > #queue-run-interval = 5
>> > #send-attempt-back-off = 300
>> > sendsms-url = http://*.*.*.*:3001/cgi-bin/sendsms?
>> > sendsms-username = ******
>> > sendsms-password = ******
>> > mms-port = 1981
>> > mm7-port = 1982
>> > optimize-notification-size = true
>> >
>> > group = mmsc
>> > id = local
>> > mmsc-url = http://mbuni:test@localhost:1982/soap
>> > incoming-username = user
>> > incoming-password = pass
>> > incoming-port = 12345
>> > type = soap
>> >
>> > group = mms-vasp
>> > vasp-id = newscorp
>> > type = soap
>> > short-code = 111
>> > vasp-username = mbuni
>> > vasp-password = test
>> > vasp-url = http://user:pass@localhost:12345/
>> >
>> > group = mmsproxy
>> > name = "A test mms proxy"
>> > host = ds.co.ug
>> > allowed-prefix = "+25635"
>> > denied-prefix = "037"
>> >
>> >
>> > Values of hostname, sendsms-username and sendsms-password are the one
>> used
>> > in smskannel.conf.
>> > I dont know if group = mms-vasp and group = mmsproxy is required to send
>> > mms. Also I'm not sure
>> > if type = soap which is used in group = mmsc and in group = mms-vasp.
>> >
>> > I executed the following commands:
>> > mmsproxy /etc/mmsc.conf &
>> >
>> > [root@secondlinux ~]# 2011-03-28 15:24:19 [4989] [0] INFO: Debug_lvl =
>> -1,
>> > log_file = <none>, log_lvl = 0
>> > 2011-03-28 15:24:19 [4989] [0] INFO:
>> > ----------------------------------------
>> > 2011-03-28 15:24:19 [4989] [0] INFO:  Mbuni MMSC Proxy version 1.4.0
>> > starting
>> > 2011-03-28 15:24:19 [4989] [0] INFO: Added logfile
>> `/tmp/log/mbuni-mmsc.log'
>> > with level `0'.
>> > 2011-03-28 15:24:19 [4989] [0] INFO: Started access logfile
>> > `/tmp/log/mmsc-access.log'.
>> > 2011-03-28 15:24:19 [4989] [0] INFO: HTTP: Opening server at port 1981.
>> > 2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 1
>> > (gwlib/fdset.c:poller)
>> > 2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 2
>> > (gwlib/http.c:server_thread)
>> > 2011-03-28 15:24:19 [4989] [0] INFO: HTTP: Opening server at port 1982.
>> > 2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 3
>> > (mmsproxy.c:(gwthread_func_t *)mm7proxy)
>> > 2011-03-28 15:24:19 [4989] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
>> maps
>> > to pid 4989.
>> > 2011-03-28 15:24:19 [4989] [2] DEBUG: Thread 2
>> (gwlib/http.c:server_thread)
>> > maps to pid 4989.
>> > 2011-03-28 15:24:19 [4989] [3] DEBUG: Thread 3
>> (mmsproxy.c:(gwthread_func_t
>> > *)mm7proxy) maps to pid 4989.
>> >
>> >
>> > mmsrelay /etc/mmsc.conf &
>> >
>> > [root@secondlinux ~]# 2011-03-28 15:26:03 [5008] [0] INFO: Debug_lvl =
>> -1,
>> > log_file = <none>, log_lvl = 0
>> > 2011-03-28 15:26:03 [5008] [0] INFO:
>> > ----------------------------------------
>> > 2011-03-28 15:26:03 [5008] [0] INFO:  Mbuni MMSC Relay  version 1.4.0
>> > starting
>> > 2011-03-28 15:26:03 [5008] [0] INFO: Added logfile
>> `/tmp/log/mbuni-mmsc.log'
>> > with level `0'.
>> > 2011-03-28 15:26:03 [5008] [0] INFO: Started access logfile
>> > `/tmp/log/mmsc-access.log'.
>> > 2011-03-28 15:26:03 [5008] [0] INFO: Starting Global Queue Runner...
>> > 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 1
>> > (mmsrelay.c:(gwthread_func_t *)mbuni_global_queue_runner)
>> > 2011-03-28 15:26:03 [5008] [0] INFO: Starting Local Queue Runner...
>> > 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 2
>> > (mmsmobilesender.c:(gwthread_func_t *)receive_push_reply)
>> > 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 3
>> > (mms_queue.c:(gwthread_func_t *)tdeliver)
>> > 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 4
>> > (mms_queue.c:(gwthread_func_t *)tdeliver)
>> > 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 5
>> > (mms_queue.c:(gwthread_func_t *)tdeliver)
>> > 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 6
>> > (mms_queue.c:(gwthread_func_t *)tdeliver)
>> > 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 7
>> > (mms_queue.c:(gwthread_func_t *)tdeliver)
>> > 2011-03-28 15:26:03 [5008] [1] DEBUG: Thread 1
>> (mmsrelay.c:(gwthread_func_t
>> > *)mbuni_global_queue_runner) maps to pid 5008.
>> > 2011-03-28 15:26:03 [5008] [1] DEBUG: Started thread 8
>> > (mmsglobalsender.c:cdr_thread)
>> > 2011-03-28 15:26:03 [5008] [1] DEBUG: Started thread 9
>> > (mms_queue.c:(gwthread_func_t *)tdeliver)
>> > 2011-03-28 15:26:03 [5008] [1] DEBUG: Started thread 10
>> > (mms_queue.c:(gwthread_func_t *)tdeliver)
>> > 2011-03-28 15:26:03 [5008] [7] DEBUG: Thread 7
>> (mms_queue.c:(gwthread_func_t
>> > *)tdeliver) maps to pid 5008.
>> > 2011-03-28 15:26:03 [5008] [5] DEBUG: Thread 5
>> (mms_queue.c:(gwthread_func_t
>> > *)tdeliver) maps to pid 5008.
>> > 2011-03-28 15:26:03 [5008] [6] DEBUG: Thread 6
>> (mms_queue.c:(gwthread_func_t
>> > *)tdeliver) maps to pid 5008.
>> > 2011-03-28 15:26:03 [5008] [10] DEBUG: Thread 10
>> > (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 5008.
>> > 2011-03-28 15:26:03 [5008] [11] DEBUG: Thread 11
>> > (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 5008.
>> > 2011-03-28 15:26:03 [5008] [1] DEBUG: Started thread 11
>> > (mms_queue.c:(gwthread_func_t *)tdeliver)
>> > 2011-03-28 15:26:03 [5008] [3] DEBUG: Thread 3
>> (mms_queue.c:(gwthread_func_t
>> > *)tdeliver) maps to pid 5008.
>> > 2011-03-28 15:26:03 [5008] [4] DEBUG: Thread 4
>> (mms_queue.c:(gwthread_func_t
>> > *)tdeliver) maps to pid 5008.
>> > 2011-03-28 15:26:03 [5008] [2] DEBUG: Thread 2
>> > (mmsmobilesender.c:(gwthread_func_t *)receive_push_reply) maps to pid
>> 5008.
>> > 2011-03-28 15:26:03 [5008] [8] DEBUG: Thread 8
>> > (mmsglobalsender.c:cdr_thread) maps to pid 5008.
>> > 2011-03-28 15:26:03 [5008] [1] DEBUG: Started thread 12
>> > (mms_queue.c:(gwthread_func_t *)tdeliver)
>> > 2011-03-28 15:26:03 [5008] [1] DEBUG: Started thread 13
>> > (mms_queue.c:(gwthread_func_t *)tdeliver)
>> > 2011-03-28 15:26:03 [5008] [9] DEBUG: Thread 9
>> (mms_queue.c:(gwthread_func_t
>> > *)tdeliver) maps to pid 5008.
>> > 2011-03-28 15:26:03 [5008] [12] DEBUG: Thread 12
>> > (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 5008.
>> > 2011-03-28 15:26:03 [5008] [13] DEBUG: Thread 13
>> > (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 5008.
>> >
>> > mmssend -f +919********* -t +919********* -m test.txt -b /etc/mmsc.conf
>> >
>> > 2011-03-28 15:29:11 [5042] [0] INFO: Debug_lvl = -1, log_file = <none>,
>> > log_lvl = 0
>> > 2011-03-28 15:29:11 [5042] [0] INFO:
>> > ----------------------------------------
>> > 2011-03-28 15:29:11 [5042] [0] INFO:  MMSC Message sender runner
>> version
>> > 1.4.0 starting
>> > 2011-03-28 15:29:11 [5042] [0] INFO: Added logfile
>> `/tmp/log/mbuni-mmsc.log'
>> > with level `0'.
>> > 2011-03-28 15:29:11 [5042] [0] INFO: Started access logfile
>> > `/tmp/log/mmsc-access.log'.
>> > 2011-03-28 15:29:11 [5042] [0] DEBUG: Failed to read MIME headers in
>> Octstr
>> > block:
>> > 2011-03-28 15:29:11 [5042] [0] DEBUG: Octet string at 0x9b4e718:
>> > 2011-03-28 15:29:11 [5042] [0] DEBUG:   len:  8
>> > 2011-03-28 15:29:11 [5042] [0] DEBUG:   size: 1024
>> > 2011-03-28 15:29:11 [5042] [0] DEBUG:   immutable: 0
>> > 2011-03-28 15:29:11 [5042] [0] DEBUG:   data: 74 65 73 74 69 6e 67
>> > 0a                           testing.
>> > 2011-03-28 15:29:11 [5042] [0] DEBUG: Octet string dump ends.
>> > 2011-03-28 15:29:11 [5042] [0] PANIC: No Message supplied, or failed to
>> > decode binary data!
>> > 2011-03-28 15:29:11 [5042] [0] PANIC: mmssend(gw_panic+0xc2) [0x8084112]
>> > 2011-03-28 15:29:11 [5042] [0] PANIC: mmssend(main+0x658) [0x80536a8]
>> > 2011-03-28 15:29:11 [5042] [0] PANIC:
>> > /lib/i686/nosegneg/libc.so.6(__libc_start_main+0xe0) [0x4b279f70]
>> > 2011-03-28 15:29:11 [5042] [0] PANIC: mmssend [0x8052f91]
>> >
>> > These are the logs which are appearing on the screen. I'm totally lost
>> and
>> > dont know how to proceed. Please help me with this
>> >
>> > Thank you
>> > Ranjani
>> >
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users@mbuni.org
>> > http://lists.mbuni.org/mailman/listinfo/users
>> >
>> >
>> _______________________________________________
>> Users mailing list
>> Users@mbuni.org
>> http://lists.mbuni.org/mailman/listinfo/users
>>
>
>
> _______________________________________________
> Users mailing list
> Users@mbuni.org
> http://lists.mbuni.org/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to