Hello to everyone, and sorry for my english; for my degree I choose have to write a java project that give some services using sms and mms.
For sms part, i have downloaded and installed kannel and i'm able to send, receive sms without problems. Now I want to manage mms too; i have found mbuni, installed version 1.3.0 and haven't errors. I have a GSM/GPRS modem connected to serial port; it's a Siemens MC35i terminal. I want to use mbuni not as MMSC but as VAS gateway. What I want is send and receive mms; and I mean send a mms (text, picture, audio etc) from my modem to a mobile phone and receive a mms from every mobily phone to my modem. I write from Italy and my operator's name is Tim: checking from my phone (where i have a sim's TIM too) I see that: - ip address is: 213.230.130.89 - port: 80 - internet mode: http - use proxy: yes - username and password: empty Ok this is my config file (mbuni.conf): group = core log-file = /home/fcappelli/mbuni_files/log/mbuni-mmsc.log access-log = /home/fcappelli/mbuni_files/log/mmsc-access.log log-level = 0 group = mbuni name = "My MMSC" hostname = fabio host-alias = mmsc local-prefixes = 0039;+39 storage-directory = /home/fcappelli/mbuni_files/storage max-send-threads = 5 send-mail-prog = /usr/sbin/sendmail -f '%f' '%t' unified-prefix = "+39,0039" maximum-send-attempts = 50 default-message-expiry = 360000 queue-run-interval = 5 send-attempt-back-off = 300 sendsms-url = http://localhost:13013/cgi-bin/sendsms sendsms-username = bar sendsms-password = bar sendmms-port = 10001 mms-port = 1981 mm7-port = 1982 deny-ip = "*.*.*.*" allow-ip = "127.0.0.1;192.168.0.*" email2mms-relay-hosts = "gmail.com;poste.it" billing-module-parameters = "/home/fcappelli/mbuni_files/log/cdr.log" # billing-library = billdemo.so #prov-server-notify-script = ~/src/mmprov/provnotify.sh #prov-server-sub-status-script = ~/src/mmprov/rcptstatus.sh content-adaptation = true notify-unprovisioned = yes mms-notify-text = "You have received a multimedia message from %S, go to XXX to view it" 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-to-email-default-subject = "This is a multimedia message" 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" group = mmsc id = Tim mmsc-url = "http://213.230.130.89:80" incoming-username = incoming-password = incoming-port = 10002 type = soap group = send-mms-user username = bar password = bar faked-sender = "Fabio" group = mms-vasp vasp-id = newcorp type = soap short-code = 100 vasp-username = newscorp vasp-password = news123 vasp-url = http://mmsc1:[EMAIL PROTECTED]:8080/mm7 mms-to-email-handler = true To try to send a simple mms, first run mmsbox mbuni.conf, then I write in my browser: http://localhost:10001/sendmms?username=bar&password=bar&to=+393282284904&text=Prova and response is sent. But mmsbox log is: [EMAIL PROTECTED]:~/mbuni_files$ mmsbox mbuni.conf 2008-03-10 18:18:53 [14682] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0 2008-03-10 18:18:53 [14682] [0] INFO: ---------------------------------------- 2008-03-10 18:18:53 [14682] [0] INFO: Mbuni MMSBox version 1.3.0 starting 2008-03-10 18:18:53 [14682] [0] INFO: Added logfile `/home/fcappelli/mbuni_files/log/mbuni-mmsc.log' with level `0'. 2008-03-10 18:18:53 [14682] [0] INFO: Started access logfile `/home/fcappelli/mbuni_files/log/mmsc-access.log'. 2008-03-10 18:18:53 [14682] [0] INFO: HTTP: Opening server at port 10001. 2008-03-10 18:18:53 [14682] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2008-03-10 18:18:53 [14682] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2008-03-10 18:18:53 [14682] [0] INFO: MMSC[Tim], allow=[(null)], deny=[(null)] group_id=[Tim] 2008-03-10 18:18:53 [14682] [0] INFO: HTTP: Opening server at port 10002. 2008-03-10 18:18:53 [14682] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 14682. 2008-03-10 18:18:53 [14682] [0] DEBUG: Started thread 3 (mmsbox_cfg.c:mmsc_handler_func) 2008-03-10 18:18:53 [14682] [0] DEBUG: Started thread 4 (mmsbox.c:(gwthread_func_t *)sendmms_func) 2008-03-10 18:18:53 [14682] [0] DEBUG: Started thread 5 (mmsbox.c:(gwthread_func_t *)mmsbox_outgoing_queue_runner) 2008-03-10 18:18:53 [14682] [0] DEBUG: Started thread 6 (mms_queue.c:(gwthread_func_t *)tdeliver) 2008-03-10 18:18:53 [14682] [0] DEBUG: Started thread 7 (mms_queue.c:(gwthread_func_t *)tdeliver) 2008-03-10 18:18:53 [14682] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 14682. 2008-03-10 18:18:53 [14682] [3] DEBUG: Thread 3 (mmsbox_cfg.c:mmsc_handler_func) maps to pid 14682. 2008-03-10 18:18:53 [14682] [4] DEBUG: Thread 4 (mmsbox.c:(gwthread_func_t *)sendmms_func) maps to pid 14682. 2008-03-10 18:18:53 [14682] [5] DEBUG: Thread 5 (mmsbox.c:(gwthread_func_t *)mmsbox_outgoing_queue_runner) maps to pid 14682. 2008-03-10 18:18:53 [14682] [5] DEBUG: Started thread 9 (mms_queue.c:(gwthread_func_t *)tdeliver) 2008-03-10 18:18:53 [14682] [5] DEBUG: Started thread 10 (mms_queue.c:(gwthread_func_t *)tdeliver) 2008-03-10 18:18:53 [14682] [0] DEBUG: Started thread 8 (mms_queue.c:(gwthread_func_t *)tdeliver) 2008-03-10 18:18:53 [14682] [5] DEBUG: Started thread 11 (mms_queue.c:(gwthread_func_t *)tdeliver) 2008-03-10 18:18:53 [14682] [5] DEBUG: Started thread 12 (mms_queue.c:(gwthread_func_t *)tdeliver) 2008-03-10 18:18:53 [14682] [5] DEBUG: Started thread 13 (mms_queue.c:(gwthread_func_t *)tdeliver) 2008-03-10 18:18:53 [14682] [7] DEBUG: Thread 7 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 14682. 2008-03-10 18:18:53 [14682] [12] DEBUG: Thread 12 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 14682. 2008-03-10 18:18:53 [14682] [13] DEBUG: Thread 13 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 14682. 2008-03-10 18:18:53 [14682] [6] DEBUG: Thread 6 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 14682. 2008-03-10 18:18:53 [14682] [9] DEBUG: Thread 9 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 14682. 2008-03-10 18:18:53 [14682] [0] DEBUG: Started thread 14 (mms_queue.c:(gwthread_func_t *)tdeliver) 2008-03-10 18:18:53 [14682] [0] DEBUG: Started thread 15 (mms_queue.c:(gwthread_func_t *)tdeliver) 2008-03-10 18:18:53 [14682] [10] DEBUG: Thread 10 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 14682. 2008-03-10 18:18:53 [14682] [8] DEBUG: Thread 8 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 14682. 2008-03-10 18:18:53 [14682] [14] DEBUG: Thread 14 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 14682. 2008-03-10 18:18:53 [14682] [15] DEBUG: Thread 15 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 14682. 2008-03-10 18:18:53 [14682] [11] DEBUG: Thread 11 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 14682. 2008-03-10 18:19:00 [14682] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2008-03-10 18:19:00 [14682] [2] DEBUG: HTTP: Created HTTPClient area 0x815ec98. 2008-03-10 18:19:00 [14682] [4] DEBUG: WSP: Mapping `text/plain', WSP 1.2 to 0x0003. 2008-03-10 18:19:00 [14682] [4] INFO: MMSBox: Queued message from service [sendmms-user] to outgoing: qf9540.1.x682.50 2008-03-10 18:19:01 [14682] [4] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'. 2008-03-10 18:19:01 [14682] [4] INFO: MMSBox.mmssend: u=bar, Sent 2008-03-10 18:19:03 [14682] [5] DEBUG: Queued to thread 0 for /home/fcappelli/mbuni_files/storage/mmsbox_outgoing/qf9540.1.x682.50, sendt=1205169540, tnow=1205169543 2008-03-10 18:19:03 [14682] [9] INFO: MMSBox: Send[soap] to MMSC[Tim], msg type [m-send-req], from [EMAIL PROTECTED], to 393282284904/TYPE=PLMN 2008-03-10 18:19:03 [14682] [9] DEBUG: Started thread 16 (gwlib/fdset.c:poller) 2008-03-10 18:19:03 [14682] [9] DEBUG: Started thread 17 (gwlib/http.c:write_request_thread) 2008-03-10 18:19:03 [14682] [16] DEBUG: Thread 16 (gwlib/fdset.c:poller) maps to pid 14682. 2008-03-10 18:19:03 [14682] [17] DEBUG: Thread 17 (gwlib/http.c:write_request_thread) maps to pid 14682. 2008-03-10 18:19:03 [14682] [17] DEBUG: Parsing URL `http://213.230.130.89:80': 2008-03-10 18:19:03 [14682] [17] DEBUG: Scheme: http:// 2008-03-10 18:19:03 [14682] [17] DEBUG: Host: 213.230.130.89 2008-03-10 18:19:03 [14682] [17] DEBUG: Port: 80 2008-03-10 18:19:03 [14682] [17] DEBUG: Username: (null) 2008-03-10 18:19:03 [14682] [17] DEBUG: Password: (null) 2008-03-10 18:19:03 [14682] [17] DEBUG: Path: / 2008-03-10 18:19:03 [14682] [17] DEBUG: Query: (null) 2008-03-10 18:19:03 [14682] [17] DEBUG: Fragment: (null) 2008-03-10 18:19:03 [14682] [17] DEBUG: HTTP: Opening connection to `213.230.130.89:80' (fd=46). 2008-03-10 18:19:03 [14682] [17] DEBUG: Socket connecting 2008-03-10 18:20:01 [14682] [1] DEBUG: Timeout for fd:40 appeares. 2008-03-10 18:20:01 [14682] [1] DEBUG: HTTP: Destroying HTTPClient area 0x815ec98. 2008-03-10 18:20:01 [14682] [1] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. 2008-03-10 18:22:12 [14682] [16] DEBUG: Get info about connecting socket 2008-03-10 18:22:12 [14682] [16] DEBUG: Socket not connected 2008-03-10 18:22:12 [14682] [16] ERROR: Couldn't fetch <http://213.230.130.89:80> 2008-03-10 18:22:12 [14682] [9] INFO: Retry later MMSBox Outgoing Queue MMS Send: From [EMAIL PROTECTED], to 393282284904/TYPE=PLMN, msgsize=90: err=Failed to contact MMC[url=http://213.230.130.89:80] => HTTP returned status=[-1]! Where is the wrong? And how to receive a mms? Thanx to all, Fabio _______________________________________________ Users mailing list [email protected] http://lists.mbuni.org/mailman/listinfo/users
