[Users] Wavecom config

2011-10-11 Thread Wave Hood
Hello,
As any got wavecom modems working with mbuni?
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


[Users] Unable to send MMS

2011-10-11 Thread Wave Hood
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 = 36
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=adminsmsc=Huawei-E220'
mm1-sms-off-command = lynx -dump '
http://localhost:14000/stop-smsc?password=adminsmsc=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=trueimages[]=%itext[]=%tskip=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=testpassword=adminfrom=simCardto=myMobilesubject=sendtext=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