Hello!

Trying to make MBUNI working I've stuck on the step when my phone receives
an MMS notification SMS, and when my phone tryes to retrieve an MMS message
it aborts on 98% - 

what I was able to find in log files, looks like my phone tries to 
get a single MMS as twice, the first part is ok and the corresponding part of 
the log file tells about it
but the second part is an attempt of the phone to retrieve something with no 
URL provided, 
so WAPBOX returns an ERROR and so my phone says "connection aborted". Please 
see below the parts of the logs. 
Phone is PALM TREO 650 - could it be a phone specific - I do not know. I'm 
going to try with another phone too. 
Also please see attached my config files for kannel and MBUNI - maybe something 
is wrong there?

(1rs part)

2006-08-10 19:03:53 [25763] [1] DEBUG: WSP: machine 0x81bd0a8, state CONNECTED, 
event S-MethodInvoke.res
2006-08-10 19:03:53 [25763] [1] DEBUG: WSP: method 51, state REQUESTING, event 
S-MethodInvoke.res
2006-08-10 19:03:53 [25763] [1] DEBUG: WSP 16/51: New method state PROCESSING
2006-08-10 19:03:53 [25763] [1] DEBUG: WSP 16: New state CONNECTED
2006-08-10 19:03:53 [25763] [6] DEBUG: WTP: resp_machine 51, state 
INVOKE_RESP_WAIT, event TR-Invoke.res.
2006-08-10 19:03:53 [25763] [6] DEBUG: WTP 51: New state RESULT_WAIT
2006-08-10 19:03:53 [25763] [17] DEBUG: Parsing URL 
`http://localhost:1981/[EMAIL PROTECTED]/wx71':
2006-08-10 19:03:53 [25763] [17] DEBUG:   Scheme: http://
2006-08-10 19:03:53 [25763] [17] DEBUG:   Host: localhost
2006-08-10 19:03:53 [25763] [17] DEBUG:   Port: 1981
2006-08-10 19:03:53 [25763] [17] DEBUG:   Username: (null)
2006-08-10 19:03:53 [25763] [17] DEBUG:   Password: (null)
2006-08-10 19:03:53 [25763] [17] DEBUG:   Path: /[EMAIL PROTECTED]/wx71
2006-08-10 19:03:53 [25763] [17] DEBUG:   Query: (null)
2006-08-10 19:03:53 [25763] [17] DEBUG:   Fragment: (null)
2006-08-10 19:03:53 [25763] [17] DEBUG: HTTP: Reusing connection to 
`localhost:1981' (fd=43).
2006-08-10 19:03:53 [25763] [17] DEBUG: Socket connected at once
2006-08-10 19:03:53 [25763] [17] DEBUG: HTTP: Sending request:
2006-08-10 19:03:53 [25763] [17] DEBUG: Octet string at 0x81c3fe0:
2006-08-10 19:03:53 [25763] [17] DEBUG:   len:  563
2006-08-10 19:03:53 [25763] [17] DEBUG:   size: 1024
2006-08-10 19:03:53 [25763] [17] DEBUG:   immutable: 0

After I see 98% dowloaded

