Hello
I want to reiceve and store the MMS that arrived in a my Database Mysql,
but I have this problem in Mbuni :
When the MMS arrived kannel work the MMS like a SMS and store in the DB
like " application/vnd.wap.mms-message ".

Why kannel or Mbuni work so?

Below the configuration files.

Thank you
Bye


*Kannel config*

group = core
admin-port = 13000
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
admin-allow-ip = ""
log-file = "/tmp/kannel.log"
log-level = 0
#access-log = "access.log"
#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
smsbox-port = 13001
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "00358,0"
#white-list = "http://127.0.0.1/white-list.txt";
#black-list = "http://127.0.0.1/black-list.txt";
#store-file = "kannel.store"
# Wapbox related
wapbox-port = 13002
#udp-deny-ip = "*.*.*.*"
#udp-allow-ip = "127.0.0.1"
#wdp-interface-name = "*"

# WAPBOX
group = wapbox
bearerbox-host = localhost
map-url =  http://mms.vodafone.it
log-file = "/var/log/wapbox.log"
log-level = 0
syslog-level = none



#---------------------------------------------
# SMSC CONNECTIONS
#
# SMSC connections are created in bearerbox and they handle SMSC specific
# protocol and message relying. You need these to actually receive and send
# messages to handset, but can use GSM modems as virtual SMSCs
#
#
# This is a fake smsc connection, _only_ used to test the system and
services.
# It really cannot relay messages to actual handsets!
#
#group = smsc
#smsc = fake
#smsc-id = FAKE
#port = 10000
#connect-allow-ip = 127.0.0.1
#
#---------------------------------------------
# SMSBOX SETUP
#
# Smsbox(es) do higher-level SMS handling after they have been received from
# SMS centers by bearerbox, or before they are given to bearerbox for
delivery

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
#global-sender = 13013
#sendsms-chars = "0123456789 +-"
log-file = "/etc/kannel/log/smsbox.log"
log-level = 0
#access-log = "/tmp/access.log"

#---------------------------------------------
# SEND-SMS USERS
#
# These users are used when Kannel smsbox sendsms interface is used to
# send PUSH sms messages, i.e. calling URL like
#
http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar...
#
http://127.0.0.1:13013/cgi-bin/sendsms?username=tester&password=foobar&to=3921776176&text=ciccio

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""

#---------------------------------------------
# SERVICES
#
# These are 'responses' to sms PULL messages, i.e. messages arriving from
# handsets. The response is based on message content. Only one
sms-service is
# applied, using the first one to match.

group = sms-service
keyword =
catch-all = true
max-messages=0
#omit-empty = true
concatenation = true
get-url = "http://localhost/smsd.php?to=%p&text=%a&from=%P&sent=%t&smsc=%i";


*Mbuni config*

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

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

group = mmsc
id = local
mmsc-url = http://mbuni:t...@localhost:1982/soap
incoming-username = user
incoming-password = pass
incoming-port = 12345
type = soap

group = mms-service
name = me
post-url = http://localhost/~bagyenda/test-mbuni.php
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 = me
post-url = http://localhost/photo.php
catch-all = true
http-post-parameters = fx=true&images[]=%i&text[]=%t
accept-x-mbuni-headers = true
keyword =


#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



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

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

group = mmsc
id = local
mmsc-url = http://mbuni:t...@localhost:1982/soap
incoming-username = user
incoming-password = pass
incoming-port = 12345
type = soap

group = mms-service
name = me
post-url = http://localhost/~bagyenda/test-mbuni.php
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 = me
post-url = http://localhost/photo.php
catch-all = true
http-post-parameters = fx=true&images[]=%i&text[]=%t
accept-x-mbuni-headers = true
keyword = 


#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


group = core
admin-port = 13000
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
admin-allow-ip = ""
log-file = "/tmp/kannel.log"
log-level = 0
#access-log = "access.log"
#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
smsbox-port = 13001
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "00358,0"
#white-list = "http://127.0.0.1/white-list.txt";
#black-list = "http://127.0.0.1/black-list.txt";
#store-file = "kannel.store"
# Wapbox related
wapbox-port = 13002
#udp-deny-ip = "*.*.*.*"
#udp-allow-ip = "127.0.0.1"
#wdp-interface-name = "*"

# WAPBOX
group = wapbox
bearerbox-host = localhost
map-url =  http://mms.vodafone.it
log-file = "/var/log/wapbox.log"
log-level = 0
syslog-level = none



#---------------------------------------------
# SMSC CONNECTIONS
#
# SMSC connections are created in bearerbox and they handle SMSC specific
# protocol and message relying. You need these to actually receive and send
# messages to handset, but can use GSM modems as virtual SMSCs
#
#
# This is a fake smsc connection, _only_ used to test the system and services.
# It really cannot relay messages to actual handsets!
#
#group = smsc
#smsc = fake
#smsc-id = FAKE
#port = 10000
#connect-allow-ip = 127.0.0.1
#
#---------------------------------------------
# SMSBOX SETUP
#
# Smsbox(es) do higher-level SMS handling after they have been received from
# SMS centers by bearerbox, or before they are given to bearerbox for delivery

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
#global-sender = 13013
#sendsms-chars = "0123456789 +-"
log-file = "/etc/kannel/log/smsbox.log"
log-level = 0
#access-log = "/tmp/access.log"

#---------------------------------------------
# SEND-SMS USERS
#
# These users are used when Kannel smsbox sendsms interface is used to
# send PUSH sms messages, i.e. calling URL like
# http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar...
# 
http://127.0.0.1:13013/cgi-bin/sendsms?username=tester&password=foobar&to=3921776176&text=ciccio

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""

#---------------------------------------------
# SERVICES
#
# These are 'responses' to sms PULL messages, i.e. messages arriving from
# handsets. The response is based on message content. Only one sms-service is
# applied, using the first one to match.

group = sms-service
keyword =
catch-all = true
max-messages=0
#omit-empty = true
concatenation = true
get-url = "http://localhost/smsd.php?to=%p&text=%a&from=%P&sent=%t&smsc=%i";

_______________________________________________
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to