Re: [Users] My Logs (part 1)
Hi, It seems that Kannel receives the MMS notification, but instead of passing it to Mbuni (see doc), you pass it to a PHP script (smsd.php). Looks like a kannel configuration error. On Nov 10, 2010, at 14:12, Druss Drenai wrote: > I noticed too late that in my previous post my logs where so long that it > required an admin approval. > For this reason,i'm gonna create 2 post where i'm going to paste my logs (not > anymore with precision=0,but with precision=1 because i noticed that many > things reported seem to be ok): > > (1)(BEARERBOX) > 2010-11-10 11:53:47 [3469] [0] INFO: Debug_lvl = 1, log_file = , > log_lvl = 0 > 2010-11-10 11:53:47 [3469] [0] WARNING: DLR: using default 'internal' for > storage type. > 2010-11-10 11:53:47 [3469] [0] INFO: DLR using storage type: internal > 2010-11-10 11:53:47 [3469] [0] INFO: Added logfile > `/etc/kannel/log/kannel.log' with level `0'. > 2010-11-10 11:53:47 [3469] [0] INFO: SSL not supported, no SSL initialization > done. > 2010-11-10 11:53:47 [3469] [0] INFO: HTTP: Opening server at port 13000. > 2010-11-10 11:53:47 [3469] [0] INFO: BOXC: 'smsbox-max-pending' not set, > using default (100). > 2010-11-10 11:53:47 [3469] [0] INFO: Set SMS resend frequency to 60 seconds. > 2010-11-10 11:53:47 [3469] [0] INFO: SMS resend retry set to unlimited. > 2010-11-10 11:53:47 [3469] [0] INFO: DLR rerouting for smsc id <3453361361> > disabled. > 2010-11-10 11:53:47 [3469] [0] INFO: AT2[3453361361]: configuration doesn't > show modemtype. will autodetect > 2010-11-10 11:53:47 [3469] [6] INFO: AT2[3453361361]: opening device > 2010-11-10 11:53:47 [3469] [0] INFO: Adding interface * > 2010-11-10 11:53:47 [3469] [0] INFO: > 2010-11-10 11:53:47 [3469] [0] INFO: Kannel bearerbox II version 1.4.3 > starting > 2010-11-10 11:53:47 [3469] [0] INFO: MAIN: Start-up done, entering mainloop > 2010-11-10 11:53:48 [3469] [6] INFO: AT2[3453361361]: speed set to 9600 > 2010-11-10 11:53:50 [3469] [6] INFO: AT2[3453361361]: Phase 2+ is supported > 2010-11-10 11:53:50 [3469] [6] INFO: AT2[3453361361]: Closing device > 2010-11-10 11:53:50 [3469] [6] INFO: AT2[3453361361]: opening device > 2010-11-10 11:53:50 [3469] [6] INFO: AT2[3453361361]: Logging in > 2010-11-10 11:53:50 [3469] [6] INFO: AT2[3453361361]: init device > 2010-11-10 11:53:50 [3469] [6] INFO: AT2[3453361361]: speed set to 9600 > 2010-11-10 11:53:52 [3469] [6] INFO: AT2[3453361361]: Phase 2+ is supported > 2010-11-10 11:53:52 [3469] [6] INFO: AT2[3453361361]: AT SMSC successfully > opened. > 2010-11-10 11:54:05 [3469] [13] INFO: Client connected from <127.0.0.1> > 2010-11-10 11:54:54 [3469] [5] INFO: Client connected from <127.0.0.1> > > (2)(SMSBOX) > > 2010-11-10 11:54:54 [3529] [0] INFO: Debug_lvl = 0, log_file = , > log_lvl = 0 > 2010-11-10 11:54:54 [3529] [0] DEBUG: Loading include file > `/etc/kannel/core.conf' (on line 1 of file /etc/kannel/kannel.conf). > 2010-11-10 11:54:54 [3529] [0] DEBUG: Loading include file > `/etc/kannel/modems.conf' (on line 3 of file /etc/kannel/core.conf). > 2010-11-10 11:54:54 [3529] [0] DEBUG: Kannel smsbox version `1.4.3'. > Build `Nov 2 2010 15:25:35', compiler `4.3.2'. > System Linux, release 2.6.26-2-686, version #1 SMP Thu Sep 16 19:35:51 UTC > 2010, machine i686. > Hostname debian.kalilab.it, IP 127.0.0.1. > Libxml version 2.6.32. > Using native malloc. > > 2010-11-10 11:54:54 [3529] [0] INFO: Starting to log to file > /etc/kannel/log/smsbox.log level 0 > 2010-11-10 11:54:54 [3529] [0] INFO: Added logfile > `/etc/kannel/log/smsbox.log' with level `0'. > 2010-11-10 11:54:54 [3529] [0] INFO: HTTP: Opening server at port 13013. > 2010-11-10 11:54:54 [3529] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) > 2010-11-10 11:54:54 [3529] [0] DEBUG: Started thread 2 > (gwlib/http.c:server_thread) > 2010-11-10 11:54:54 [3529] [0] INFO: Set up send sms service at port 13013 > 2010-11-10 11:54:54 [3529] [0] DEBUG: Started thread 3 > (gw/smsbox.c:sendsms_thread) > 2010-11-10 11:54:54 [3529] [0] DEBUG: > -- > 2010-11-10 11:54:54 [3529] [0] DEBUG: Kannel smsbox version 1.4.3 starting > 2010-11-10 11:54:54 [3529] [0] DEBUG: dumping group (sendsms-user): > 2010-11-10 11:54:54 [3529] [0] DEBUG: = > 2010-11-10 11:54:54 [3529] [0] DEBUG: = > 2010-11-10 11:54:54 [3529] [0] DEBUG: = > 2010-11-10 11:54:54 [3529] [0] DEBUG: Started thread 4 > (gw/smsbox.c:obey_request_thread) > 2010-11-10 11:54:54 [3529] [0] DEBUG: Started thread 5 > (gw/smsbox.c:url_result_thread) > 2010-11-10 11:54:54 [3529] [0] DEBUG: Started thread 6 > (gw/smsbox.c:http_queue_thread) > 2010-11-10 11:54:54 [3529] [4] DEBUG: Thread 4 > (gw/smsbox.c:obey_request_thread) maps to pid 3529. > 2010-11-10 11:54:54 [3529] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to > pid 3529. > 2010-11-10 11:54:54 [3529] [5] DEBUG: Thread 5 > (gw/smsbox.c:url_result_thread) maps to pid 3529. > 2010-11-10 11:54:54 [3529] [
[Users] My Logs (part 1)
I noticed too late that in my previous post my logs where so long that it required an admin approval. For this reason,i'm gonna create 2 post where i'm going to paste my logs (not anymore with precision=0,but with precision=1 because i noticed that many things reported seem to be ok): (1)(BEARERBOX) 2010-11-10 11:53:47 [3469] [0] INFO: Debug_lvl = 1, log_file = , log_lvl = 0 2010-11-10 11:53:47 [3469] [0] WARNING: DLR: using default 'internal' for storage type. 2010-11-10 11:53:47 [3469] [0] INFO: DLR using storage type: internal 2010-11-10 11:53:47 [3469] [0] INFO: Added logfile `/etc/kannel/log/kannel.log' with level `0'. 2010-11-10 11:53:47 [3469] [0] INFO: SSL not supported, no SSL initialization done. 2010-11-10 11:53:47 [3469] [0] INFO: HTTP: Opening server at port 13000. 2010-11-10 11:53:47 [3469] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2010-11-10 11:53:47 [3469] [0] INFO: Set SMS resend frequency to 60 seconds. 2010-11-10 11:53:47 [3469] [0] INFO: SMS resend retry set to unlimited. 2010-11-10 11:53:47 [3469] [0] INFO: DLR rerouting for smsc id <3453361361> disabled. 2010-11-10 11:53:47 [3469] [0] INFO: AT2[3453361361]: configuration doesn't show modemtype. will autodetect 2010-11-10 11:53:47 [3469] [6] INFO: AT2[3453361361]: opening device 2010-11-10 11:53:47 [3469] [0] INFO: Adding interface * 2010-11-10 11:53:47 [3469] [0] INFO: 2010-11-10 11:53:47 [3469] [0] INFO: Kannel bearerbox II version 1.4.3 starting 2010-11-10 11:53:47 [3469] [0] INFO: MAIN: Start-up done, entering mainloop 2010-11-10 11:53:48 [3469] [6] INFO: AT2[3453361361]: speed set to 9600 2010-11-10 11:53:50 [3469] [6] INFO: AT2[3453361361]: Phase 2+ is supported 2010-11-10 11:53:50 [3469] [6] INFO: AT2[3453361361]: Closing device 2010-11-10 11:53:50 [3469] [6] INFO: AT2[3453361361]: opening device 2010-11-10 11:53:50 [3469] [6] INFO: AT2[3453361361]: Logging in 2010-11-10 11:53:50 [3469] [6] INFO: AT2[3453361361]: init device 2010-11-10 11:53:50 [3469] [6] INFO: AT2[3453361361]: speed set to 9600 2010-11-10 11:53:52 [3469] [6] INFO: AT2[3453361361]: Phase 2+ is supported 2010-11-10 11:53:52 [3469] [6] INFO: AT2[3453361361]: AT SMSC successfully opened. 2010-11-10 11:54:05 [3469] [13] INFO: Client connected from <127.0.0.1> 2010-11-10 11:54:54 [3469] [5] INFO: Client connected from <127.0.0.1> (2)(SMSBOX) 2010-11-10 11:54:54 [3529] [0] INFO: Debug_lvl = 0, log_file = , log_lvl = 0 2010-11-10 11:54:54 [3529] [0] DEBUG: Loading include file `/etc/kannel/core.conf' (on line 1 of file /etc/kannel/kannel.conf). 2010-11-10 11:54:54 [3529] [0] DEBUG: Loading include file `/etc/kannel/modems.conf' (on line 3 of file /etc/kannel/core.conf). 2010-11-10 11:54:54 [3529] [0] DEBUG: Kannel smsbox version `1.4.3'. Build `Nov 2 2010 15:25:35', compiler `4.3.2'. System Linux, release 2.6.26-2-686, version #1 SMP Thu Sep 16 19:35:51 UTC 2010, machine i686. Hostname debian.kalilab.it, IP 127.0.0.1. Libxml version 2.6.32. Using native malloc. 2010-11-10 11:54:54 [3529] [0] INFO: Starting to log to file /etc/kannel/log/smsbox.log level 0 2010-11-10 11:54:54 [3529] [0] INFO: Added logfile `/etc/kannel/log/smsbox.log' with level `0'. 2010-11-10 11:54:54 [3529] [0] INFO: HTTP: Opening server at port 13013. 2010-11-10 11:54:54 [3529] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2010-11-10 11:54:54 [3529] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2010-11-10 11:54:54 [3529] [0] INFO: Set up send sms service at port 13013 2010-11-10 11:54:54 [3529] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread) 2010-11-10 11:54:54 [3529] [0] DEBUG: -- 2010-11-10 11:54:54 [3529] [0] DEBUG: Kannel smsbox version 1.4.3 starting 2010-11-10 11:54:54 [3529] [0] DEBUG: dumping group (sendsms-user): 2010-11-10 11:54:54 [3529] [0] DEBUG: = 2010-11-10 11:54:54 [3529] [0] DEBUG: = 2010-11-10 11:54:54 [3529] [0] DEBUG: = 2010-11-10 11:54:54 [3529] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2010-11-10 11:54:54 [3529] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2010-11-10 11:54:54 [3529] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2010-11-10 11:54:54 [3529] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 3529. 2010-11-10 11:54:54 [3529] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 3529. 2010-11-10 11:54:54 [3529] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 3529. 2010-11-10 11:54:54 [3529] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 3529. 2010-11-10 11:54:54 [3529] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 3529. 2010-11-10 11:54:54 [3529] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 3529. 2010-11-10 11:54:54 [3529] [0] INFO: Connected to bearerbox at 127.0.0.1 port 13001. 2010-11-10 11:54:54 [3529] [0] DEBUG: Started thread 7 (gw/heart