Hi All,

I'm trying to set up MMS gateway.
With the help of some blogs and Mbuni guide I'm able to set mmsc to an
extent. I'm almost near setting mbuni as mmsc but still something is
missing. This is project work of my course but need some guidelines to
finish in time. Can you please take some time to help me with this or guide
me if I'm going wrong

Here is my mmsc.config file

group = core
log-file = /tmp/log/mbuni-mmsc.log
access-log = /tmp/log/mmsc-access.log
log-level = 0

group = mbuni
#name = "My MMSC"
hostname = *.*.*.*
host-alias = mmsc
local-prefixes = +91;037;+25637;25637
storage-directory = /tmp/spool
max-send-threads = 5
#send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'
#unified-prefix = "+25637,037,37"
#maximum-send-attempts = 50
default-message-expiry = 360000
#queue-run-interval = 5
#send-attempt-back-off = 300
sendsms-url = http://*.*.*.*:3001/cgi-bin/sendsms?
sendsms-username = ******
sendsms-password = ******
mms-port = 1981
mm7-port = 1982
optimize-notification-size = true

group = mmsc
id = local
mmsc-url = http://mbuni:test@localhost:1982/soap
incoming-username = user
incoming-password = pass
incoming-port = 12345
type = soap

group = mms-vasp
vasp-id = newscorp
type = soap
short-code = 111
vasp-username = mbuni
vasp-password = test
vasp-url = http://user:pass@localhost:12345/

group = mmsproxy
name = "A test mms proxy"
host = ds.co.ug
allowed-prefix = "+25635"
denied-prefix = "037"


Values of hostname, sendsms-username and sendsms-password are the one used
in smskannel.conf.
I dont know if group = mms-vasp and group = mmsproxy is required to send
mms. Also I'm not sure
if type = soap which is used in group = mmsc and in group = mms-vasp.

I executed the following commands:
mmsproxy /etc/mmsc.conf &

