Re: [Users] MMSBox: MM1 MMSC will not work because you do not have libcurl

2013-08-15 Thread Daniil Egorov
Piotr, thank you, I really appreciate your help.
libcurl problem solved after recompiling from sources.
But now I got other message:

ERROR: bearerbox.c:1679  [MM7] [n/a] Retry later MMSBox
Outgoing Queue MMS Send: From 999/TYPE=PLMN, to 999@unknown, msgsize=559:
internal error, mm1 notify not started!

Documentation says:
"...When the MMSC receives a message destined to MMS Clients in the area
served by the MMSC, the message is stored and an MMS notification sent to
the recipient via WAP Push..."
How to do that? I want to tell mbuni to send notification to mobile.


2013/8/15 Piotr Isajew 

> On Thu, Aug 15, 2013 at 11:54:17AM +0400, Daniil Egorov wrote:
>
> > Questions:
> > 1. What is the best Mbuni protocol for sending mms
> > from server to mobile? I chose MM1 and running Mbuni mmsbox.
>
> MM1 is the correct choice for this usage pattern unless you have
> direct connection to operator's MMSC. In that case use the
> protocol provided by them (MM7 or MM4).
>
> The archictecture for MM1 is that you connect one or more gprs
> modems to mbuni box, then mmsbox initates gprs connection to the
> MMS APN and submits messages to operator's MMSC via MM1 protocol.
>
>
> > 2. Do i need running mmsbox to use sendmms port?
>
> Almost for sure - yes. You use sendmms service to submit messages
> to be sent to mobile.
>
> > 3. Proper configuration for sending mms from mbuni sendmms is
> > VAS gateway.  Am I right?
>
> Yes. mmsbox is the daemon that needs to be running.
>
> >4. What I need to do to have libcurl detected and mmsbox
> >running?
>
> Maybe try recompiling mbuni from sources. Perhaps the .deb
> package you use doesn't include MM1 related stuff.
>
> >5. Is there other way to send mms from SMIL file without using
> >mmsbox and mmssend port?
>
> It is the easiest one to use. Of course on the certain level of
> understanding of mbuni source, you could prepare queue entries
> with an external program and inject them into mmsbox_outgoing
> queue just for sending.
> ___
> 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] MMSBox: MM1 MMSC will not work because you do not have libcurl

2013-08-15 Thread Daniil Egorov
Hello. I'm using Ubuntu 12.04, trying to send MMS to our software base
station.
We will form SMIL on server, and then send it to the phone connected to our
soft-BTS.
I installed Kannel, connected our BTS to Kannel by SMPP, then
installed mbuni_1.5.0-1_i386.deb,
prerequisites, connected Mbuni to Kannel by smssend, config looks normal(mbuni
config is in the attachment).
My python script will send POST request to sendmms-port.
I'm running my BTS, then Kannel, then running *mmsc *- it runs normal.
But now I can't start *mmsbox*, it says I don't have libcurl. I installed
libcurl-dev, and then maked and installed libcurl from sources, but it gave
nothing. Can anyone help me with it?
Here's my log:

digiman@digibuntu:~$ mmsbox /home/digiman/mbuni/mmsc.conf
2013-08-14 15:14:37 [800] [0] INFO: Debug_lvl = -1, log_file = ,
log_lvl = 0
2013-08-14 15:14:37 [800] [0] INFO: Added logfile
`/home/digiman/mbuni/mbuni.log' with level `0'.
2013-08-14 15:14:37 [800] [0] INFO: Started access logfile
`/home/digiman/mbuni/mbuni.access.log'.
2013-08-14 15:14:37 [800] [0] DEBUG: Started thread 1 (mmsbox_cdr.c:(void
*)cdr_logger_func)
2013-08-14 15:14:37 [800] [1] DEBUG: Thread 1 (mmsbox_cdr.c:(void
*)cdr_logger_func) maps to pid 800.
2013-08-14 15:14:37 [800] [0] INFO: HTTP: Opening server at port 10001.
2013-08-14 15:14:37 [800] [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2013-08-14 15:14:37 [800] [0] DEBUG: Started thread 3
(gwlib/http.c:server_thread)
2013-08-14 15:14:37 [800] [0] INFO: mmsbox_cfg.c:699 
[mmsbox] [n/a] Loaded MMSC[local], allow=[(null)], deny=[(null)]
group_id=[local]
2013-08-14 15:14:37 [800] [3] DEBUG: Thread 3 (gwlib/http.c:server_thread)
maps to pid 800.
2013-08-14 15:14:37 [800] [0] PANIC: MMSBox: MM1 MMSC will not work because
you do not have libcurl
2013-08-14 15:14:37 [800] [2] DEBUG: Thread 2 (gwlib/fdset.c:poller) maps
to pid 800.
2013-08-14 15:14:37 [800] [0] PANIC: mmsbox(gw_panic+0xaf) [0x80a268f]
2013-08-14 15:14:37 [800] [0] PANIC: mmsbox() [0x805cfe5]
2013-08-14 15:14:37 [800] [0] PANIC: mmsbox(mms_load_mmsbox_settings+0xb31)
[0x805e001]
2013-08-14 15:14:37 [800] [0] PANIC: mmsbox(main+0x9f) [0x80556cf]
2013-08-14 15:14:37 [800] [0] PANIC:
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0xb721a4d3]

Questions:
1. What is the best Mbuni protocol for sending mms from server to mobile? I
chose MM1 and running Mbuni mmsbox.
2. Do i need running mmsbox to use sendmms port?
3. Proper configuration for sending mms from mbuni sendmms is VAS gateway.
Am I right?
4. What I need to do to have libcurl detected and mmsbox running?
5. Is there other way to send mms from SMIL file without using mmsbox and
mmssend port?

Thank you very much.


mmsc.conf
Description: Binary data
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users