Hi all! I have a couple of problems with the correct use of my mbuni gateway as VAS not mmsc.
The first one is: I would like to be able to store my messages in postgresql but I can't configure it properly, I have read in the readme file from extras that it only has to be add a couple of lines. I try it out, but now It (mmsbox) doesn't run. Below I copy my configuration file and the log file when I try to use the storage in postgresql. Note: If I comment those two lines (queue-manager-module and queue-module-init-data) mmsbox runs. This is what I got at the terminal (It stops with no reason): root@tecdigital-HP-Compaq-6535b:/usr/local/bin# ./mmsbox /home/tec-digital/Descargas/kannel/mmsconfig.conf 2011-05-27 15:58:58 [15225] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0 2011-05-27 15:58:58 [15225] [0] INFO: Added logfile `/tmp/mmsbox.log' with level `0'. 2011-05-27 15:58:58 [15225] [0] INFO: Started access logfile `/tmp/mmsbox-access.log'. root@tecdigital-HP-Compaq-6535b:/usr/local/bin# This is what I got at log file: 2011-05-27 15:58:58 [15225] [0] INFO: Added logfile `/tmp/mmsbox.log' with level `0'. 2011-05-27 15:58:58 [15225] [0] INFO: Started access logfile `/tmp/mmsbox-access.log'. The second problem is: I can't connect correctly to my operators MMSC, I'm from Costa Rica, and at this time we only have one service provider, ICE (Instituto Costarricense de Electricidad or Costarrican Electricity Institute) and their parameters are http-url: http//mmsice Proxy: 10.184.202.24:8080 APN: kolbimundo No users and no passwords It seems that it can't connect to the service provider's MMSC but I don't know if I could do something else to connect it. The exact error says: ERROR: bearerbox.c:2945 <fetch_content_with_curl> [mmsbox-mm1] [n/a] failed to fetch/post content to host http://mmsice [proxy: 10.184.202.24:8080] [http_status=7] : Failed to connect to 10.184.202.24: Network is unreachable I have tried to established a telnet connection when I have the GPRS up, but it doesn't reach the host. This is what I got at Terminal: root@tecdigital-HP-Compaq-6535b:/usr/local/bin# ./mmsbox /home/tec-digital/Descargas/kannel/mmsconfig.conf 2011-05-27 16:01:35 [15601] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0 2011-05-27 16:01:35 [15601] [0] INFO: Added logfile `/tmp/mmsbox.log' with level `0'. 2011-05-27 16:01:35 [15601] [0] INFO: Started access logfile `/tmp/mmsbox-access.log'. 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 1 (mmsbox_cdr.c:(void *)cdr_logger_func) 2011-05-27 16:01:35 [15601] [0] INFO: HTTP: Opening server at port 10001. 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller) 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 3 (gwlib/http.c:server_thread) 2011-05-27 16:01:35 [15601] [0] INFO: mmsbox_cfg.c:699 <start_mmsc_from_conf> [mmsbox] [n/a] Loaded MMSC[modem], allow=[(null)], deny=[(null)] group_id=[modem] 2011-05-27 16:01:35 [15601] [0] INFO: HTTP: Opening server at port 13014. 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 4 (mmsbox_cfg.c:(gwthread_func_t *)handle_mm1_mt_requests) 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 5 (mmsbox_cfg.c:mmsc_receiver_func) 2011-05-27 16:01:35 [15601] [0] INFO: mmsbox_cfg.c:634 <mmsbox_start_mmsc_conn> [mmsbox] [n/a] Startup for mmsc [modem] complete 2011-05-27 16:01:35 [15601] [0] INFO: HTTP: Opening server at port 10020. 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 6 (mmsbox_cfg.c:(gwthread_func_t *)admin_handler) 2011-05-27 16:01:35 [15601] [0] INFO: mmsbox.c:757 <main> [mmsbox] [n/a] ---------------------------------------- 2011-05-27 16:01:35 [15601] [0] INFO: mmsbox.c:758 <main> [mmsbox] [n/a] Mbuni MMSBox version cvs-20110505 starting 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 7 (mmsbox.c:(gwthread_func_t *)sendmms_func) 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 8 (mmsbox.c:(gwthread_func_t *)mmsbox_outgoing_queue_runner) 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 9 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 10 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 11 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 12 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 13 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [1] DEBUG: Thread 1 (mmsbox_cdr.c:(void *)cdr_logger_func) maps to pid 15601. 2011-05-27 16:01:35 [15601] [2] DEBUG: Thread 2 (gwlib/fdset.c:poller) maps to pid 15601. 2011-05-27 16:01:35 [15601] [3] DEBUG: Thread 3 (gwlib/http.c:server_thread) maps to pid 15601. 2011-05-27 16:01:35 [15601] [5] DEBUG: Thread 5 (mmsbox_cfg.c:mmsc_receiver_func) maps to pid 15601. 2011-05-27 16:01:35 [15601] [5] DEBUG: Started thread 14 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) 2011-05-27 16:01:35 [15601] [5] DEBUG: Started thread 15 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) 2011-05-27 16:01:35 [15601] [5] DEBUG: Started thread 16 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) 2011-05-27 16:01:35 [15601] [5] DEBUG: Started thread 17 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) 2011-05-27 16:01:35 [15601] [5] DEBUG: Started thread 18 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) 2011-05-27 16:01:35 [15601] [7] DEBUG: Thread 7 (mmsbox.c:(gwthread_func_t *)sendmms_func) maps to pid 15601. 2011-05-27 16:01:35 [15601] [7] DEBUG: Started thread 19 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) 2011-05-27 16:01:35 [15601] [7] DEBUG: Started thread 20 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) 2011-05-27 16:01:35 [15601] [7] DEBUG: Started thread 21 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) 2011-05-27 16:01:35 [15601] [7] DEBUG: Started thread 22 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) 2011-05-27 16:01:35 [15601] [7] DEBUG: Started thread 23 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) 2011-05-27 16:01:35 [15601] [9] DEBUG: Thread 9 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:01:35 [15601] [10] DEBUG: Thread 10 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:01:35 [15601] [12] DEBUG: Thread 12 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:01:35 [15601] [14] DEBUG: Thread 14 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [15] DEBUG: Thread 15 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [16] DEBUG: Thread 16 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [17] DEBUG: Thread 17 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [18] DEBUG: Thread 18 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [19] DEBUG: Thread 19 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [20] DEBUG: Thread 20 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [21] DEBUG: Thread 21 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [22] DEBUG: Thread 22 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [23] DEBUG: Thread 23 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [13] DEBUG: Thread 13 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:01:35 [15601] [11] DEBUG: Thread 11 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:01:35 [15601] [8] DEBUG: Thread 8 (mmsbox.c:(gwthread_func_t *)mmsbox_outgoing_queue_runner) maps to pid 15601. 2011-05-27 16:01:35 [15601] [8] DEBUG: Started thread 24 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [8] DEBUG: Started thread 25 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [8] DEBUG: Started thread 26 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [8] DEBUG: Started thread 27 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [8] DEBUG: Started thread 28 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [4] DEBUG: Thread 4 (mmsbox_cfg.c:(gwthread_func_t *)handle_mm1_mt_requests) maps to pid 15601. 2011-05-27 16:01:35 [15601] [4] INFO: bearerbox.c:2657 <handle_mm1_mt_requests> [MM7] [modem] handle_mm1 [modem] started 2011-05-27 16:01:35 [15601] [27] DEBUG: Thread 27 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:01:35 [15601] [6] DEBUG: Thread 6 (mmsbox_cfg.c:(gwthread_func_t *)admin_handler) maps to pid 15601. 2011-05-27 16:01:35 [15601] [25] DEBUG: Thread 25 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:01:35 [15601] [26] DEBUG: Thread 26 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:01:35 [15601] [24] DEBUG: Thread 24 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:01:35 [15601] [28] DEBUG: Thread 28 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:01:35 [15601] [6] INFO: mmsbox_cfg.c:1195 <admin_handler> [mmsbox] [n/a] Admin Interface -- startup on port 10020 2011-05-27 16:13:08 [15601] [3] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2011-05-27 16:13:08 [15601] [3] DEBUG: HTTP: Created HTTPClient area 0x95cdc08. 2011-05-27 16:13:08 [15601] [19] DEBUG: WSP: Mapping `text/plain', WSP 1.2 to 0x0003. 2011-05-27 16:13:08 [15601] [19] INFO: mmsbox.c:1365 <make_and_queue_msg> [mmsbox] [n/a] MMSBox: Queued message from service [sendmms-user], [transid [Mbuni-msg.4388.x1.1.43]: qf4388.1.x601.46 2011-05-27 16:13:08 [15601] [19] DEBUG: HTTP: Destroying HTTPClient area 0x95cdc08. 2011-05-27 16:13:08 [15601] [19] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. 2011-05-27 16:13:08 [15601] [19] INFO: mmsbox.c:1613 <dispatch_sendmms_recv> [mmsbox] [n/a] MMSBox.mmssend: u=tester, Queued [Accepted: Mbuni-msg.4388.x1.1.43] 2011-05-27 16:13:11 [15601] [8] DEBUG: Queued to thread 0 for /tmp/mbuni/mmsbox_outgoing/qf4388.1.x601.46, sendt=1306534388, tnow=1306534391 Kannel suspended 2011-05-27 16:13:21 [15601] [4] INFO: bearerbox.c:2675 <handle_mm1_mt_requests> [MM7] [modem] handle_mm1 [start_gprs] returned PID: 17472 2011-05-27 16:13:21 [15601] [4] DEBUG: WSP: Mapping `text/plain', WSP 1.2 to 0x0003. 2011-05-27 16:13:21 [15601] [4] ERROR: bearerbox.c:2945 <fetch_content_with_curl> [mmsbox-mm1] [n/a] failed to fetch/post content to host http://mmsice [proxy: 10.184.202.24:8080] [http_status=7] : Failed to connect to 10.184.202.24: Network is unreachable 2011-05-27 16:13:21 [15601] [4] DEBUG: Octet string at 0x95bc158: 2011-05-27 16:13:21 [15601] [4] DEBUG: len: 0 2011-05-27 16:13:21 [15601] [4] DEBUG: size: 0 2011-05-27 16:13:21 [15601] [4] DEBUG: immutable: 0 2011-05-27 16:13:21 [15601] [4] DEBUG: Octet string dump ends. 2011-05-27 16:13:21 [15601] [4] ERROR: bearerbox.c:2810 <handle_mm1_mt_requests> [MM7] [modem] Sending failed: (none), (none)! 2011-05-27 16:13:21 [15601] [24] INFO: bearerbox.c:2637 <mm7mm1_send> [MM1] [modem] mm1_send: sent message, type=m-send-req, result=(none) 2011-05-27 16:13:21 [15601] [24] INFO: bearerbox.c:1673 <process_send_res> [MM7] [n/a] Retry later MMSBox Outgoing Queue MMS Send: From 50687035503/TYPE=PLMN, to 50683142453/TYPE=PLMN, msgsize=102: msgid=[N/A] Running resumed 2011-05-27 16:13:28 [15601] [4] INFO: bearerbox.c:2872 <handle_mm1_mt_requests> [MM7] [modem] SMSC turned on This is what I got at log file: 2011-05-27 16:01:35 [15601] [0] INFO: Added logfile `/tmp/mmsbox.log' with level `0'. 2011-05-27 16:01:35 [15601] [0] INFO: Started access logfile `/tmp/mmsbox-access.log'. 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 1 (mmsbox_cdr.c:(void *)cdr_logger_func) 2011-05-27 16:01:35 [15601] [0] INFO: HTTP: Opening server at port 10001. 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller) 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 3 (gwlib/http.c:server_thread) 2011-05-27 16:01:35 [15601] [0] INFO: mmsbox_cfg.c:699 <start_mmsc_from_conf> [mmsbox] [n/a] Loaded MMSC[modem], allow=[(null)], deny=[(null)] group_id=[modem] 2011-05-27 16:01:35 [15601] [0] INFO: HTTP: Opening server at port 13014. 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 4 (mmsbox_cfg.c:(gwthread_func_t *)handle_mm1_mt_requests) 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 5 (mmsbox_cfg.c:mmsc_receiver_func) 2011-05-27 16:01:35 [15601] [0] INFO: mmsbox_cfg.c:634 <mmsbox_start_mmsc_conn> [mmsbox] [n/a] Startup for mmsc [modem] complete 2011-05-27 16:01:35 [15601] [0] INFO: HTTP: Opening server at port 10020. 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 6 (mmsbox_cfg.c:(gwthread_func_t *)admin_handler) 2011-05-27 16:01:35 [15601] [0] INFO: mmsbox.c:757 <main> [mmsbox] [n/a] ---------------------------------------- 2011-05-27 16:01:35 [15601] [0] INFO: mmsbox.c:758 <main> [mmsbox] [n/a] Mbuni MMSBox version cvs-20110505 starting 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 7 (mmsbox.c:(gwthread_func_t *)sendmms_func) 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 8 (mmsbox.c:(gwthread_func_t *)mmsbox_outgoing_queue_runner) 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 9 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 10 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 11 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 12 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [0] DEBUG: Started thread 13 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [1] DEBUG: Thread 1 (mmsbox_cdr.c:(void *)cdr_logger_func) maps to pid 15601. 2011-05-27 16:01:35 [15601] [2] DEBUG: Thread 2 (gwlib/fdset.c:poller) maps to pid 15601. 2011-05-27 16:01:35 [15601] [3] DEBUG: Thread 3 (gwlib/http.c:server_thread) maps to pid 15601. 2011-05-27 16:01:35 [15601] [5] DEBUG: Thread 5 (mmsbox_cfg.c:mmsc_receiver_func) maps to pid 15601. 2011-05-27 16:01:35 [15601] [5] DEBUG: Started thread 14 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) 2011-05-27 16:01:35 [15601] [5] DEBUG: Started thread 15 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) 2011-05-27 16:01:35 [15601] [5] DEBUG: Started thread 16 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) 2011-05-27 16:01:35 [15601] [5] DEBUG: Started thread 17 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) 2011-05-27 16:01:35 [15601] [5] DEBUG: Started thread 18 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) 2011-05-27 16:01:35 [15601] [7] DEBUG: Thread 7 (mmsbox.c:(gwthread_func_t *)sendmms_func) maps to pid 15601. 2011-05-27 16:01:35 [15601] [7] DEBUG: Started thread 19 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) 2011-05-27 16:01:35 [15601] [7] DEBUG: Started thread 20 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) 2011-05-27 16:01:35 [15601] [7] DEBUG: Started thread 21 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) 2011-05-27 16:01:35 [15601] [7] DEBUG: Started thread 22 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) 2011-05-27 16:01:35 [15601] [7] DEBUG: Started thread 23 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) 2011-05-27 16:01:35 [15601] [9] DEBUG: Thread 9 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:01:35 [15601] [10] DEBUG: Thread 10 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:01:35 [15601] [12] DEBUG: Thread 12 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:01:35 [15601] [14] DEBUG: Thread 14 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [15] DEBUG: Thread 15 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [16] DEBUG: Thread 16 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [17] DEBUG: Thread 17 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [18] DEBUG: Thread 18 (bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [19] DEBUG: Thread 19 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [20] DEBUG: Thread 20 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [21] DEBUG: Thread 21 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [22] DEBUG: Thread 22 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [23] DEBUG: Thread 23 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) maps to pid 15601. 2011-05-27 16:01:35 [15601] [13] DEBUG: Thread 13 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:01:35 [15601] [11] DEBUG: Thread 11 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:01:35 [15601] [8] DEBUG: Thread 8 (mmsbox.c:(gwthread_func_t *)mmsbox_outgoing_queue_runner) maps to pid 15601. 2011-05-27 16:01:35 [15601] [8] DEBUG: Started thread 24 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [8] DEBUG: Started thread 25 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [8] DEBUG: Started thread 26 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [8] DEBUG: Started thread 27 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [8] DEBUG: Started thread 28 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-05-27 16:01:35 [15601] [4] DEBUG: Thread 4 (mmsbox_cfg.c:(gwthread_func_t *)handle_mm1_mt_requests) maps to pid 15601. 2011-05-27 16:01:35 [15601] [4] INFO: bearerbox.c:2657 <handle_mm1_mt_requests> [MM7] [modem] handle_mm1 [modem] started 2011-05-27 16:01:35 [15601] [27] DEBUG: Thread 27 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:01:35 [15601] [6] DEBUG: Thread 6 (mmsbox_cfg.c:(gwthread_func_t *)admin_handler) maps to pid 15601. 2011-05-27 16:01:35 [15601] [25] DEBUG: Thread 25 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:01:35 [15601] [26] DEBUG: Thread 26 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:01:35 [15601] [6] INFO: mmsbox_cfg.c:1195 <admin_handler> [mmsbox] [n/a] Admin Interface -- startup on port 10020 2011-05-27 16:01:35 [15601] [24] DEBUG: Thread 24 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:01:35 [15601] [28] DEBUG: Thread 28 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 15601. 2011-05-27 16:13:08 [15601] [3] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2011-05-27 16:13:08 [15601] [3] DEBUG: HTTP: Created HTTPClient area 0x95cdc08. 2011-05-27 16:13:08 [15601] [19] DEBUG: WSP: Mapping `text/plain', WSP 1.2 to 0x0003. 2011-05-27 16:13:08 [15601] [19] INFO: mmsbox.c:1365 <make_and_queue_msg> [mmsbox] [n/a] MMSBox: Queued message from service [sendmms-user], [transid [Mbuni-msg.4388.x1.1.43]: qf4388.1.x601.46 2011-05-27 16:13:08 [15601] [19] DEBUG: HTTP: Destroying HTTPClient area 0x95cdc08. 2011-05-27 16:13:08 [15601] [19] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. 2011-05-27 16:13:08 [15601] [19] INFO: mmsbox.c:1613 <dispatch_sendmms_recv> [mmsbox] [n/a] MMSBox.mmssend: u=tester, Queued [Accepted: Mbuni-msg.4388.x1.1.43] 2011-05-27 16:13:11 [15601] [8] DEBUG: Queued to thread 0 for /tmp/mbuni/mmsbox_outgoing/qf4388.1.x601.46, sendt=1306534388, tnow=1306534391 2011-05-27 16:13:21 [15601] [4] INFO: bearerbox.c:2675 <handle_mm1_mt_requests> [MM7] [modem] handle_mm1 [start_gprs] returned PID: 17472 2011-05-27 16:13:21 [15601] [4] DEBUG: WSP: Mapping `text/plain', WSP 1.2 to 0x0003. 2011-05-27 16:13:21 [15601] [4] ERROR: bearerbox.c:2945 <fetch_content_with_curl> [mmsbox-mm1] [n/a] failed to fetch/post content to host http://mmsice [proxy: 10.184.202.24:8080] [http_status=7] : Failed to connect to 10.184.202.24: Network is unreachable 2011-05-27 16:13:21 [15601] [4] DEBUG: Octet string at 0x95bc158: 2011-05-27 16:13:21 [15601] [4] DEBUG: len: 0 2011-05-27 16:13:21 [15601] [4] DEBUG: size: 0 2011-05-27 16:13:21 [15601] [4] DEBUG: immutable: 0 2011-05-27 16:13:21 [15601] [4] DEBUG: Octet string dump ends. 2011-05-27 16:13:21 [15601] [4] ERROR: bearerbox.c:2810 <handle_mm1_mt_requests> [MM7] [modem] Sending failed: (none), (none)! 2011-05-27 16:13:21 [15601] [24] INFO: bearerbox.c:2637 <mm7mm1_send> [MM1] [modem] mm1_send: sent message, type=m-send-req, result=(none) 2011-05-27 16:13:21 [15601] [24] INFO: bearerbox.c:1673 <process_send_res> [MM7] [n/a] Retry later MMSBox Outgoing Queue MMS Send: From 50687035503/TYPE=PLMN, to 50683142453/TYPE=PLMN, msgsize=102: msgid=[N/A] 2011-05-27 16:13:28 [15601] [4] INFO: bearerbox.c:2872 <handle_mm1_mt_requests> [MM7] [modem] SMSC turned on This is my configuration file, just remember that when I run the mmsbox at the second problem it has been commented the two lines for postgresql (queue-manager-module and queue-module-init-data) Configuration File: group = core log-file = /tmp/mmsbox.log access-log = /tmp/mmsbox-access.log log-level = 0 #Configuration for mbuni group = mbuni storage-directory = /tmp/mbuni max-send-threads = 5 maximum-send-attempts = 50 default-message-expiry = 360000 queue-run-interval = 5 send-attempt-back-off = 300 sendmms-port = 10001 sendsms-url = http://localhost:13013/cgi-bin/sendsms sendsms-username = tester sendsms-password = foobar 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" mmsbox-admin-port = 10020 admin-password = foobar admin-port-ssl = false queue-manager-module = "/home/tec-digital/Descargas/mbuni/extras/pgsql-queue/.libs/libmms_pgsql_queue.so" queue-module-init-data = "host=localhost user=dotlrn password=dotlrn dbname=dotlrn" # Configuration for MMSBox using a modem (MM1) group = mmsc id = modem type = mm1 mm1-sms-on-command = lynx -dump 'http://127.0.0.1:13000/resume?password=bar' mm1-sms-off-command = lynx -dump ' http://127.0.0.1:13000/suspend?password=bar' incoming-port = 13014 mmsc-url = http://mmsice #Proxy para Sim Card kolbi mm1-http-proxy = 10.184.202.24:8080 mm1-msisdn=100 mm1-gprs-on-command = pon iceCelular mm1-gprs-off-command = poff iceCelular mm1-gprs-pid-command = "cat /var/run/ppp0.pid|head -1" mmsc-library = /home/tec-digital/Descargas/mbuni/extras/mmsbox-mm1/.libs/libmmsbox_mm1.so group = send-mms-user username = tester password = foobar faked-sender = 50687035503 group = mms-service name = me post-url = http://localhost/ catch-all = true http-post-parameters = fx=true&images[]=%i&text[]=%t&skip=1 accept-x-mbuni-headers = true pass-thro-headers = X-NOKIA-MMSC-Charging,X-NOKIA-MMSC-Charged-Party keyword = test omit-empty = no suppress-reply = true service-code = regular group = mms-service name = fullmessage get-url = http://localhost/imagen.png # http-post-parameters = fx=true&image=%i&text=%t accept-x-mbuni-headers = true keyword = thixs Just to end I'm able to send and receive SMS thru Kannel Gateway. Thanks in advance. -- Mauricio Berrocal
_______________________________________________ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users