This is correct. You need to tell Mbuni how to start the modem
connection, how to kill it, and if there is a proxy (which is usual)
on the MNO IP network.
On Aug 31, 2009, at 22:41, Nuno Freitas wrote:
Thanks for the answer.
Indeed I didn’t have the Extras compile. At the compiling I didn’t
realize that make did not entered the Extras sub-directories.
Now that I made “make install” in the right directory the lib is now
build.
I also would like to ask about the ‘custom-settings’ for the modem.
I am assuming that the commands ‘start-net-gprs’ is a user script
to make the pppd gprs connection. And the rest of the setting are
related to the gprs connection.
Am I understanding this right??
Thanks for the help.
Nuno Freitas
From: users-boun...@mbuni.org [mailto:users-boun...@mbuni.org] On
Behalf Of Juan Camilo Tamayo
Sent: sexta-feira, 28 de Agosto de 2009 23:22
To: users@mbuni.org
Subject: Re: [Users] Kannel + mbuni + gprs modem
Hello Nuno,
Have you compiled and installed the Extras in the CVS source code of
mbuni (there is where there the library is)
Best Regards!!.
2009/8/28 Nuno Freitas <nuno.frei...@nabiasolutions.com>
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
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users
--
Juan Camilo Tamayo
PATH S.A
Calle 7 sur No. 42-70 Of. 1213
Medellín – Colombia
Tel: +57 4 321 8928 Ext. 103
Cel: +57 3002492249
Fax: +57 4 321 8928 Ext. 102
jctam...@pathsa.com
www.pathsa.com
AVISO: Esta comunicación puede contener información confidencial. Si
el mensaje no iba destinado a Usted o cree que lo ha recibido por
error, por favor, no lo imprima, copie, distribuya o haga uso del
mismo. Por favor, comunique al remitente que ha recibido esta
comunicación por error y elimine la copia recibida. Muchas Gracias.
NOTICE: This communication may contain confidential information. If
you are not the intended recipient, or believe that you have
received this communication in error, please do not print, copy,
retransmit, disseminate, or otherwise use the information. Also,
please indicate to the sender that you have received this
communication in error, and delete the copy you received. Thank you.
_______________________________________________
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