Also I have followed the "Modem initialization" section in the 1.4.3 UG & have done the permissions settings accordingly. I have also tried run the kannel service as root user. But dont see any changes in the behavior.
sudhakar_yg wrote: > > Thanks for reply Rene, > I had read about the permission issue on /dev/ttyUSB0. I have given chmod > 777 permission to /dev/ttyUSB0. > I am able to access the modem over same port using minicom without any > issues. > If this permission is not proper, what else permissions i need to give? > > Cheers, > Sudhakar > > > > Rene Kluwen wrote: >> >> Are you sure minicom responds when you enter /dev/ttyUSB0? >> If yes, maybe it's a permission issue. >> >> -----Original Message----- >> From: [email protected] [mailto:[email protected]] >> On >> Behalf Of sudhakar_yg >> Sent: Wednesday, 12 September, 2012 09:48 >> To: [email protected] >> Subject: Kannel With SIM300 GSM Modem >> >> >> Hi, >> I am setting up the kannel over simcom GSM modem. Attached is my >> configuration file. >> http://old.nabble.com/file/p34422189/simcom.conf simcom.conf When I try >> to >> bring up my bearerbox & monitor the SMPP log, Following are my SMPP & >> Kannel >> log, >> ---------------------------------------------------------------------------- >> ---------------------------------- >> SMPP LOG >> ---------------------------------------------------------------------------- >> ---------------------------------- >> 2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: detecting modem speed. >> 2012-09-12 01:05:16 [8841] [6] INFO: AT2[gsm]: opening device >> 2012-09-12 01:05:16 [8841] [6] DEBUG: AT2[gsm]: device opened. Telnet >> mode = >> 0 >> 2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: device opened >> 2012-09-12 01:05:17 [8841] [6] INFO: AT2[gsm]: speed set to 115200 >> 2012-09-12 01:05:17 [8841] [6] DEBUG: AT2[gsm]: --> ^M >> 2012-09-12 01:05:19 [8841] [6] DEBUG: AT2[gsm]: --> AT^M >> 2012-09-12 01:05:25 [8841] [6] DEBUG: AT2[gsm]: --> AT^M >> 2012-09-12 01:05:31 [8841] [6] DEBUG: AT2[gsm]: --> AT^M >> >> ---------------------------------------------------------------------------- >> ----------------------------------- >> Kannel Log >> ---------------------------------------------------------------------------- >> ---------------------------------- >> sudhakar@5DMark-II:~/kannel/sbin$ bearerbox ../config/simcom.conf >> 2012-09-12 12:55:42 [14593] [0] INFO: Debug_lvl = -1, log_file = <none>, >> log_lvl = 0 >> 2012-09-12 12:55:42 [14593] [0] WARNING: DLR: using default 'internal' >> for >> storage type. >> 2012-09-12 12:55:42 [14593] [0] INFO: DLR using storage type: internal >> 2012-09-12 12:55:42 [14593] [0] DEBUG: Kannel bearerbox version >> `svn-r4910M'. >> Build `Sep 6 2012 09:22:08', compiler `4.6.3'. >> System Linux, release 3.2.0-29-generic-pae, version #46-Ubuntu SMP Fri >> Jul >> 27 17:25:43 UTC 2012, machine i686. >> Hostname 5DMark-II, IP 127.0.1.1. >> Libxml version 2.7.8. >> Compiled with MySQL 5.5.24, using MySQL 5.5.24. >> Using native malloc. >> >> 2012-09-12 12:55:42 [14593] [0] INFO: Added logfile >> `/home/sudhakar/kannel/logs/kannel.log' with level `0'. >> 2012-09-12 12:55:42 [14593] [0] INFO: Started access logfile >> `/home/sudhakar/kannel/logs/access.log'. >> 2012-09-12 12:55:42 [14593] [0] INFO: SSL not supported, no SSL >> initialization done. >> 2012-09-12 12:55:42 [14593] [0] INFO: HTTP: Opening server at port 13000. >> 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 1 >> (gwlib/fdset.c:poller) >> 2012-09-12 12:55:42 [14593] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) >> maps >> to pid 14593. >> 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 2 >> (gwlib/http.c:server_thread) >> 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 3 >> (gw/bb_http.c:httpadmin_run) >> 2012-09-12 12:55:42 [14593] [0] DEBUG: starting smsbox connection module >> 2012-09-12 12:55:42 [14593] [0] INFO: BOXC: 'smsbox-max-pending' not set, >> using default (100). >> 2012-09-12 12:55:42 [14593] [0] DEBUG: Adding smsbox routing to id >> <smsbox> >> for smsc id <gsm> >> 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 4 >> (gw/bb_boxc.c:sms_to_smsboxes) >> 2012-09-12 12:55:42 [14593] [4] DEBUG: Thread 4 >> (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 14593. >> 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 5 >> (gw/bb_boxc.c:smsboxc_run) >> 2012-09-12 12:55:42 [14593] [0] INFO: Set SMS resend frequency to 60 >> seconds. >> 2012-09-12 12:55:42 [14593] [0] INFO: SMS resend retry set to unlimited. >> 2012-09-12 12:55:42 [14593] [0] DEBUG: MO concatenated message handling >> enabled >> 2012-09-12 12:55:42 [14593] [0] INFO: DLR rerouting for smsc id <gsm> >> disabled. >> 2012-09-12 12:55:42 [14593] [0] INFO: Added logfile >> `/home/sudhakar/kannel/logs/smpp.log' with level `0'. >> 2012-09-12 12:55:42 [14593] [0] INFO: AT2[gsm]: configuration doesn't >> show >> modemtype. will autodetect >> 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 6 >> (gw/smsc/smsc_at.c:at2_device_thread) >> 2012-09-12 12:55:42 [14593] [6] DEBUG: Thread 6 >> (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 14593. >> 2012-09-12 12:55:42 [14593] [6] INFO: Logging thread `6' to logfile >> `/home/sudhakar/kannel/logs/smpp.log' with level `0'. >> 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 7 >> (gw/bb_smscconn.c:sms_router) >> 2012-09-12 12:55:42 [14593] [0] INFO: >> ---------------------------------------- >> 2012-09-12 12:55:42 [14593] [5] DEBUG: Thread 5 >> (gw/bb_boxc.c:smsboxc_run) >> maps to pid 14593. >> 2012-09-12 12:55:42 [14593] [0] INFO: Kannel bearerbox II version >> svn-r4910M >> starting >> 2012-09-12 12:55:42 [14593] [0] INFO: Loading store file >> `/home/sudhakar/kannel/logs/kannel.store' >> 2012-09-12 12:55:42 [14593] [0] INFO: Store-file size 0, starting to >> unpack >> 2012-09-12 12:55:42 [14593] [0] INFO: Retrieved 0 messages, >> non-acknowledged >> messages: 0 >> 2012-09-12 12:55:42 [14593] [0] DEBUG: Started thread 8 >> (gw/bb_store_file.c:store_dumper) >> 2012-09-12 12:55:42 [14593] [8] DEBUG: Thread 8 >> (gw/bb_store_file.c:store_dumper) maps to pid 14593. >> 2012-09-12 12:55:42 [14593] [7] DEBUG: Thread 7 >> (gw/bb_smscconn.c:sms_router) maps to pid 14593. >> 2012-09-12 12:55:42 [14593] [0] INFO: MAIN: Start-up done, entering >> mainloop >> 2012-09-12 12:55:42 [14593] [0] DEBUG: AT2[gsm]: start called >> 2012-09-12 12:55:42 [14593] [8] DEBUG: Dumping 0 messages to store >> 2012-09-12 12:55:42 [14593] [3] DEBUG: Thread 3 >> (gw/bb_http.c:httpadmin_run) >> maps to pid 14593. >> 2012-09-12 12:55:42 [14593] [2] DEBUG: Thread 2 >> (gwlib/http.c:server_thread) >> maps to pid 14593. >> 2012-09-12 12:55:42 [14593] [2] DEBUG: HTTP: Including port 13000, fd 11 >> for >> polling in server thread >> >> ---------------------------------------------------------------------------- >> ----------------------------------- >> >> After this kannel doesn't proceed further from there & I don't see the >> SMSC >> connectivity happening. >> I have used minicom & derived on the appropriate AT commands for init >> strings. Did a lot of googling & did not find solution for my problem. >> Please suggest a solution & let me know where am I going wrong with my >> setup. >> >> Thanks in advance, >> Sudhakar >> >> >> >> -- >> View this message in context: >> http://old.nabble.com/Kannel-With-SIM300-GSM-Modem-tp34422189p34422189.html >> Sent from the Kannel - User mailing list archive at Nabble.com. >> >> >> >> >> >> > > -- View this message in context: http://old.nabble.com/Kannel-With-SIM300-GSM-Modem-tp34422189p34423838.html Sent from the Kannel - User mailing list archive at Nabble.com.