2006-08-10 20:14:32 [25917] [7] DEBUG: WSP: Mapping url <http://(!no url!)/>
2006-08-10 20:14:32 [25917] [7] DEBUG: WSP: Matching <http://mmsc/> with 
<http://(!no >
2006-08-10 20:14:32 [25917] [7] DEBUG: expire_cookies: No cookies in cache
2006-08-10 20:14:32 [25917] [7] DEBUG: set_cookies: No cookies in cache
2006-08-10 20:14:32 [25917] [1] DEBUG: WSP: machine 0x81b5770, state CONNECTED, 
event S-MethodInvoke.res
2006-08-10 20:14:32 [25917] [1] DEBUG: WSP: method 5, state REQUESTING, event 
S-MethodInvoke.res
2006-08-10 20:14:32 [25917] [1] DEBUG: WSP 1/5: New method state PROCESSING
2006-08-10 20:14:32 [25917] [1] DEBUG: WSP 1: New state CONNECTED
2006-08-10 20:14:32 [25917] [6] DEBUG: WTP: resp_machine 5, state 
INVOKE_RESP_WAIT, event TR-Invoke.res.
2006-08-10 20:14:32 [25917] [6] DEBUG: WTP 5: New state RESULT_WAIT
2006-08-10 20:14:32 [25917] [17] DEBUG: Parsing URL `http://(!no url!)/':
2006-08-10 20:14:32 [25917] [17] DEBUG:   Scheme: http://
2006-08-10 20:14:32 [25917] [17] DEBUG:   Host: (!no url!)
2006-08-10 20:14:32 [25917] [17] DEBUG:   Port: 80
2006-08-10 20:14:32 [25917] [17] DEBUG:   Username: (null)
2006-08-10 20:14:32 [25917] [17] DEBUG:   Password: (null)
2006-08-10 20:14:32 [25917] [17] DEBUG:   Path: /
2006-08-10 20:14:32 [25917] [17] DEBUG:   Query: (null)
2006-08-10 20:14:32 [25917] [17] DEBUG:   Fragment: (null)
2006-08-10 20:14:32 [25917] [17] ERROR: Error while gw_gethostbyname occurs.
2006-08-10 20:14:32 [25917] [17] ERROR: System error 3: No such process
2006-08-10 20:14:32 [25917] [17] ERROR: gethostbyname failed
2006-08-10 20:14:32 [25917] [17] ERROR: error connecting to server `(!no url!)' 
at port `80'
2006-08-10 20:14:32 [25917] [17] DEBUG: HTTP: Opening connection to `(!no 
url!):80' (fd=0).
2006-08-10 20:14:32 [25917] [17] ERROR: Couldn't send request to <http://(!no 
url!)/>
2006-08-10 20:14:32 [25917] [8] ERROR: WSP: HTTP lookup failed, oops.
2006-08-10 20:14:32 [25917] [1] DEBUG: WSP: machine 0x81b5770, state CONNECTED, 
event S-MethodResult.req
2006-08-10 20:14:32 [25917] [1] DEBUG: WSP: method 5, state PROCESSING, event 
S-MethodResult.req
2006-08-10 20:14:32 [25917] [1] WARNING: WSP: Missing Content-Type header in 
response, guessing application/octet-stream
2006-08-10 20:14:32 [25917] [1] DEBUG: WSP: Mapping `application/octet-stream', 
WSP 1.2 to 0xffffffff.


Regards,
anton.
#
# 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 = 13000
admin-password = bar
wapbox-port = 13002
smsbox-port = 13001
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 1
store-file = "/var/log/kannel/kannel.store"

group = wapbox
bearerbox-host = localhost
log-file = "/var/log/kannel/wapbox.log"
timer-freq = 20
map-url = "http://mmsc/* http://localhost:1981/*";
map-url = "http://* http://localhost:1981/*";

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 1117
log-file = "/var/log/kannel/smsbox.log"
access-log = "/var/log/kannel/sms-access.log"

group = smsc
smsc = smpp
host = (CENSORED IP ADDRESS)
port = 2222
receive-port = 2222
smsc-username = "user"
smsc-password = "pass"
system-type = "SMS"
address-range = ""
my-number = 1117
interface-version = 34
dest-addr-ton = 0
dest-addr-npi = 1
source-addr-ton = 0
source-addr-npi = 1

group = sendsms-user
username = sms1
password = send1

group = sms-service
name = nothing
keyword = nop
aliases = "noppy;niente"
text = "You asked nothing and I did it!"
concatenation =  true
max-messages = 2


group = sms-service
name = Maarouf
keyword = man
aliases = "man"
text = "Hello MAN! How Are You?"

# PPG CORE SETUP, for defining the push request interface

group = ppg
ppg-url = /cgi-bin/wap-push.cgi
ppg-port = 8080
#ppg-ssl-port = 8081
concurrent-pushes = 100
trusted-pi = true
users = 1024
ppg-allow-ip = "*.*.*.*"

# PPG USER SETUP, for authorizing a specific push user

group = wap-push-user
wap-push-user = sms1
ppg-username = sms1
ppg-password = send1

group = core
log-file = /var/log/kannel/mbuni.log
access-log = /var/log/kannel/mbuni-access.log
log-level = 0

group = mbuni
name = "MY MMSC"
hostname = mmsc.myhost.net
host-alias = mmsc
local-mmsc-domains = myhost.net
local-prefixes = 992;+992;00992;505
storage-directory = /tmp/spool
max-send-threads = 5
send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'
unified-prefix = "+99293,93"
maximum-send-attempts = 50
default-message-expiry = 360000
queue-run-interval = 0.1
send-attempt-back-off = 300
sendsms-url = http://sms.myhost.net:13013/cgi-bin/sendsms
sendsms-username = sms1
sendsms-password = send1
mms-port = 1981
mm7-port = 1982
email2mms-relay-hosts = "mail.myhost.net"
billing-module-parameters = "/var/log/kannel/mbuni-cdr.log"
content-adaptation = true
notify-unprovisioned = yes
mms-notify-text = "You have received a multimedia message from %S, go to XXX to 
view it"
mm-box-host = local.ds.co.ug
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"
sendmms-port = 10001

group = send-mms-user
username = tester
password = foobar

group = send-mms-user
username = binary
password = "user"
faked-sender = 111

group = mms-service
name = fullmessage
get-url = http://www.myhost.net/images/news/bulletin.jpg
accept-x-mbuni-headers = true
keyword = try
text = Hi! This is MBUNI
faked-sender = 1117
catch-all = true

group = mmsproxy
name = "A test mms proxy"
host = mmsc.myhost.net
allowed-prefix = "+99293;5"
_______________________________________________
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org

Reply via email to