Hello,
I'm Nuno, and I been trying to use Mbuni.

I have a GSM/GPRS modem whit a MMSable SIM card connected to Linux machine
that is able to receive and send SMS messages.
I'm using the latest Mbuni from the CVS and I was able to deliver
successfully a WAP Push notification, although the download of the MMS
failed.
My primary goal is to receive the MMS on the computer thru the GSM modem.
Kannel do get the notification but from the mbuni side no reaction is
visible.
I am trying to run the mmsbox but I keep getting this Error on the logs

ERROR: mmsbox_cfg.c:606 <start_mmsc_from_conf> [mmsbox] [n/a] failed to load
MMSC libary functions from module!

I think is easy to point the origin of the error in the config file
mmsbox.conf on the field mmsc-library that is commented
[...]
# Sample conf for MMSBox using a modem (MM1)
group = mmsc
id = modem
type = custom
custom-settings = "smsc-on=lynx -dump
'http://localhost:13013/start-smsc?password=nabia&smsc=siemens_tc35';smsc-of
f=lynx -dump
'http://localhost:13013/stop-smsc?password=nabia&smsc=siemens_tc35';gprs-on=
/usr/local/sbin/start-net-gprs;gprs-pid=cat /var/run/ppp-net.pid|head
-1;port=13013;mmsc-url=http://net.mmsc/servlets/mms;proxy=10.11.12.13:8080;m
sisdn=100"
#mmsc-library = /usr/local/lib/libmmsbox_mm1.so
[...]

But I can't find libmmsbox_mm1.so anywhere, neither a way to build it.
Would like any advice you can give.
Another thing I would like to ask is if I do need a pppd connection if I
only need to receive MMS.

Thanks for reading and in advance for any help you can give.


Here goes the configurations files
-----------
mmsbox.conf
-----------

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

group = mbuni
storage-directory = /xxx/xxx/storage
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 = xxxx
#incoming-password = xxxx
#incoming-port = 10002 
#type = soap

# Sample conf for MMSBox using a modem (MM1)
group = mmsc
id = modem
type = custom
#type = eaif
custom-settings = "smsc-on=lynx -dump
'http://localhost:13013/start-smsc?password=nabia&smsc=siemens_tc35';smsc-of
f=lynx -dump
'http://localhost:13013/stop-smsc?password=nabia&smsc=siemens_tc35';gprs-on=
/usr/local/sbin/start-net-gprs;gprs-pid=cat /var/run/ppp-net.pid|head
-1;port=13013;mmsc-url=http://net.mmsc/servlets/mms;proxy=10.11.12.13:8080;m
sisdn=100"
#mmsc-library = /usr/local/lib/libmmsbox_mm1.so


#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 = 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 = mms-service
name = fullmessage
get-url =
http://xxx.xxx.xxx.xxx:xx/xxx/xxx?epochtime=%T&sender=%p&text=%a&charset=%C&;
encoding=%c&udh=%u
catch-all = true
# http-post-parameters = fx=true&image=%i&text=%t
accept-x-mbuni-headers = true
keyword =* 

group = send-mms-user
username = xxxx 
password = xxxx
faked-sender = 100

#end of mmsbox.conf


-----------
kannel.conf
-----------
#---------------------------------------------
# CORE
#

group = core
admin-port = 13001
wapbox-port = 13002
admin-password = bar
#admin-deny-ip = "*.*.*.*"
#admin-allow-ip = "127.0.0.1"
smsbox-port = 13005
wdp-interface-name = "*"
log-file = "bearerbox.log"
log-level = 0
#box-deny-ip = "*.*.*.*"
#box-allow-ip = "127.0.0.1"
#dlr-storage = mysql


#---------------------------------------------
# SMSC CONNECTIONS
#


group = smsc
smsc = at
modemtype = auto
device = /dev/ttyS0
speed = 9600
smsc-id = siemens_tc35
my-number = 00351xxxxxxx
connect-allow-ip = "127.0.0.1"
log-file = "smsc.log"
sim-buffering = true
#host = 127.0.0.1
#port = 13013




#---------------------------------------------
# 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 = localhost
sendsms-port = 13013
global-sender = 003519xxxxx
log-file = "smsbox.log"
log-level = 1


#---------------------------------------------
# SEND-SMS USERS
#

group = sendsms-user
username = xxxx
password = xxxx
concatenation = true
max-messages = 10
#user-deny-ip = ""
#user-allow-ip = ""

#---------------------------------------------
# SERVICES
#

group = sms-service
keyword-regex =.*
catch-all = yes
get-url =
http://xxx.xxx.xxx.xxx:xx/xxxx/xxx?epochtime=%T&sender=%p&text=%a&charset=%C
&encoding=%c&udh=%u
max-messages = 0
concatenation = true
#faked-sender = 1234

# There should be always a 'default' service. This service is used when no
# other 'sms-service' is applied.

group = sms-service
keyword = default
#accepted-smsc = "siemenstc35i"
#max-messages = 0
text = "No service specified"

include = "/etc/kannel/wapbox.conf"
## MODEM

include = "/etc/kannel/modems.conf"

#end of Kannel.conf

-----------
modems.conf
-----------


#default modem
group = modems
id = generic
name = "Generic Modem"

group = modems
id = siemens_tc35
name = "Siemens TC35"
detect-string = "SIEMENS"
detect-string2 = "TC35"
#init-string = "AT+CNMI=1,2,0,1,1"
init-string = "AT+CNMI=3,2,0,1,1"
speed = 19200
enable-hwhs = "AT\\Q3"
need-sleep = true

#end of modems.conf

-----------
wapbox.conf
-----------

group = wapbox
bearerbox-host = localhost
log-file = "/var/log/wapbox.log"
log-level = 0
syslog-level = none
timer-freq = 10
map-url = "http://mmsc/* http://localhost:1981/*";

#end of wapbox.conf

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

Reply via email to