Hello all,

I am a bit new in using Mbuni so I hope someone can direct me here. I read
the user guide and some days ago I decided to start testing my project which
I devided in 2 parts. part 1 is sending the MMS and part is receiving via
the mm1 interface.

Below is my configuration file:

group = core
log-file = "/usr/local/etc/log/mbuni.log"
log-level = 0
access-log = "/usr/local/etc/log/mbuni_access.log"
http-interface-name = "*"

group = mbuni
name = "TEST_MBUNI"
storage-directory = "/var/spool/mbuni"
hostname = localhost
max-send-threads = 2
maximum-send-attempts = 2
default-message-expiry = 360000
queue-run-interval = 5
send-attempt-back-off = 300
sendmms-port = 10001
admin-allow-ip = "127.0.0.1"
allow-ip = "*.*.*.*"
mmsbox-admin-port = 10002
admin-password = admin

group = mmsc
id= HUAWEI
type = mm1
mm1-sms-on-command = lynx -dump '
http://localhost:14000/start-smsc?password=admin&smsc=Huawei-E220'
mm1-sms-off-command = lynx -dump '
http://localhost:14000/stop-smsc?password=admin&smsc=Huawei-E220'
incoming-port = 14014
mmsc-url = "MMSC_URL"
mm1-http-proxy = "proxyIP:8080"
mm1-msisdn = "My_Number"
mm1-gprs-on-command = "pppd call gprs-start"
mm1-gprs-pid-command = "cat /var/run/ppp0-mbuni.pid|head -1"

group = send-mms-user
username = test
password = admin

group = mms-service
name = testService
keyword = default
post-url = http://localhost/_scripts/mms.php
catch-all = true
#http-post-parameters = fx=true&images[]=%i&text[]=%t&skip=1
http-post-parameters = mms[]=%z
accept-x-mbuni-headers = true
omit-empty = no
suppress-reply = true

after running the mmsbox, I tried sending the mms using this command:

lynx -dump "
http://127.0.0.1:10001/cgi-bin/sendmms?username=test&password=admin&from=simCard&to=myMobile&subject=send&text=sending
"

The resulting output on mmsbox log file is shown below:

