Hi all,
I'm trying to use mbuni to deliver mms (jpeg images) to registered
mobiles.
I've configured kannel to work properly (it sends sms, and mms
notifications), but I cannot configure mbuni to send the actual MMS.
Probably I've not get the point in configuring mbuni:
- do I have to use mmsrelay? mmsproxy? mmsbox?
- do I have to use smsbox? wapbox?
when I send a MMS to my mobile phone I get a notification SMS, but
when I try to download it I get that "It's impossible to download the
message" it says that the multimedia message service center (MMSC?)
hasn't accepted the message...
I'm using a external gprs module (SIMCOM 5210) attached via serial line.
I do not know if this helps:
- I'm using a SIM by italian provider TIM
Thank you all for your help and time.
Luca.
here are my conf files:
-----------
kannel.conf
-----------
group = core
admin-port = 13000
admin-password = admin
status-password = stat
smsbox-port = 13003
wapbox-port = 13004
wdp-interface-name = "*" #dlr-storage = mysql
log-file = "/var/log/kannel/kannel.log"
access-log = "/var/log/kannel/access.log"
log-level = 1s unified-prefix =
"+39,0039,0;+,00" #store-type =
spool #store-location =
/var/spool/kannel #admin-deny-ip =
"" admin-allow-ip =
"127.0.0.1;192.168.31.113" #http-proxy-host =
"127.0.0.1" #http-proxy-port =
8080 #http-proxy-exceptions =
"127.0.0.1" #http-proxy-username =
"user" #http-proxy-password =
"password" #ssl-certkey-file =
"mycertandprivkeyfile.pem"
# Smsbox related
group = smsbox
bearerbox-port = 13003 sendsms-port = 13013 global-sender =
3923107007
log-file = "/var/log/kannel/smsbox.log"
log-level = 0 bearerbox-host =
"192.168.31.113" sendsms-chars = "1234567890 +-"
#white-list = "http://127.0.0.1/white-list.txt"
#black-list = "http://127.0.0.1/black-list.txt"
#store-type = spool
#store-location = /var/spool/kannel
#store-file = "/etc/kannel/kannel.store"
# Wapbox related
group = wapbox
bearerbox-host = "192.168.31.113"
map-url = "http://mmsc/* http://192.168.31.113:31005/*"
#map-url = "http://mms.tim.it"
#udp-deny-ip = "*.*.*.*"
#udp-allow-ip = "127.0.0.1"
include = /etc/kannel/modems.conf
# SMSC CONNECTIONS - GLOBAL FIELDS
#group = smsc
#smsc =
#smsc-id = ID
#denied-smsc-id = "X;Y"
#allowed-smsc-id = "Z"
#preferred-smsc-id = "W"
#allowed-prefix = "040;050"
#denied-prefix = "060;070"
#alt-charset =
# SMSC Nokia CIMD2
#group = smsc #smsc = cimd2 #host = #port =
#smsc-username = #smsc-password = #keepalive = #sender-prefix =
# SMSC EMI
#group = smsc
#smsc = emi2
#smsc = emi_ip to use the old implementation
#host = #port
= #smsc-username
= #smsc-password
= #device =
/dev/ #phone
= #our-port
= #receive-port
= #connect-allow-ip
= #keepalive =
#flow-control =
# SMSC SMPP
#group = smsc
#smsc = smpp
#host = #port = #receive-port =
#smsc-username =
#smsc-password =
#system-type = #address-range =
# SMSC SEMA
#group = smsc
#smsc = sema
#device = /dev/tty0
#smsc_nua = (X121 smsc address)
#home_nua = (x121 radio pad address)
#wait_report = 0/1 (0 means false, 1 means true)
# SMSC OIS
#group = smsc
#smsc = ois #host = 103.102.101.100
#port = 10000 #receive-port = 10000 #ois-debug-level = 0
# SMSC GSM
group = smsc
smsc = at modemtype = auto
#modemtype = wavecom | premicell | siemens | siemens-tc35 | falcom |
nokiaphone | ericsson
device = /dev/ttyUSB0
speed = 115200
pin = 4747
#validityperiod = 167
# SMSC Fake
#group = smsc
#smsc = fake
#host = #port = #connect-allow-ip =
# SMSC HTTP
#group = smsc
#smsc = http
#system-type = kannel
#send-url = #port = #connect-allow-ip = #username
= #password =
# SEND-SMS USERS
group = sendsms-user
username = tester password = foobar concatenation = true
max-messages = 5 #user-deny-ip = "" #user-allow-ip = ""
# this sender is for Kannel relay testing (http_smsc)
group = sendsms-user
username = kannel password = rL4y user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"
#name = service_kannel #forced-smsc = ID
#default-smsc = ID
#faked-sended =
#max-messages = 1
#concatenation = 1
#split-chars =
#split-suffix =
#omit-empty =
#header =
#footer =
#allowed-prefix =
#denied-prefix =
#white-list =
#black-list =
# SMS SERVICES
#group = sms-service
#name = nothing
#keyword = nop
#aliases = "noppy;niente"
#text = "You asked nothing and I did it!"
#get-url = "http://"
#post-url = "http://"
#file = ""
#accepted-smsc = ID
#allowed-prefix =
#denied-prefix =
#catch-all = false
#send-sender = false
#strip-keyword = false
#faked-sender =
#max-messages = 1
#accept-x-kannel-headers = false
#assume-plain-text = false
#concatenation = false
#split-chars =
#split-suffix = "+"
#omit-empty = true
#header =
#footer =
#prefix =
#suffix =
#white-list =
#black-list =
# SMS SERVICE GET-URL EXAMPLE
#group = sms-service
#keyword = relay
#get-url =
"http://localhost/service?phone=%p&text=%r&binary=%b&smsc=$i&time=%t
# SMS SERVICE black-list
#group = sms-service
#keyword = black-list
#text = "You are not alowed to use this service, Go away!"
# SMS SERVICE Default
# there should be default always
group = sms-service
keyword = default
text = "No service specified"
---------
mmsc.conf
---------
group = core
log-file = /var/log/mbuni/mmsc.log
access-log = /var/log/mmsc/access.log
log-level = 0
group = mbuni
name = "My MMSC"
hostname = mms.tim.it
host-alias = mmsc
local-prefixes = +39
storage-directory = /var/spool/mbuni
max-send-threads = 5
send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'
unified-prefix = "039,39"
maximum-send-attempts = 50
default-message-expiry = 360000
queue-run-interval = 5
send-attempt-back-off = 300
sendsms-url = http://192.168.31.113:13013/cgi-bin/sendsms
sendsms-username = tester
sendsms-password = foobar
mms-port = 1981
mm7-port = 1982
#allow-ip = 127.0.0.1
#email2mms-relay-hosts = "mbuni.org;dsmagic.com;ds.co.ug"
#billing-module-parameters = "/tmp/log/cdr.log"
# billing-library = billdemo.so
#prov-server-notify-script = ~/src/mmprov/provnotify.sh
#prov-server-sub-status-script = ~/src/mmprov/rcptstatus.sh
content-adaptation = true
notify-unprovisioned = yes
mms-notify-text = "You have received a multimedia message from %S, go
to XXX to view it"
mms-notify-unprovisioned-text = "This is a test"
#mms-to-email-txt = "This is a multimedia message (HTML suppressed)"
#mms-to-email-html = "This is a multimedia message powered by
<emph>Digital Solutions</emph>"
#mms-to-email-default-subject = "This is a multimedia message"
mms-message-too-large-txt = "You have received a multimedia message
from %S that is too large for your phone. Go to xxx to view it"
strip-prefixes = "1;2"
group = mmsc
id = tim
mmsc-url = http://10.216.59.240:10021/mmsc
type = eaif
#group = mms-vasp
#vasp-id = tim
#type = soap
#short-code = 111
#vasp-username = mbuni
#vasp-password = test
#vasp-url = http://mms.tim.it/servlets/mms:80/
group = mmsproxy
name = "tre proxy"
host = wsb.tre.its
allowed-prefix = "+39"
_______________________________________________
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users