Welcome, > Would be helpful yes.
> I still did not get this config too. Thats a pity. I tried and got the same result as you did: "2011-04-15 15:23:11 [29837] [7] DEBUG: Queued to thread 2 for /var/spool/mbuni/mmsbox_outgoing/1/9l/qf3489.1.x837.54, sendt=1302873790, tnow=1302873791 2011-04-15 15:23:11 [29837] [15] ERROR: bearerbox.c:1679 <process_send_res> [MM7] [n/a] Retry later MMSBox Outgoing Queue MMS Send: From 100/TYPE=PLMN, to 48xxxxxxxx/TYPE=PLMN, msgsize=98: internal error, mm1 notify not started! " I tired Kannel 1.4.3 with recent Mbuni 1.5.0 without any luck. As far as I can see everything 'by hand' works ok (ppp connection, stoping and starting service) but thoes actions are not even executed. Sending sms by pure Kannel works ok. I use: Bus 001 Device 002: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem Any advice? My configs: _______________________________________________________________________ mmsbox.conf group = core log-file = /var/log/kannel/mmsbox.log access-log = /var/log/kannel/mmsbox-access.log log-level = 0 group = mbuni storage-directory = /var/spool/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:6113/cgi-bin/sendsms sendsms-username = ginn sendsms-password = ginn # Sample conf for MMSBox using a modem (MM1) group = mmsc id = modem type = custom #custom-settings = "smsc-on=lynx -dump 'http://localhost:13000/start-smsc?password=kira&smsc=moj';smsc-off=lynx -dump 'http://localhost:13000/stop-smsc?password=kira&smsc=moj';gprs-on=pon plus; gprs-pid=cat /var/run/ppp0.pid | head - mmsc-library = /usr/local/lib/libmmsbox_mm1.so group = send-mms-user username = ginn password = ginn faked-sender = 100 _______________________________________________________________________ kannel.conf # Default kannel configuration file group = core admin-port = 13000 admin-password = kira status-password = kira admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1;192.168.*.*" smsbox-port = 13001 wapbox-port = 13002 #box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" wdp-interface-name = "*" log-file = "/var/log/kannel/kannel.log" log-level = 1 access-log = "/var/log/kannel/kannel.access" group = smsbox bearerbox-host = localhost sendsms-port = 6113 global-sender = 6113 sendsms-chars = "0123456789" access-log = "/var/log/kannel/kannel.access" log-file = "/var/log/kannel/smsbox.log" log-level = 0 group = sendsms-user username="ginn" password="ginn" max-messages = 10 concatenation = true group = smsc smsc-id = moj smsc = at port = 10000 modemtype = huawei_e220_00 device = /dev/ttyUSB0 sms-center = +48601000310 my-number = +48663837206 connect-allow-ip = "127.0.0.1;192.168.*.*" group = modems id = huawei_e220_00 name = "Huawei E220" detect-string = "huawei" init-string = "AT+CNMI=2,1,2,2,0" message-storage = sm speed = 460800 #The sms-service group configures how Kannel gets messages to your web application. group = sms-service keyword = default text = "No service specified" group = sms-service #keyword = keyword-regex = .* catch-all = yes max-messages = 0 get-url = "www.whatever.net" group = sms-service keyword = default catch-all = true get-url = http://localhost:13014/?text=%b # kannel sends the binary data from #the message(%b) to mbuni #denied-prefix = "<income sms accepted>" max-messages = 0 concatenation = true group = wapbox bearerbox-host = localhost log-file = "/var/log/kannel/wapbox.log" log-level = 0 syslog-level = 0 timer-freq = 10 map-url = "http://mms/* http://localhost:13014" _______________________________________________________________________ In logs I have: 2011-04-15 15:16:46 [29803] [0] INFO: Added logfile `/var/log/kannel/kannel.log' with level `1'. 2011-04-15 15:16:46 [29803] [0] INFO: Started access logfile `/var/log/kannel/kannel.access'. 2011-04-15 15:16:46 [29803] [0] INFO: HTTP: Opening server at port 13000. 2011-04-15 15:16:46 [29803] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2011-04-15 15:16:46 [29803] [0] INFO: Set SMS resend frequency to 60 seconds. 2011-04-15 15:16:46 [29803] [0] INFO: SMS resend retry set to unlimited. 2011-04-15 15:16:46 [29803] [0] INFO: DLR rerouting for smsc id <moj> disabled. 2011-04-15 15:16:46 [29803] [0] INFO: AT2[moj]: configuration shows modemtype <huawei_e220_00> 2011-04-15 15:16:46 [29803] [0] INFO: AT2[moj]: read modem definition for <Huawei E220> 2011-04-15 15:16:46 [29803] [0] INFO: Adding interface * 2011-04-15 15:16:46 [29803] [0] INFO: ---------------------------------------- 2011-04-15 15:16:46 [29803] [0] INFO: Kannel bearerbox II version 1.4.3 starting 2011-04-15 15:16:46 [29803] [0] INFO: MAIN: Start-up done, entering mainloop 2011-04-15 15:16:46 [29803] [6] INFO: AT2[moj]: trying to use speed <460800> from modem definition 2011-04-15 15:16:46 [29803] [6] INFO: AT2[moj]: opening device 2011-04-15 15:16:46 [29803] [6] INFO: AT2[moj]: speed set to 460800 2011-04-15 15:16:48 [29803] [6] INFO: AT2[moj]: Closing device 2011-04-15 15:16:48 [29803] [6] INFO: AT2[moj]: speed is 460800 2011-04-15 15:16:48 [29803] [6] INFO: AT2[moj]: opening device 2011-04-15 15:16:48 [29803] [6] INFO: AT2[moj]: Logging in 2011-04-15 15:16:48 [29803] [6] INFO: AT2[moj]: init device 2011-04-15 15:16:48 [29803] [6] INFO: AT2[moj]: speed set to 460800 2011-04-15 15:16:49 [29803] [6] INFO: AT2[moj]: AT SMSC successfully opened. 2011-04-15 15:16:57 [29803] [5] INFO: Client connected from <127.0.0.1> 2011-04-15 15:17:24 [29837] [0] INFO: Added logfile `/var/log/kannel/mmsbox.log' with level `0'. 2011-04-15 15:17:24 [29837] [0] INFO: Started access logfile `/var/log/kannel/mmsbox-access.log'. 2011-04-15 15:17:24 [29837] [0] DEBUG: Started thread 1 (mmsbox_cdr.c:(void *)cdr_logger_func) 2011-04-15 15:17:24 [29837] [1] DEBUG: Thread 1 (mmsbox_cdr.c:(void *)cdr_logger_func) maps to pid 29837. 2011-04-15 15:17:24 [29837] [0] INFO: HTTP: Opening server at port 10001. 2011-04-15 15:17:24 [29837] [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller) 2011-04-15 15:17:24 [29837] [0] DEBUG: Started thread 3 (gwlib/http.c:server_thread) 2011-04-15 15:17:24 [29837] [0] INFO: mmsbox_cfg.c:699 <start_mmsc_from_conf> [mmsbox] [n/a] Loaded MMSC[modem], allow=[(null)], deny=[(null)] group_id=[modem] 2011-04-15 15:17:24 [29837] [3] DEBUG: Thread 3 (gwlib/http.c:server_thread) maps to pid 29837. 2011-04-15 15:17:24 [29837] [2] DEBUG: Thread 2 (gwlib/fdset.c:poller) maps to pid 29837. 2011-04-15 15:17:24 [29837] [0] INFO: mmsbox_cfg.c:749 <start_mmsc_from_conf> [mmsbox] [n/a] Loaded MMSC[modem], max recipients per transaction forced to 1 2011-04-15 15:17:24 [29837] [0] DEBUG: Started thread 4 (mmsbox_mm1.c:(gwthread_func_t *)handle_notify) 2011-04-15 15:17:24 [29837] [0] DEBUG: Started thread 5 (mmsbox_mm1.c:(gwthread_func_t *)handle_mm1) 2011-04-15 15:17:24 [29837] [0] INFO: mmsbox_cfg.c:634 <mmsbox_start_mmsc_conn> [mmsbox] [n/a] Startup for mmsc [modem] complete 2011-04-15 15:17:24 [29837] [0] WARNING: mmsbox_cfg.c:533 <mms_load_mmsbox_settings> [mmsbox] [n/a] Empty or no password supplied for admin port. All requests will be allowed! 2011-04-15 15:17:24 [29837] [0] INFO: mmsbox.c:757 <main> [mmsbox] [n/a] ---------------------------------------- 2011-04-15 15:17:24 [29837] [0] INFO: mmsbox.c:758 <main> [mmsbox] [n/a] Mbuni MMSBox version 1.5.0 starting 2011-04-15 15:17:24 [29837] [0] DEBUG: Started thread 6 (mmsbox.c:(gwthread_func_t *)sendmms_func) 2011-04-15 15:17:24 [29837] [0] DEBUG: Started thread 7 (mmsbox.c:(gwthread_func_t *)mmsbox_outgoing_queue_runner) 2011-04-15 15:17:24 [29837] [0] DEBUG: Started thread 8 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-04-15 15:17:24 [29837] [0] DEBUG: Started thread 9 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-04-15 15:17:24 [29837] [0] DEBUG: Started thread 10 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-04-15 15:17:24 [29837] [0] DEBUG: Started thread 11 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-04-15 15:17:24 [29837] [5] DEBUG: Thread 5 (mmsbox_mm1.c:(gwthread_func_t *)handle_mm1) maps to pid 29837. 2011-04-15 15:17:24 [29837] [4] DEBUG: Thread 4 (mmsbox_mm1.c:(gwthread_func_t *)handle_notify) maps to pid 29837. 2011-04-15 15:17:24 [29837] [6] DEBUG: Thread 6 (mmsbox.c:(gwthread_func_t *)sendmms_func) maps to pid 29837. 2011-04-15 15:17:24 [29837] [0] DEBUG: Started thread 12 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-04-15 15:17:24 [29837] [7] DEBUG: Thread 7 (mmsbox.c:(gwthread_func_t *)mmsbox_outgoing_queue_runner) maps to pid 29837. 2011-04-15 15:17:24 [29837] [8] DEBUG: Thread 8 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 29837. 2011-04-15 15:17:24 [29837] [9] DEBUG: Thread 9 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 29837. 2011-04-15 15:17:24 [29837] [10] DEBUG: Thread 10 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 29837. 2011-04-15 15:17:24 [29837] [11] DEBUG: Thread 11 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 29837. 2011-04-15 15:17:24 [29837] [5] INFO: mmsbox_mm1.c:374 <handle_mm1> [mmsbox-mm1] [n/a] handle_mm1 started 2011-04-15 15:17:24 [29837] [12] DEBUG: Thread 12 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 29837. 2011-04-15 15:17:24 [29837] [4] DEBUG: HTTP: No clients with requests, quitting. 2011-04-15 15:17:24 [29837] [4] INFO: mmsbox_mm1.c:306 <handle_notify> [mmsbox-mm1] [n/a] handle_notify exits 2011-04-15 15:17:24 [29837] [5] INFO: mmsbox_mm1.c:586 <handle_mm1> [mmsbox-mm1] [n/a] handle_mm1 exits 2011-04-15 15:17:24 [29837] [5] DEBUG: Thread 5 (mmsbox_mm1.c:(gwthread_func_t *)handle_mm1) terminates. 2011-04-15 15:17:24 [29837] [4] DEBUG: Thread 4 (mmsbox_mm1.c:(gwthread_func_t *)handle_notify) terminates. 2011-04-15 15:17:24 [29837] [7] DEBUG: Started thread 13 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-04-15 15:17:24 [29837] [7] DEBUG: Started thread 14 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-04-15 15:17:24 [29837] [7] DEBUG: Started thread 15 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-04-15 15:17:24 [29837] [7] DEBUG: Started thread 16 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-04-15 15:17:24 [29837] [7] DEBUG: Started thread 17 (mms_queue.c:(gwthread_func_t *)tdeliver) 2011-04-15 15:17:24 [29837] [6] DEBUG: Started thread 18 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) 2011-04-15 15:17:24 [29837] [6] DEBUG: Started thread 19 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) 2011-04-15 15:17:24 [29837] [6] DEBUG: Started thread 20 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) 2011-04-15 15:17:24 [29837] [6] DEBUG: Started thread 21 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) 2011-04-15 15:17:24 [29837] [6] DEBUG: Started thread 22 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) 2011-04-15 15:17:24 [29837] [13] DEBUG: Thread 13 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 29837. 2011-04-15 15:17:24 [29837] [14] DEBUG: Thread 14 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 29837. 2011-04-15 15:17:24 [29837] [15] DEBUG: Thread 15 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 29837. 2011-04-15 15:17:24 [29837] [16] DEBUG: Thread 16 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 29837. 2011-04-15 15:17:24 [29837] [17] DEBUG: Thread 17 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 29837. 2011-04-15 15:17:24 [29837] [18] DEBUG: Thread 18 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) maps to pid 29837. 2011-04-15 15:17:24 [29837] [19] DEBUG: Thread 19 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) maps to pid 29837. 2011-04-15 15:17:24 [29837] [20] DEBUG: Thread 20 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) maps to pid 29837. 2011-04-15 15:17:24 [29837] [21] DEBUG: Thread 21 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) maps to pid 29837. 2011-04-15 15:17:24 [29837] [22] DEBUG: Thread 22 (mmsbox.c:(gwthread_func_t *)dispatch_sendmms_recv) maps to pid 29837. 2011-04-15 15:17:24 [29837] [7] DEBUG: Queued to thread 0 for /var/spool/mbuni/mmsbox_outgoing/qf6834.1.x402.17, sendt=1302870048, tnow=1302873444 2011-04-15 15:17:24 [29837] [13] ERROR: bearerbox.c:1679 <process_send_res> [MM7] [n/a] Retry later MMSBox Outgoing Queue MMS Send: From 48663837206/TYPE=PLMN, to 48xxxxxxxxx/TYPE=PLMN, msgsize=111: internal error, mm1 notify not started 2011-04-15 15:17:24 [29837] [7] DEBUG: Queued to thread 1 for /var/spool/mbuni/mmsbox_outgoing/qf6077.2.x172.60, sendt=1302871004, tnow=1302873444 2011-04-15 15:17:25 [29837] [7] DEBUG: Queued to thread 2 for /var/spool/mbuni/mmsbox_outgoing/qf6042.1.x172.10, sendt=1302871004, tnow=1302873445 2011-04-15 15:17:25 [29837] [7] DEBUG: Queued to thread 3 for /var/spool/mbuni/mmsbox_outgoing/qf9381.1.x80.68, sendt=1302872900, tnow=1302873445 2011-04-15 15:17:25 [29837] [7] DEBUG: Queued to thread 4 for /var/spool/mbuni/mmsbox_outgoing/qf6543.1.x277.83, sendt=1302869551, tnow=1302873445 2011-04-15 15:17:25 [29837] [7] DEBUG: Queued to thread 0 for /var/spool/mbuni/mmsbox_outgoing/qf3714.1.x245.3, sendt=1302871004, tnow=1302873445 2011-04-15 15:17:25 [29837] [7] DEBUG: Queued to thread 1 for /var/spool/mbuni/mmsbox_outgoing/qf7975.1.x716.85, sendt=1302869783, tnow=1302873445 2011-04-15 15:17:25 [29837] [7] DEBUG: Queued to thread 2 for /var/spool/mbuni/mmsbox_outgoing/qf7419.1.x531.74, sendt=1302870704, tnow=1302873445 2011-04-15 15:17:25 [29837] [7] DEBUG: Queued to thread 3 for /var/spool/mbuni/mmsbox_outgoing/w/qf8131.1.x795.58, sendt=1302870404, tnow=1302873445 2011-04-15 15:17:25 [29837] [7] DEBUG: Queued to thread 4 for /var/spool/mbuni/mmsbox_outgoing/u/qf6858.2.x402.14, sendt=1302870048, tnow=1302873445 2011-04-15 15:17:25 [29837] [7] DEBUG: Queued to thread 0 for /var/spool/mbuni/mmsbox_outgoing/n/qf8919.2.x795.30, sendt=1302870104, tnow=1302873445 2011-04-15 15:17:25 [29837] [14] ERROR: bearerbox.c:1679 <process_send_res> [MM7] [n/a] Retry later MMSBox Outgoing Queue MMS Send: From 48663837206/TYPE=PLMN, to 48xxxxxxxxx/TYPE=PLMN, msgsize=111: internal error, mm1 notify not started 2011-04-15 15:17:25 [29837] [16] ERROR: bearerbox.c:1679 <process_send_res> [MM7] [n/a] Retry later MMSBox Outgoing Queue MMS Send: From 100/TYPE=PLMN, to 48xxxxxxxxx/TYPE=PLMN, msgsize=102: internal error, mm1 notify not started! 2011-04-15 15:17:25 [29837] [15] ERROR: bearerbox.c:1679 <process_send_res> [MM7] [n/a] Retry later MMSBox Outgoing Queue MMS Send: From 48663837206/TYPE=PLMN, to 48xxxxxxxxx/TYPE=PLMN, msgsize=111: internal error, mm1 notify not started 2011-04-15 15:17:25 [29837] [17] ERROR: bearerbox.c:1679 <process_send_res> [MM7] [n/a] Retry later MMSBox Outgoing Queue MMS Send: From 48663837206/TYPE=PLMN, to 48xxxxxxxxx/TYPE=PLMN, msgsize=111: internal error, mm1 notify not started 2011-04-15 15:17:25 [29837] [13] ERROR: bearerbox.c:1679 <process_send_res> [MM7] [n/a] Retry later MMSBox Outgoing Queue MMS Send: From 48663837206/TYPE=PLMN, to 48xxxxxxxxx/TYPE=PLMN, msgsize=110: internal error, mm1 notify not started 2011-04-15 15:17:25 [29837] [16] ERROR: bearerbox.c:1679 <process_send_res> [MM7] [n/a] Retry later MMSBox Outgoing Queue MMS Send: From 48663837206/TYPE=PLMN, to 48xxxxxxxxx/TYPE=PLMN, msgsize=113: internal error, mm1 notify not started 2011-04-15 15:17:25 [29837] [14] ERROR: bearerbox.c:1679 <process_send_res> [MM7] [n/a] Retry later MMSBox Outgoing Queue MMS Send: From 48663837206/TYPE=PLMN, to 48xxxxxxxxx/TYPE=PLMN, msgsize=111: internal error, mm1 notify not started 2011-04-15 15:17:25 [29837] [17] ERROR: bearerbox.c:1679 <process_send_res> [MM7] [n/a] Retry later MMSBox Outgoing Queue MMS Send: From 48663837206/TYPE=PLMN, to 48xxxxxxxxx/TYPE=PLMN, msgsize=113: internal error, mm1 notify not started 2011-04-15 15:17:25 [29837] [15] ERROR: bearerbox.c:1679 <process_send_res> [MM7] [n/a] Retry later MMSBox Outgoing Queue MMS Send: From 48663837206/TYPE=PLMN, to 48xxxxxxxxx/TYPE=PLMN, msgsize=111: internal error, mm1 notify not started 2011-04-15 15:17:25 [29837] [13] ERROR: bearerbox.c:1679 <process_send_res> [MM7] [n/a] Retry later MMSBox Outgoing Queue MMS Send: From 48663837206/TYPE=PLMN, to 48xxxxxxxxx/TYPE=PLMN, msgsize=113: internal error, mm1 notify not started 2011-04-15 15:18:09 [29837] [3] DEBUG: HTTP: Creating HTTPClient for `192.168.7.15'. 2011-04-15 15:18:09 [29837] [3] DEBUG: HTTP: Created HTTPClient area 0xb5f00b30. 2011-04-15 15:18:09 [29837] [18] DEBUG: WSP: Mapping `text/plain', WSP 1.2 to 0x0003. 2011-04-15 15:18:10 [29837] [18] INFO: mmsbox.c:1365 <make_and_queue_msg> [mmsbox] [n/a] MMSBox: Queued message from service [sendmms-user], [transid [Mbuni-msg.3489.x1.37.39]: 1-9l-qf3489.1.x837.54 2011-04-15 15:18:10 [29837] [18] DEBUG: HTTP: Resetting HTTPClient for `192.168.7.15'. 2011-04-15 15:18:10 [29837] [18] INFO: mmsbox.c:1613 <dispatch_sendmms_recv> [mmsbox] [n/a] MMSBox.mmssend: u=ginn, Queued [Accepted: Mbuni-msg.3489.x1.37.39] 2011-04-15 15:18:10 [29837] [7] DEBUG: Queued to thread 1 for /var/spool/mbuni/mmsbox_outgoing/1/9l/qf3489.1.x837.54, sendt=1302873489, tnow=1302873490 2011-04-15 15:18:10 [29837] [14] ERROR: bearerbox.c:1679 <process_send_res> [MM7] [n/a] Retry later MMSBox Outgoing Queue MMS Send: From 100/TYPE=PLMN, to 48xxxxxxxxx/TYPE=PLMN, msgsize=98: internal error, mm1 notify not started! 2011-04-15 15:19:10 [29837] [2] DEBUG: Timeout for fd:32 appeares. 2011-04-15 15:19:10 [29837] [2] DEBUG: HTTP: Destroying HTTPClient area 0xb5f00b30. 2011-04-15 15:19:10 [29837] [2] DEBUG: HTTP: Destroying HTTPClient for `192.168.7.15'. Greetings Stanislaw Czech NOWATEL Sp. z o.o. http://www.nowatel.com _______________________________________________ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users