[root@secondlinux ~]# 2011-03-28 15:24:19 [4989] [0] INFO: Debug_lvl = -1,
log_file = <none>, log_lvl = 0
2011-03-28 15:24:19 [4989] [0] INFO:
----------------------------------------
2011-03-28 15:24:19 [4989] [0] INFO:  Mbuni MMSC Proxy version 1.4.0
starting
2011-03-28 15:24:19 [4989] [0] INFO: Added logfile `/tmp/log/mbuni-mmsc.log'
with level `0'.
2011-03-28 15:24:19 [4989] [0] INFO: Started access logfile
`/tmp/log/mmsc-access.log'.
2011-03-28 15:24:19 [4989] [0] INFO: HTTP: Opening server at port 1981.
2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2011-03-28 15:24:19 [4989] [0] INFO: HTTP: Opening server at port 1982.
2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 3
(mmsproxy.c:(gwthread_func_t *)mm7proxy)
2011-03-28 15:24:19 [4989] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
to pid 4989.
2011-03-28 15:24:19 [4989] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
maps to pid 4989.
2011-03-28 15:24:19 [4989] [3] DEBUG: Thread 3 (mmsproxy.c:(gwthread_func_t
*)mm7proxy) maps to pid 4989.


mmsrelay /etc/mmsc.conf &

[root@secondlinux ~]# 2011-03-28 15:26:03 [5008] [0] INFO: Debug_lvl = -1,
log_file = <none>, log_lvl = 0
2011-03-28 15:26:03 [5008] [0] INFO:
----------------------------------------
2011-03-28 15:26:03 [5008] [0] INFO:  Mbuni MMSC Relay  version 1.4.0
starting
2011-03-28 15:26:03 [5008] [0] INFO: Added logfile `/tmp/log/mbuni-mmsc.log'
with level `0'.
2011-03-28 15:26:03 [5008] [0] INFO: Started access logfile
`/tmp/log/mmsc-access.log'.
2011-03-28 15:26:03 [5008] [0] INFO: Starting Global Queue Runner...
2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 1
(mmsrelay.c:(gwthread_func_t *)mbuni_global_queue_runner)
2011-03-28 15:26:03 [5008] [0] INFO: Starting Local Queue Runner...
2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 2
(mmsmobilesender.c:(gwthread_func_t *)receive_push_reply)
2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 3
(mms_queue.c:(gwthread_func_t *)tdeliver)
2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 4
(mms_queue.c:(gwthread_func_t *)tdeliver)
2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 5
(mms_queue.c:(gwthread_func_t *)tdeliver)
2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 6
(mms_queue.c:(gwthread_func_t *)tdeliver)
2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 7
(mms_queue.c:(gwthread_func_t *)tdeliver)
2011-03-28 15:26:03 [5008] [1] DEBUG: Thread 1 (mmsrelay.c:(gwthread_func_t
*)mbuni_global_queue_runner) maps to pid 5008.
2011-03-28 15:26:03 [5008] [1] DEBUG: Started thread 8
(mmsglobalsender.c:cdr_thread)
2011-03-28 15:26:03 [5008] [1] DEBUG: Started thread 9
(mms_queue.c:(gwthread_func_t *)tdeliver)
2011-03-28 15:26:03 [5008] [1] DEBUG: Started thread 10
(mms_queue.c:(gwthread_func_t *)tdeliver)
2011-03-28 15:26:03 [5008] [7] DEBUG: Thread 7 (mms_queue.c:(gwthread_func_t
*)tdeliver) maps to pid 5008.
2011-03-28 15:26:03 [5008] [5] DEBUG: Thread 5 (mms_queue.c:(gwthread_func_t
*)tdeliver) maps to pid 5008.
2011-03-28 15:26:03 [5008] [6] DEBUG: Thread 6 (mms_queue.c:(gwthread_func_t
*)tdeliver) maps to pid 5008.
2011-03-28 15:26:03 [5008] [10] DEBUG: Thread 10
(mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 5008.
2011-03-28 15:26:03 [5008] [11] DEBUG: Thread 11
(mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 5008.
2011-03-28 15:26:03 [5008] [1] DEBUG: Started thread 11
(mms_queue.c:(gwthread_func_t *)tdeliver)
2011-03-28 15:26:03 [5008] [3] DEBUG: Thread 3 (mms_queue.c:(gwthread_func_t
*)tdeliver) maps to pid 5008.
2011-03-28 15:26:03 [5008] [4] DEBUG: Thread 4 (mms_queue.c:(gwthread_func_t
*)tdeliver) maps to pid 5008.
2011-03-28 15:26:03 [5008] [2] DEBUG: Thread 2
(mmsmobilesender.c:(gwthread_func_t *)receive_push_reply) maps to pid 5008.
2011-03-28 15:26:03 [5008] [8] DEBUG: Thread 8
(mmsglobalsender.c:cdr_thread) maps to pid 5008.
2011-03-28 15:26:03 [5008] [1] DEBUG: Started thread 12
(mms_queue.c:(gwthread_func_t *)tdeliver)
2011-03-28 15:26:03 [5008] [1] DEBUG: Started thread 13
(mms_queue.c:(gwthread_func_t *)tdeliver)
2011-03-28 15:26:03 [5008] [9] DEBUG: Thread 9 (mms_queue.c:(gwthread_func_t
*)tdeliver) maps to pid 5008.
2011-03-28 15:26:03 [5008] [12] DEBUG: Thread 12
(mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 5008.
2011-03-28 15:26:03 [5008] [13] DEBUG: Thread 13
(mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 5008.

mmssend -f +919********* -t +919********* -m test.txt -b /etc/mmsc.conf

2011-03-28 15:29:11 [5042] [0] INFO: Debug_lvl = -1, log_file = <none>,
log_lvl = 0
2011-03-28 15:29:11 [5042] [0] INFO:
----------------------------------------
2011-03-28 15:29:11 [5042] [0] INFO:  MMSC Message sender runner  version
1.4.0 starting
2011-03-28 15:29:11 [5042] [0] INFO: Added logfile `/tmp/log/mbuni-mmsc.log'
with level `0'.
2011-03-28 15:29:11 [5042] [0] INFO: Started access logfile
`/tmp/log/mmsc-access.log'.
2011-03-28 15:29:11 [5042] [0] DEBUG: Failed to read MIME headers in Octstr
block:
2011-03-28 15:29:11 [5042] [0] DEBUG: Octet string at 0x9b4e718:
2011-03-28 15:29:11 [5042] [0] DEBUG:   len:  8
2011-03-28 15:29:11 [5042] [0] DEBUG:   size: 1024
2011-03-28 15:29:11 [5042] [0] DEBUG:   immutable: 0
2011-03-28 15:29:11 [5042] [0] DEBUG:   data: 74 65 73 74 69 6e 67
0a                           testing.
2011-03-28 15:29:11 [5042] [0] DEBUG: Octet string dump ends.
2011-03-28 15:29:11 [5042] [0] PANIC: No Message supplied, or failed to
decode binary data!
2011-03-28 15:29:11 [5042] [0] PANIC: mmssend(gw_panic+0xc2) [0x8084112]
2011-03-28 15:29:11 [5042] [0] PANIC: mmssend(main+0x658) [0x80536a8]
2011-03-28 15:29:11 [5042] [0] PANIC:
/lib/i686/nosegneg/libc.so.6(__libc_start_main+0xe0) [0x4b279f70]
2011-03-28 15:29:11 [5042] [0] PANIC: mmssend [0x8052f91]

These are the logs which are appearing on the screen. I'm totally lost and
dont know how to proceed. Please help me with this

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

Reply via email to