Hi,

I have similar setup and keep getting the same problem when invoking mmsend command line.

% ./mmssend -f 619254xxxx/TYPE=PLMN -t +1619384xxxx/TYPE=PLMN -m multi.mms mmsc.conf

I have no problem sending SMS ... looks like Mbuni is NOT communicate with Kannel at all. Must be a config problem but I could not figure out the reason. Any helps would be greatly appreciated...thanks in advance. I'm attaching both mmsc.conf and kannel.conf files.

Here are the messages from mmsbox.log:
2005-08-16 15:33:37 [290] [0] INFO: Added logfile `log/mmsbox.log' with level `0'. 2005-08-16 15:33:37 [290] [0] INFO: Started access logfile `log/mms-access.log'.2005-08-16 15:33:37 [290] [0] DEBUG: Started thread 1 (mms_uaprof.c:(gwthread_func_t *)mms_profile_fetcher)
2005-08-16 15:33:37 [290] [0] INFO: HTTP: Opening server at port 13153.
2005-08-16 15:33:37 [290] [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2005-08-16 15:33:37 [292] [1] DEBUG: Thread 1 (mms_uaprof.c:(gwthread_func_t *)mms_profile_fetcher) maps to pid 292.
2005-08-16 15:33:37 [292] [1] DEBUG: Entered fetcher
2005-08-16 15:33:37 [293] [2] DEBUG: Thread 2 (gwlib/fdset.c:poller) maps to pid 293. 2005-08-16 15:33:37 [290] [0] DEBUG: Started thread 3 (gwlib/http.c:server_thread)
2005-08-16 15:33:37 [290] [0] INFO: HTTP: Opening server at port 13154.
2005-08-16 15:33:37 [294] [3] DEBUG: Thread 3 (gwlib/http.c:server_thread) maps
to pid 294.
2005-08-16 15:33:37 [290] [0] DEBUG: Started thread 4 (mmsproxy.c:(gwthread_func_t *)mm7proxy) 2005-08-16 15:33:37 [295] [4] DEBUG: Thread 4 (mmsproxy.c:(gwthread_func_t *)mm7proxy) maps to pid 295. 2005-08-16 15:34:11 [297] [0] INFO: Added logfile `log/mmsbox.log' with level `0'.
...
....
....
2005-08-16 15:38:43 [322] [1] DEBUG: Thread 1 (mms_uaprof.c:(gwthread_func_t *)mms_profile_fetcher) maps to pid 322.
2005-08-16 15:38:43 [322] [1] DEBUG: Entered fetcher
Queued: i-qf1124231923.1.x32076, mmbox=
supersms3:/usr/local/bin# 2005-08-16 15:38:52 [300] [2] DEBUG: Queued to thread 1 for spool/global/i/qf1124231923.1.x32076
2005-08-16 15:38:52 [306] [8] DEBUG: WSP: decoding headers:
2005-08-16 15:38:52 [306] [8] DEBUG: Octet string at 0x8157240:
2005-08-16 15:38:52 [306] [8] DEBUG:   len:  1
2005-08-16 15:38:52 [306] [8] DEBUG:   size: 2
2005-08-16 15:38:52 [306] [8] DEBUG:   immutable: 0
2005-08-16 15:38:52 [306] [8] DEBUG: data: 9e .
2005-08-16 15:38:52 [306] [8] DEBUG: Octet string dump ends.
2005-08-16 15:38:52 [306] [8] DEBUG: WSP: decoded headers:
2005-08-16 15:38:52 [306] [8] DEBUG: Content-Type: image/jpeg
2005-08-16 15:38:52 [306] [8] DEBUG: WSP: End of decoded headers.
2005-08-16 15:38:52 [306] [8] DEBUG: WSP: decoding headers:
2005-08-16 15:38:52 [306] [8] DEBUG: Octet string at 0x81636b0:
2005-08-16 15:38:52 [306] [8] DEBUG:   len:  11
2005-08-16 15:38:52 [306] [8] DEBUG:   size: 12
2005-08-16 15:38:52 [306] [8] DEBUG:   immutable: 0
2005-08-16 15:38:52 [306] [8] DEBUG: data: 61 75 64 69 6f 2f 6d 69 64 69 00 audio/midi.
2005-08-16 15:38:52 [306] [8] DEBUG: Octet string dump ends.
2005-08-16 15:38:52 [306] [8] DEBUG: WSP: decoded headers:
2005-08-16 15:38:52 [306] [8] DEBUG: Content-Type: audio/midi
2005-08-16 15:38:52 [306] [8] DEBUG: WSP: End of decoded headers.
2005-08-16 15:38:52 [306] [8] INFO: Failed Global Queue MMS Send: From 619254xxxx/TYPE=PLMN, to +1619384xxxx/TYPE=PLMN, msgsize=17607: err=MMSC error: Don't know how to deliver to +1619384xxxx/TYPE=PLMN !
group = core
log-file = log/mmsbox.log
access-log = log/mms-access.log

group = mmsbox
name = "My MMSC"
hostname = localhost
host-alias = mmsc
storage-directory = spool
max-send-threads = 5
maximum-send-attempts = 5
#default-message-expiry = 3600
queue-run-interval = 10
send-attempt-back-off = 300
mms-port = 13153
mm7-port = 13154
send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'
sendsms-url = http://localhost:13163/cgi-bin/sendsms
sendsms-username = tester
sendsms-password = foobar
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"

group = mms-vasp
vasp-id = newcorp
type = soap
short-code = 100
vasp-username = gggg
vasp-password = gggg
vasp-url = http://www.xxxxxxxxxx.com:8880/mm7
mmsc-username = eeee
mmsc-password = eeee

group = mmsproxy
name = "A test mms proxy"
host = localhost
#allowed-prefix = "+86"
#
# Sample configuration file for Kannel bearerbox on Debian.
# See the documentation for explanations of fields.
#

# HTTP administration is disabled by default. Make sure you set the
# password if you enable it.

group = core
admin-port = 13150
admin-password = adminTheKan
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "192.168.1.*;65.36.154.35"
smsbox-port = 13151
wapbox-port = 13152
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "192.168.1.*;127.0.0.1"

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

#SMSC CONNECTIONS

group = smsc
smsc = at
smsc-id = 1619254xxxx
modemtype = wavecom
device = /dev/ttyS0
speed = 9600
keepalive = 15
sim-buffering = true
max-error-count = 5

#MODEM DEFINITIONS
group = modems
id = wavecom
name = Wavecom
detect-string = "WAVECOM"
init-string = "AT+CNMI=2,0,0,1,0"
reset-string = "AT+CFUN=1"
enable-mms = true

#SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = 13163
log-file = "/var/log/kannel/smsbox.log"
http-request-retry = 6

#SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar

# this sender is for Kannel relay testing (http_smsc)

group = sendsms-user
username = kannel
password = rL4y
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"

# PPG setup

group = ppg
ppg-url = /wappush
ppg-port = 8080
concurrent-pushes = 100
users = 1024
#ppg-deny-ip = "*.*.*.*"
ppg-allow-ip = "192.168.1.*;127.0.0.1"
trusted-pi = false

# PPG user account

group = wap-push-user
wap-push-user = picom
ppg-username = foo
ppg-password = bar
allow-ip = "127.0.0.1"

# SERVICES

group = sms-service
keyword = nop
text = "You asked nothing and I did it!"

# this service is for Kannel relay testing, when this Kannel
# works as relay gateway
_______________________________________________
Users mailing list
Users@mbuni.org
http://mbuni.org/mailman/listinfo/users_mbuni.org

Reply via email to