Hi all,
I was trying to configure Mbuni and Kannel to send out a picture MMS from
through a GSM/GPRS modem connected to my local PC to a MMS-enabled phone.
I build Mbuni from the CVS and i included the "libmmsbox_mm1.so" in the build
as shown in this site (http://www.hardill.me.uk/MMS2.html). However, I failed
to send out the MMS and I got an error like the following:
ERROR: bearerbox.c:1525 <sendMsg> [MM7] [n/a] Retry later MMSBox Outgoing Queue
MMS Send: From 100/TYPE=PLMN, to 01XXXXXXXX/TYPE=PLMN, msgsize=116: internal
error, mm1 notify not started!
FYI, I started bearerbox, smsbox and mmsbox and I use the curl command in my
linux machine to send the mms request to the mmsbox. The following are my
config files:
=======================
Kannel bearerbox and smsbox config
=======================
#
#---------------------------------------------
# CORE
#
# There is only one core group and it sets all basic settings
# of the bearerbox (and system). You should take extra notes on
# configuration variables like 'store-file' (or 'store-dir'),
# 'admin-allow-ip' and 'access.log'
group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = bar
admin-allow-ip = "192.168.0.*"
log-file = "/tmp/log/mbuni-mmsc.log"
log-level = 0
box-allow-ip = "192.168.0.*"
access-log = "/tmp/access.log"
store-file = "kannel.store"
#---------------------------------------------
# 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
group = smsc
smsc=at
no-dlr=false
modemtype = wavecom
device = /dev/GSMMODEM
speed = 115200
my-number = 01XXXXXXXX
smsc-id = q24
#--------------------------------------------
#MODEMS
group=modems
id = wavecom
name = Wavecom
detect-string = "WAVECOM"
keepalive-cmd = "AT+CBC;+CSQ;+CMGF=0"
#---------------------------------------------
# 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
mo-recode = true
reply-couldnotfetch =
reply-emptymessage =
log-file = "/tmp/smsbox.log"
log-level = 0
# --------------------------------------------
# WAPBOX SETUP
#
group = wapbox
bearerbox-host = 192.168.0.200
map-url = "http://mmsc/* http://192.168.0.200:1981/*";
#---------------------------------------------
# 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...
group = sendsms-user
username = tester
password = foobar
# ------------------------------------------------
# There should be always a 'default' service. This service is used when no
# other 'sms-service' is applied.
group = sms-service
keyword = default
omit-empty = true
text = ""
get-url = "http://192.168.0.190/ResultPage.aspx?phone=%p&text=%b"
==============
Mbuni mmsbox config
==============
group = core
log-file = /var/log/mmsbox.log
access-log = /var/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 = 120
queue-run-interval = 5
send-attempt-back-off = 300
sendmms-port = 10001
sendsms-url = http://192.168.0.200:13013/cgi-bin/sendsms
sendsms-username = tester
sendsms-password = foobar
group = mmsc
id = modem
type = custom
custom-settings = "smsc-on=lynx -dump
'http://192.168.0.200:13000/start-smsc?password=bar&smsc=q24';smsc-off=lynx
-dump
'http://192.168.0.200:13000/stop-smsc?password=bar&smsc=q24';mmsc-url=http://mms.digi.com.my/servlets/mms;proxy=203.92.128.160;msisdn=100"
mmsc-library = /usr/local/lib/libmmsbox_mm1.so
group = send-mms-user
username = tester
password = foobar
faked-sender = 100
Thanks in advance.
Regards,
Low
_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop
_______________________________________________
Devel mailing list
Devel@mbuni.org
http://lists.mbuni.org/mailman/listinfo/devel