Hey guys,

I have been working on getting MBuni to receive MMS messages from AT&T from
a few days now and I don’t think I am any closer than when I started. My
question is how do I setup Mbuni to receive MMS messages? I am reading
something about an APN account. Do I need an APN account? Do I need to setup
MM1, MM4, MM7? Currently I am getting this error message in the log files:
“Error-permanent-message-not-found system-u...@69.139.100.191 Message not
found”. I have included my kannel.conf file and mbuni.conf file. After
playing with it so much I’m sure I have a lot of stuff in the config files
that either can go, or needs to be changed. Any help would be very
appreciative!

 

- Mark

 

 

2010-05-14 06:33:53 [3391] [4] DEBUG: match found: .*

2010-05-14 06:33:53 [3391] [4] INFO: Starting to service
<'application/vnd.wap.mms-message> from <1111301000> to <6015551212> (ß my
at&t number)

2010-05-14 06:33:53 [3391] [9] DEBUG: Queue contains 0 pending requests.

2010-05-14 06:33:53 [3391] [9] DEBUG: Parsing URL
`http://localhost:1981/?text=%01%06'application%2Fvnd.wap.mms-message%00%AF%
84%8D%01%9A%B4%84%8C%82%98B10513212857300002000020000%00%8D%90%89%18%80%2B16
013071369%2FTYPE%3DPLMN%00%96IMG00003-20100429-1713.jpg%00%8A%80%8E%02%80%00
%88%05%81%03%05F%00%83http%3A%2F%2F209.183.55.122%3A8003%2F05132128573000020
00020000%00':

2010-05-14 06:33:53 [3391] [9] DEBUG:   Scheme: http://

2010-05-14 06:33:53 [3391] [9] DEBUG:   Host: localhost

2010-05-14 06:33:53 [3391] [9] DEBUG:   Port: 1981

2010-05-14 06:33:53 [3391] [9] DEBUG:   Username: (null)

2010-05-14 06:33:53 [3391] [9] DEBUG:   Password: (null)

2010-05-14 06:33:53 [3391] [9] DEBUG:   Path: /

2010-05-14 06:33:53 [3391] [9] DEBUG:   Query:
text=%01%06'application%2Fvnd.wap.mms-message%00%AF%84%8D%01%9A%B4%84%8C%82%
98B10513212857300002000020000%00%8D%90%89%18%80%2B16013071369%2FTYPE%3DPLMN%
00%96IMG00003-20100429-1713.jpg%00%8A%80%8E%02%80%00%88%05%81%03%05F%00%83ht
tp%3A%2F%2F209.183.55.122%3A8003%2F0513212857300002000020000%00

2010-05-14 06:33:53 [3391] [9] DEBUG:   Fragment: (null)

2010-05-14 06:33:53 [3391] [9] DEBUG: HTTP: Opening connection to
`localhost:1981' (fd=28).

2010-05-14 06:33:53 [3391] [9] DEBUG: Socket connecting

2010-05-14 06:33:53 [3391] [8] DEBUG: Get info about connecting socket

2010-05-14 06:33:53 [3391] [8] DEBUG: HTTP: Sending request:

2010-05-14 06:33:53 [3391] [8] DEBUG: Octet string at 0x91f7510:

2010-05-14 06:33:53 [3391] [8] DEBUG:   len:  382

2010-05-14 06:33:53 [3391] [8] DEBUG:   size: 1024

