Re: [Users] mmsbox mmsc via cell phone

2009-09-07 Thread Paul Bagyenda

Use the HTTP sendmms interface. See the sample script I sent earlier.
On Sep 03, 2009, at 04:17, Ben Hardill wrote:


Hi Paul.

Thanks for the reply. I think your right and I am a little confused  
about what I need here.


At the moment I'm just looking to send mms messages, but later  
receiving would be good.


I had started mmsbox with the conf file I attached earlier

mmsbox /user/local/etc/mbuni/mmsc.conf

which spits out a bunch of debug statement but stays running.

So assuming I have compiled the extra library correctly and got all  
the custom options right, how am I supposed to let mmsbox I have a  
message I want to send? I was using mmsend as I couldn't see another  
way to inject the message into the system.


Thanks,

Ben


From: Paul Bagyenda 
Subject: Re: [Users] mmsbox mmsc via cell phone
To: users@mbuni.org
Message-ID: <84357aa7-5846-4d62-96a4-3e142fbd5...@dsmagic.com>
Content-Type: text/plain; charset="us-ascii"

Hi,

 If you want to send/receive with a GPRS modem, you want to use
mmsbox. mmssend belongs to the MMSC component. A little confusing I
know, but the two modes of operation are different for good reasons.

 There is a module in the extras/ folder that you want to use, to set
up a connection (via modem) to the operator mmsc.

Paul.
___
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


Re: [Users] mmsbox mmsc via cell phone

2009-09-02 Thread Ben Hardill
Hi Paul.

Thanks for the reply. I think your right and I am a little confused about
what I need here.

At the moment I'm just looking to send mms messages, but later receiving
would be good.

I had started mmsbox with the conf file I attached earlier

mmsbox /user/local/etc/mbuni/mmsc.conf

which spits out a bunch of debug statement but stays running.

So assuming I have compiled the extra library correctly and got all the
custom options right, how am I supposed to let mmsbox I have a message I
want to send? I was using mmsend as I couldn't see another way to inject the
message into the system.

Thanks,

Ben



> From: Paul Bagyenda 
> Subject: Re: [Users] mmsbox mmsc via cell phone
> To: users@mbuni.org
> Message-ID: <84357aa7-5846-4d62-96a4-3e142fbd5...@dsmagic.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi,
>
>  If you want to send/receive with a GPRS modem, you want to use
> mmsbox. mmssend belongs to the MMSC component. A little confusing I
> know, but the two modes of operation are different for good reasons.
>
>  There is a module in the extras/ folder that you want to use, to set
> up a connection (via modem) to the operator mmsc.
>
> Paul.
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


Re: [Users] mmsbox mmsc via cell phone

2009-09-01 Thread Paul Bagyenda

Hi,

 If you want to send/receive with a GPRS modem, you want to use  
mmsbox. mmssend belongs to the MMSC component. A little confusing I  
know, but the two modes of operation are different for good reasons.


 There is a module in the extras/ folder that you want to use, to set  
up a connection (via modem) to the operator mmsc.


Paul.

On Sep 02, 2009, at 04:07, Ben Hardill wrote:


Hi,

I've been looking at the docs and the example mmsbox.conf in the doc/ 
examples dir and the previous mailing list post but I don't seam to  
be able to send a test MMS message.


I have a Kannel up and running, I can send and receive SMS messages,  
I also have a ppp working to bring up a 3G or gprs connection using  
the MMS apn.


When I try to use mmssend to test I don't see it disconnecting the  
smsbox or it trying to start ppp.


Any pointers would be great.

I've been trying to test with the following command:

mmssend -f +447 -t +4477xxx -m ~/test.mms /usr/local/etc/ 
mbuni/mmsbox.conf


Where ~/test.mms is a text file containing something like this:

Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="==UUD_=_1251645058"

--==UUD_=_1251645058
Content-Type: image/jpeg
Content-Transfer-Encoding: Base64
Content-Disposition: attachment; filename="DSC00072.JPG"

/9j/ 
4Rl9RXhpZgAASUkqAAgKAA8BAgAOhgAAABABAgAGpgAAABIBAwABAQAA

ABoBBQAB3gAAABsBBQAB5gAAACgBAwABAgAAADEBAgAotgAAADIBAgAU
..
Oo4p504MOB09qaTHq1sUzYnfg9vapvsufvnOKbnaBnCnJyP/2Q==


--==UUD_=_1251645058
Content-Type: text/plain
Content-Disposition: attachment; filename="test.txt"

HelloWorld

--==UUD_=_1251645058--



My mmsbox conf looks like this:

group = core
log-file = /var/log/kannel/mmsbox.log
access-log = /var/log/kannel/mmsbox-access.log
log-level = 0

group = mbuni
storage-directory = /usr/local/var/spool/mbuni
max-send-threads = 5
maximum-send-attempts = 50
default-message-expiry = 36
queue-run-interval = 5
send-attempt-back-off = 300
sendmms-port = 10001



# Sample conf for MMSBox using a modem (MM1)
group = mmsc
id = modem
type = custom
custom-settings = "smsc-on=lynx -dump 'http://localhost:13000/start-smsc?password=bar&smsc=w880i';smsc-off=lynx 
 -dump 'http://localhost:13000/stop-smsc?password=bar&smsc=w880i';gprs-on=/sbin/ifup 
 ppp0;gprs-pid=cat /var/run/ppp0.pid|head -1;port=13014;mmsc-url=http://mmsc.mms.o2.co.uk:8002 
;proxy=193.113.200.195:8080;msisdn=100"

mmsc-library = /usr/local/lib/libmmsbox_mm1.so
allowed-prefix = "+44"


group = mms-service
name = me
post-url = http://localhost:8080/sms/mms
catch-all = true
http-post-parameters = fx=true&images[]=%i&text[]=%t&skip=1
accept-x-mbuni-headers = true
pass-thro-headers = X-NOKIA-MMSC-Charging,X-NOKIA-MMSC-Charged-Party
keyword = test
omit-empty = no
suppress-reply = true
service-code = regular

group = mms-service
name = fullmessage
get-url = http://localhost/images/apache_pb.gif
# http-post-parameters = fx=true&image=%i&text=%t
accept-x-mbuni-headers = true
keyword = thixs

group = send-mms-user
username = tester
password = foobar
faked-sender = 100


___
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