I've recently set up kannel & mbuni on a gsm modem (siemens mc35i) and it is able to receive and send sms fine.
But there's some trouble with receiving and sending MMS.
When I tried sending an MMS (from a cell phone) to the modem, this is received:
(at the bearerbox's log)
2005-08-01 16:04:05 [17960] [6] ERROR: AT2[siemensMC35i]: Error occurs: ERROR (error number not known to us. ask google and add it.)
(at the smsbox's log)
2005-08-01 16:04:03 [17983] [4] INFO: Starting to service <Ñ2application/vnd.wap.mms-message> from <53081> to <1234>
2005-08-01 16:04:06 [17983] [4] INFO: Starting to service <> from <53081> to <1234>
There's no further statement printed at the wapbox log file, nor at the mmsrelay or mmsproxy logs.
When I tried sending an MMS from the command line using:
mmssend -f +6597xxxxxx/TYPE=PLMN -t +6594xxxxxx/TYPE=PLMN -m test.mms mmsc.conf
this is printed at the mmsrelay's log:
INFO: Failed Global Queue MMS Send: From +6597xxxxxx/TYPE=PLMN, to +6594xxxxxx/TYPE=PLMN, msgsize=27824: err=MMSC error: Don't know how to deliver to +6594xxxxxx/TYPE=PLMN !
I think something is really wrong that there is nothing printed at the wapbox logs, but I don't really know where to start looking. Can anyone help point out where I should be looking at?
Thanks,
Rina
The .conf files are as follow:
== mmsc.conf ==
group = core
log-file = /tmp/mms.log
access-log = /tmp/mms-access.log
log-level = 0
group = mmsbox
name = "MMSC"
hostname = www.mi.com
host-alias = mmsc
local-mmsc-domains = "mi.com,mi.net"
local-prefixes = "+65"
storage-directory = /tmp/spool
max-send-threads = 5
send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'
unified-prefix = "+65,065,65"
maximum-send-attempts = 5
default-message-expiry = 360000
queue-run-interval = 0.1
send-attempt-back-off = 300
sendsms-url = "" href="http://localhost:13013/cgi-bin/sendsms">http://localhost:13013/cgi-bin/sendsms
sendsms-username = tester
sendsms-password = foobar
mms-port = 1981
allow-ip = 127.0.0.1
notify-unprovisioned = yes
mms-notify-text = "You have received a multimedia message from %S, go to XXX to view it"
mm-box-host = localhost
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-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"
== smskannel.conf ==
group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = bar
log-file = "/tmp/kannel.log"
log-level = 1
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
# SMSC CONNECTIONS
group = smsc
smsc = at
smsc-id = siemensMC35i
port = 10000
connect-allow-ip = 127.0.0.1
modemtype = siemens_mc35i
device = /dev/ttyS0
group = modems
name = "SiemensMc35i"
id = siemensmc35i
detect-string = "SIEMENS"
detect-string2 = "MC35i"
init-string = "AT+CNMI=1,2,0,1,1"
speed = 19200
enable-hwhs = "AT\\Q3"
need-sleep = true
enable-mms = true
# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 13013
log-file = "/tmp/smsbox.log"
#log-level = 0
# WAPBOX SETUP
group = wapbox
bearerbox-host = localhost
log-file = "/tmp/wapbox.log"
syslog-level = none
map-url = "" href="http://mmsc/*">http://mmsc/* http://localhost:1981/*";
# SEND-SMS USERS
group = sendsms-user
username = tester
password = foobar
# SERVICES
group = sms-service
keyword = default
text = "No service specified"
_______________________________________________ Users mailing list [email protected] http://mbuni.org/mailman/listinfo/users_mbuni.org