2010-05-14 06:33:53 [3391] [8] DEBUG:   immutable: 0

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 47 45 54 20 2f 3f 74 65 78 74
3d 25 30 31 25 30   GET /?text=%01%0

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 36 27 61 70 70 6c 69 63 61 74
69 6f 6e 25 32 46   6'application%2F

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 76 6e 64 2e 77 61 70 2e 6d 6d
73 2d 6d 65 73 73   vnd.wap.mms-mess

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 61 67 65 25 30 30 25 41 46 25
38 34 25 38 44 25   age%00%AF%84%8D%

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 30 31 25 39 41 25 42 34 25 38
34 25 38 43 25 38   01%9A%B4%84%8C%8

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 32 25 39 38 42 31 30 35 31 33
32 31 32 38 35 37   2%98B10513212857

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 33 30 30 30 30 32 30 30 30 30
32 30 30 30 30 25   300002000020000%

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 30 30 25 38 44 25 39 30 25 38
39 25 31 38 25 38   00%8D%90%89%18%8

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 30 25 32 42 31 36 30 31 33 30
37 31 33 36 39 25   0%2B16013071369%

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 32 46 54 59 50 45 25 33 44 50
4c 4d 4e 25 30 30   2FTYPE%3DPLMN%00

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 25 39 36 49 4d 47 30 30 30 30
33 2d 32 30 31 30   %96IMG00003-2010

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 30 34 32 39 2d 31 37 31 33 2e
6a 70 67 25 30 30   0429-1713.jpg%00

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 25 38 41 25 38 30 25 38 45 25
30 32 25 38 30 25   %8A%80%8E%02%80%

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 30 30 25 38 38 25 30 35 25 38
31 25 30 33 25 30   00%88%05%81%03%0

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 35 46 25 30 30 25 38 33 68 74
74 70 25 33 41 25   5F%00%83http%3A%

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 32 46 25 32 46 32 30 39 2e 31
38 33 2e 35 35 2e   2F%2F209.183.55.

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 31 32 32 25 33 41 38 30 30 33
25 32 46 30 35 31   122%3A8003%2F051

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 33 32 31 32 38 35 37 33 30 30
30 30 32 30 30 30   3212857300002000

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 30 32 30 30 30 30 25 30 30 20
48 54 54 50 2f 31   020000%00 HTTP/1

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 2e 31 0d 0a 48 6f 73 74 3a 20
6c 6f 63 61 6c 68   .1..Host: localh

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 6f 73 74 3a 31 39 38 31 0d 0a
43 6f 6e 6e 65 63   ost:1981..Connec

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 74 69 6f 6e 3a 20 6b 65 65 70
2d 61 6c 69 76 65   tion: keep-alive

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 0d 0a 55 73 65 72 2d 41 67 65
6e 74 3a 20 4b 61   ..User-Agent: Ka

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 6e 6e 65 6c 2f 31 2e 34 2e 33
0d 0a 0d 0a         nnel/1.4.3....

2010-05-14 06:33:53 [3391] [8] DEBUG: Octet string dump ends.

2010-05-14 06:33:53 [3391] [8] DEBUG: HTTP: Status line: <HTTP/1.1 200 OK>

2010-05-14 06:33:53 [3391] [8] DEBUG: HTTP: Received response:

2010-05-14 06:33:53 [3391] [8] DEBUG: Octet string at 0x91f74e8:

2010-05-14 06:33:53 [3391] [8] DEBUG:   len:  267

2010-05-14 06:33:53 [3391] [8] DEBUG:   size: 1024

2010-05-14 06:33:53 [3391] [8] DEBUG:   immutable: 0

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 53 65 72 76 65 72 3a 20 4b 61
6e 6e 65 6c 2f 31   Server: Kannel/1

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 2e 34 2e 33 0d 0a 44 61 74 65
3a 20 46 72 69 2c   .4.3..Date: Fri,

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 20 31 34 20 4d 61 79 20 32 30
31 30 20 31 31 3a    14 May 2010 11:

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 33 33 3a 35 33 20 47 4d 54 0d
0a 43 6f 6e 74 65   33:53 GMT..Conte

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 6e 74 2d 4c 65 6e 67 74 68 3a
20 39 36 0d 0a 50   nt-Length: 96..P

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 72 61 67 6d 61 3a 20 6e 6f 2d
63 61 63 68 65 0d   ragma: no-cache.

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 0a 43 61 63 68 65 2d 43 6f 6e
74 72 6f 6c 3a 20   .Cache-Control:

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 6e 6f 2d 63 61 63 68 65 0d 0a
43 6f 6e 74 65 6e   no-cache..Conten

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 74 2d 54 79 70 65 3a 20 61 70
70 6c 69 63 61 74   t-Type: applicat

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 69 6f 6e 2f 76 6e 64 2e 77 61
70 2e 6d 6d 73 2d   ion/vnd.wap.mms-

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 6d 65 73 73 61 67 65 0d 0a 0d
0a 8c 84 8d 90 85   message.........

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 04 4b ed 35 21 99 e2 9a 45 72
72 6f 72 2d 70 65   .K.5!...Error-pe

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 72 6d 61 6e 65 6e 74 2d 6d 65
73 73 61 67 65 2d   rmanent-message-

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 6e 6f 74 2d 66 6f 75 6e 64 00
89 1c 80 73 79 73   not-found....sys

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 74 65 6d 2d 75 73 65 72 40 36
39 2e 31 33 39 2e   tem-u...@69.139.

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 31 30 30 2e 31 39 31 00 84 83
4d 65 73 73 61 67   100.191...Messag