2011-10-12 05:21:05 [11202] [0] INFO: Debug_lvl = -1, log_file = <none>,
log_lvl = 0
2011-10-12 05:21:05 [11202] [0] INFO: Added logfile
`/usr/local/etc/log/mbuni.log' with level `0'.
2011-10-12 05:21:05 [11202] [0] INFO: Started access logfile
`/usr/local/etc/log/mbuni_access.log'.
2011-10-12 05:21:05 [11202] [0] DEBUG: Started thread 1 (mmsbox_cdr.c:(void
*)cdr_logger_func)
2011-10-12 05:21:05 [11202] [1] DEBUG: Thread 1 (mmsbox_cdr.c:(void
*)cdr_logger_func) maps to pid 11202.
2011-10-12 05:21:05 [11202] [0] INFO: HTTP: Opening server at port 10001.
2011-10-12 05:21:05 [11202] [0] DEBUG: Started thread 2
(gwlib/fdset.c:poller)
2011-10-12 05:21:05 [11202] [0] DEBUG: Started thread 3
(gwlib/http.c:server_thread)
2011-10-12 05:21:05 [11202] [0] INFO: mmsbox_cfg.c:699
<start_mmsc_from_conf> [mmsbox] [n/a] Loaded MMSC[HUAWEI], allow=[(null)],
deny=[(null)] group_id=[HUAWEI]
2011-10-12 05:21:05 [11202] [0] INFO: HTTP: Opening server at port 14014.
2011-10-12 05:21:05 [11202] [0] DEBUG: Started thread 4
(mmsbox_cfg.c:(gwthread_func_t *)handle_mm1_mt_requests)
2011-10-12 05:21:05 [11202] [0] DEBUG: Started thread 5
(mmsbox_cfg.c:mmsc_receiver_func)
2011-10-12 05:21:05 [11202] [0] INFO: mmsbox_cfg.c:634
<mmsbox_start_mmsc_conn> [mmsbox] [n/a] Startup for mmsc [HUAWEI] complete
2011-10-12 05:21:05 [11202] [5] DEBUG: Thread 5
(mmsbox_cfg.c:mmsc_receiver_func) maps to pid 11202.
2011-10-12 05:21:05 [11202] [0] INFO: HTTP: Opening server at port 10002.
2011-10-12 05:21:05 [11202] [5] DEBUG: Started thread 6
(bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv)
2011-10-12 05:21:05 [11202] [3] DEBUG: Thread 3 (gwlib/http.c:server_thread)
maps to pid 11202.
2011-10-12 05:21:05 [11202] [4] DEBUG: Thread 4
(mmsbox_cfg.c:(gwthread_func_t *)handle_mm1_mt_requests) maps to pid 11202.
2011-10-12 05:21:05 [11202] [0] DEBUG: Started thread 7
(mmsbox_cfg.c:(gwthread_func_t *)admin_handler)
2011-10-12 05:21:05 [11202] [0] INFO: mmsbox.c:757 <main> [mmsbox] [n/a]
----------------------------------------
2011-10-12 05:21:05 [11202] [0] INFO: mmsbox.c:758 <main> [mmsbox] [n/a]
 Mbuni MMSBox  version cvs-20110727 starting
2011-10-12 05:21:05 [11202] [4] INFO: bearerbox.c:2657
<handle_mm1_mt_requests> [MM7] [HUAWEI] handle_mm1 [HUAWEI] started
2011-10-12 05:21:05 [11202] [7] DEBUG: Thread 7
(mmsbox_cfg.c:(gwthread_func_t *)admin_handler) maps to pid 11202.
2011-10-12 05:21:05 [11202] [5] DEBUG: Started thread 8
(bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv)
2011-10-12 05:21:05 [11202] [0] DEBUG: Started thread 9
(mmsbox.c:(gwthread_func_t *)sendmms_func)
2011-10-12 05:21:05 [11202] [9] DEBUG: Thread 9 (mmsbox.c:(gwthread_func_t
*)sendmms_func) maps to pid 11202.
2011-10-12 05:21:05 [11202] [2] DEBUG: Thread 2 (gwlib/fdset.c:poller) maps
to pid 11202.
2011-10-12 05:21:05 [11202] [6] DEBUG: Thread 6
(bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) maps to pid 11202.
2011-10-12 05:21:05 [11202] [8] DEBUG: Thread 8
(bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) maps to pid 11202.
2011-10-12 05:21:05 [11202] [7] INFO: mmsbox_cfg.c:1195 <admin_handler>
[mmsbox] [n/a] Admin Interface -- startup on port 10002
2011-10-12 05:21:05 [11202] [0] DEBUG: Started thread 10
(mmsbox.c:(gwthread_func_t *)mmsbox_outgoing_queue_runner)
2011-10-12 05:21:05 [11202] [10] DEBUG: Thread 10 (mmsbox.c:(gwthread_func_t
*)mmsbox_outgoing_queue_runner) maps to pid 11202.
2011-10-12 05:21:05 [11202] [9] DEBUG: Started thread 11
(mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv)
2011-10-12 05:21:05 [11202] [11] DEBUG: Thread 11 (mmsbox.c:(gwthread_func_t
*)dispatch_sendmms_recv) maps to pid 11202.
2011-10-12 05:21:05 [11202] [0] DEBUG: Started thread 12
(mms_queue.c:(gwthread_func_t *)tdeliver)
2011-10-12 05:21:05 [11202] [12] DEBUG: Thread 12
(mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 11202.
2011-10-12 05:21:05 [11202] [9] DEBUG: Started thread 13
(mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv)
2011-10-12 05:21:05 [11202] [13] DEBUG: Thread 13 (mmsbox.c:(gwthread_func_t
*)dispatch_sendmms_recv) maps to pid 11202.
2011-10-12 05:21:05 [11202] [0] DEBUG: Started thread 14
(mms_queue.c:(gwthread_func_t *)tdeliver)
2011-10-12 05:21:05 [11202] [10] DEBUG: Started thread 15
(mms_queue.c:(gwthread_func_t *)tdeliver)
2011-10-12 05:21:05 [11202] [15] DEBUG: Thread 15
(mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 11202.
2011-10-12 05:21:05 [11202] [14] DEBUG: Thread 14
(mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 11202.
2011-10-12 05:21:05 [11202] [10] DEBUG: Started thread 16
(mms_queue.c:(gwthread_func_t *)tdeliver)
2011-10-12 05:21:05 [11202] [16] DEBUG: Thread 16
(mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 11202.
2011-10-12 05:23:01 [11202] [3] DEBUG: HTTP: Creating HTTPClient for
`127.0.0.1'.
2011-10-12 05:23:01 [11202] [3] DEBUG: HTTP: Created HTTPClient area
0x9de3af0.
2011-10-12 05:23:01 [11202] [11] DEBUG: WSP: Mapping `text/plain', WSP 1.2
to 0x0003.
2011-10-12 05:23:01 [11202] [11] INFO: mmsbox.c:1365 <make_and_queue_msg>
[mmsbox] [n/a] MMSBox: Queued message from service [sendmms-user], [transid
[Mbuni-msg.8981.x1.2.28]: s-6h-qf8981.1.x202.81
2011-10-12 05:23:01 [11202] [11] DEBUG: HTTP: Destroying HTTPClient area
0x9de3af0.
2011-10-12 05:23:01 [11202] [11] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.
2011-10-12 05:23:01 [11202] [11] INFO: mmsbox.c:1613 <dispatch_sendmms_recv>
[mmsbox] [n/a] MMSBox.mmssend: u=test, Queued [Accepted:
Mbuni-msg.8981.x1.2.28]
2011-10-12 05:23:05 [11202] [10] DEBUG: Queued to thread 0 for
/var/spool/mbuni/mmsbox_outgoing/s/6h/qf8981.1.x202.81, sendt=1318378981,
tnow=1318378985

   Denied


Nothing else happen after that.
Am I doing something wrong?
Do you need more infos? If yes, what else should I provide?

Thanks in advance for helping.
_______________________________________________
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to