[Users] Fwd: re: failure at startup, no obvious message

2009-11-11 Thread Ben Hardill

Hi,

Thanks Nuno, the suggestion to rebuild libcurl worked (although I had to 
rebuild kannel as well from the ground up to get it all to work).


I think I have everything running again now.

Nuno's posting with the full instructions is very very useful.

Ben

 Original Message 
Subject:re: failure at startup, no obvious message
Date:   Mon, 09 Nov 2009 17:50:57 +
From:   Ben Hardill b.hard...@gmail.com
To: users@mbuni.org



Hi,

I hope this formats better than last time:

r...@x-wing:/usr/local/etc/mbuni# mmsbox -v 0 /usr/local/etc/mbuni/mbuni.conf

2009-11-09 17:46:52 [21113] [0] INFO: Debug_lvl = 0, log_file =none, log_lvl 
= 0

2009-11-09 17:46:52 [21113] [0] INFO: Added logfile 
`/var/log/kannel/mmsbox.log' with level `0'.

2009-11-09 17:46:52 [21113] [0] INFO: Started access logfile 
`/var/log/kannel/mmsbox-access.log'.

2009-11-09 17:46:52 [21113] [1] DEBUG: Thread 1 (mmsbox_cdr.c:(void 
*)cdr_logger_func) maps to pid 21113.

2009-11-09 17:46:52 [21113] [0] DEBUG: Started thread 1 (mmsbox_cdr.c:(void 
*)cdr_logger_func)

2009-11-09 17:46:52 [21113] [0] INFO: HTTP: Opening server at port 10001.

2009-11-09 17:46:52 [21113] [2] DEBUG: Thread 2 (gwlib/fdset.c:poller) maps to 
pid 21113.

2009-11-09 17:46:52 [21113] [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller)

2009-11-09 17:46:52 [21113] [3] DEBUG: Thread 3 (gwlib/http.c:server_thread) 
maps to pid 21113.

2009-11-09 17:46:52 [21113] [0] DEBUG: Started thread 3 
(gwlib/http.c:server_thread)

2009-11-09 17:46:52 [21113] [0] INFO: mmsbox_cfg.c:578start_mmsc_from_conf   
[mmsbox] [n/a] Loaded MMSC[modem], allow=[(null)], deny=[(null)] group_id=[modem]

r...@x-wing:/usr/local/etc/mbuni#


I can't see anything that looks like an error message

Ben

___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


[Users] MMS Sending Problem

2009-11-11 Thread aftab hussain
Hi all,
I am trying to use Mbuni and kannel to Send and Recieve SMS/MMS for
our departmental work. For the time being I am interested in sending MMS to
our faculty and staff. I have found the tutorial of how to send and MMS on
the following link.

 http://thilani.wordpress.com/2009/07/15/running-mbuni-as-a-mmsc/

What I am trying to do is to send MMS notification via kannel and this
notification has MMS retrieval url. The mobile phone receives the MMS
notification but it can't retrieve the MMS. MMS retrieval failed message is
shown on the phone. I can see some thing in the mmsproxy log that the phone
is trying to receive the content but I dont understand whats wrong. I am
using the following configuration.

 mmsc.conf -

group = core
log-level = 0

group = mbuni
name = My MMSC
hostname = my.mbuni.installed.machine/mms

host-alias = my.mbuni.installed.machine/mms/mm1
local-prefixes = +92;
storage-directory = /mms
max-send-threads = 5
maximum-send-attempts = 50
default-message-expiry = 36
queue-run-interval = 5
send-attempt-back-off = 300
sendsms-url =
http://my.kannel.installed.machine:13013/cgi-bin/sendsms?smsc=at;
allow-ip = *.*.*.*
sendsms-username = tester
sendsms-password = foobar
mms-port = 1951
mm7-port = 1952
optimize-notification-size=true
content-adaptation = true
notify-unprovisioned = yes
mms-notify-text = You have received a multimedia message.

here /mms is the directory in my webserver's htdocs directory. I change the
multimetida message settings in the phone and I use specify in the home url
as given below:

homepage = my.mbuni.installed.machine/mms

Can any help me as to what is wrong with my configuration.

Best Regards,

Aftab
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


[Users] Feature request and very small patch

2009-11-11 Thread Ben Hardill

Hi,

Thanks to all the help from Nuno and Paul, I now have my low power 
Ubuntu box sending MMS (I'll look at receiving next, but I think the 
Sony [w880i] I'm using intercepts the WAP push messages before Kannel 
sees them).


In order to get it all working I had to add a small delay after starting 
PPP as Mbuni was trying to send the post before the routing was all up 
and running properly, so I have added the following just after the call 
to start ppp in mmsbox_mm1.c


  if (mm1-gprs_on)

   pid = start_gprs(mm1-gprs_on, mm1-gprs_pid);

   gwthread_sleep(3);   #--- short pause to allow ppp to finish 
setting up the connection

  if (pid  0) {

   mms_warning(0, mmsbox-mm1, NULL,failed to start GPRS connection. 
waiting...);



Now the feature request.

Would it be possible to add an argument to to the MMS submission to 
treat all media as local. e.g. if I put an image into a smil with a 
file:// URL then the content is sent to the MMSC, but if I start with 
http:// then only the URL is sent. I would like to be able to stage 
media on my internal network and have it forwarded as if it was content 
referenced as a file:// URL?


At the moment I'm copying the media to a mount on the machine running 
Mbuni, but I would like to be able to write an app that only talks http 
(client and server) and not need to copy the files.


Just a thought,

Thanks
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


[Users] MM4 help

2009-11-11 Thread Nikos Balkanas
Hi,

I am an mbuni newbie and have just compiled latest mbuni release. I have read 
the documentation (at least tried to :-)) and I am trying to establish an MM4 
- MM4 link between 2 mbunies.

I have configured the following to mbuni1:

group = mmsproxy
name = test proxy
host = x.x.x.x
allowed-prefix = 3069

And in the mmsrelay logs from mbuni1 I am getting:

2009-11-11 17:49:09 [10475] [6] DEBUG: Content-ID: 1940197759
2009-11-11 17:49:09 [10475] [6] DEBUG: WSP: End of decoded headers.
2009-11-11 17:49:09 [10475] [6] INFO: mmsc for 3069xx resolved to: 
x.x.x.x
2009-11-11 17:49:09 [10475] [6] DEBUG: preparing to execute /usr/sbin/sendmail 
-f 'x.x.x.x/TYPE=IPv4' '3069x/type=p...@x.x.x.x' to send to email:
2009-11-11 17:49:10 [10475] [6] INFO: Queued Global Queue MMS Send 
[w-82-qf4247.2.x469.56]: From x.x.x.x/TYPE=IPv4, to 3069x/TYPE=PLMN, 
msgsize=53134: err=(null)

But i am seeing nothing to mbuni2 logs. In mbuni2 I run mmsproxy  mmsrelay.

I have read in the guide something about running mmsfromemail should be called 
from your MTA (SMTP Mailer). I am not doing it. 

2 questions:

1) Does host need to be a DNS fqdn? If it tries to send the email to 
3069/type=p...@x.x.x.x it will fail.
2) Do I need to run mmsfromemail from sendmail for MM4 to work? To do that with 
sendmail I need to configure an email account with shell capabilities. If the 
recipient number changes, how can I specify that? Any example?

Thanks,
Nikos





___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users