2010-05-14 06:33:53 [3391] [8] DEBUG:   data: 65 20 6e 6f 74 20 66 6f 75 6e
64                  e not found

2010-05-14 06:33:53 [3391] [8] DEBUG: Octet string dump ends.

2010-05-14 06:33:53 [3391] [5] DEBUG: message length 50, sending 1 messages

2010-05-14 06:33:53 [3391] [0] DEBUG: Got ACK (0) of
a4cc7e69-fde6-451b-8d0b-f51949da21b7

2010-05-14 06:33:53 [3391] [0] DEBUG: No client - multi-send or ACK to
pull-reply

2010-05-14 06:34:53 [3391] [8] DEBUG: HTTP: Server closed connection,
destroying it <localhost:1981:0::><0x91f4758><fd:28>.

http://localhost:1981/?text=%01%06'application%2Fvnd.wap.mms-message%00%AF%8
4%8D%01%9A%B4%84%8C%82%98B10513212857300002000020000%00%8D%90%89%18%80%2B160
13071369%2FTYPE%3DPLMN%00%96IMG00003-20100429-1713.jpg%00%8A%80%8E%02%80%00%
88%05%81%03%05F%00%83http%3A%2F%2F209.183.55.122%3A8003%2F051321285730000200
0020000%00

 

***********************

*kannel.conf file:

***********************

include = "/etc/modems.conf"

 

group = core

admin-port = 13000

admin-password = bar

wapbox-port = 13002

smsbox-port = 13001

wdp-interface-name = "*"

log-file = "/var/log/bearerbox.log"

log-level = 1

store-file = "/var/log/kannel.store"

 

group = wapbox

bearerbox-host = localhost

log-file = "/var/log/wapbox.log"

timer-freq = 20

map-url = "http://mmsc/* <http://mmsc/*%20http:/localhost:1981/*>
http://localhost:1981/*";

map-url = "http://* <http://*%20http:/localhost:1981/*>
http://localhost:1981/*";

 

group = smsbox

bearerbox-host = localhost

sendsms-port = 13013

global-sender = 6018182504

log-file = "/var/log/smsbox.log"

access-log = "/var/log/sms-access.log"

 

group = smsc

smsc = at

smsc-id = wavecom

modemtype = wavecom

device = /dev/ttyUSB0

my-number = 6015551212# (<- my at&t number)

host = xx.xx.xxx.xx # (<- my WAN IP connected via Cable Internet)

port = 2222

receive-port = 2222

smsc-username = "user"

smsc-password = "pass"

system-type = "SMS"

address-range = ""

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

 

# SMS SERVICES

group = sms-service

keyword-regex =.*

catch-all = true

omit-empty = true

max-messages = 100

get-url = "http://localhost:1981/?text=%b <http://localhost:1981/?text=%25b>
"

#post-url = "http://www.somehost.com/sms.php?from=%p&to=%P&time=%t&g$

concatenation = true

 

# (Do I need this to receive MMS messages?)

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 = "*.*.*.*"

 

# (Do I need this to receive MMS messages?)

group = wap-push-user

wap-push-user = sms1

ppg-username = sms1

ppg-password = send1

 

 

***********************

*mbuni.conf file:

***********************

 

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 = xx.xx.xxx.xx # (<- my WAN IP connected via Cable Internet)

host-alias = mmsc

#local-prefixes = 992;+992;00992;505

storage-directory = /var/spool/mbuni

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://localhost:13013/cgi-bin/sendsms

sendsms-username = sms1

sendsms-password = send1

mms-port = 1981

mm7-port = 1982

email2mms-relay-hosts = “xx.xx.xxx.xx” # (<- my WAN IP connected via Cable
Internet)

billing-module-parameters = "/var/log/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 = xx.xx.xxx.xx # (<- my WAN IP connected via Cable Internet)

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$

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 = 66.209.11.32# (<- I think this is the at&t MMS gateway, but could be
wrong)

#allowed-prefix = "+99293;5"

 

_______________________________________________
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to