Hello, I am still have no luck in sending sms through nokia phone. Can anybody please send me working kannel.config that is using phone for sending sms.
Thank you! On Mon, Nov 5, 2012 at 5:43 PM, Jonas Jasas <[email protected]> wrote: > > This is my smsbox.log : > =============================================================== > 2012-11-05 17:31:56 [29624] [0] INFO: Added logfile > `/var/log/kannel/smsbox.log' with level `0'. > 2012-11-05 17:31:56 [29624] [0] INFO: Service global sender set as ' > +37069502042' > 2012-11-05 17:31:56 [29624] [0] INFO: Logging accesses to > '/var/log/kannel/access.log'. > 2012-11-05 17:31:56 [29624] [0] INFO: Started access logfile > `/var/log/kannel/access.log'. > 2012-11-05 17:31:56 [29624] [0] DEBUG: > ---------------------------------------------- > 2012-11-05 17:31:56 [29624] [0] DEBUG: Kannel smsbox version 1.4.3 starting > 2012-11-05 17:31:56 [29624] [0] DEBUG: dumping group (sendsms-user): > 2012-11-05 17:31:56 [29624] [0] DEBUG: <group> = <sendsms-user> > 2012-11-05 17:31:56 [29624] [0] DEBUG: <username> = <a> > 2012-11-05 17:31:56 [29624] [0] DEBUG: <password> = <b> > 2012-11-05 17:31:56 [29624] [0] DEBUG: Started thread 1 > (gw/smsbox.c:obey_request_thread) > 2012-11-05 17:31:56 [29624] [1] DEBUG: Thread 1 > (gw/smsbox.c:obey_request_thread) maps to pid 29624. > 2012-11-05 17:31:56 [29624] [0] DEBUG: Started thread 2 > (gw/smsbox.c:url_result_thread) > 2012-11-05 17:31:56 [29624] [2] DEBUG: Thread 2 > (gw/smsbox.c:url_result_thread) maps to pid 29624. > 2012-11-05 17:31:56 [29624] [0] DEBUG: Started thread 3 > (gw/smsbox.c:http_queue_thread) > 2012-11-05 17:31:56 [29624] [0] INFO: Connected to bearerbox at localhost > port 13001. > 2012-11-05 17:31:56 [29624] [0] DEBUG: Started thread 4 > (gw/heartbeat.c:heartbeat_thread) > 2012-11-05 17:31:56 [29624] [3] DEBUG: Thread 3 > (gw/smsbox.c:http_queue_thread) maps to pid 29624. > 2012-11-05 17:31:56 [29624] [4] DEBUG: Thread 4 > (gw/heartbeat.c:heartbeat_thread) maps to pid 29624. > =============================================================== > > > On Mon, Nov 5, 2012 at 5:21 PM, Alvaro Cornejo > <[email protected]>wrote: > >> Hi >> >> What about your smsbox log? >> >> Regards >> >> Alvaro >> >> On 11/5/12, Jonas Jasas <[email protected]> wrote: >> > Hello, >> > >> > When I try to send an SMS browser is not getting any response from >> Kannel >> > and SMS is not getting sent. I am using Ubuntu 12.04 and Kannel 1.4.3 >> > (I can send SMS manually using AT commands, so modem is working fine) >> > >> > What I do wrong? >> > I would appreciate your help. >> > >> > This is my kannel.conf : >> > =============================================================== >> > group = core >> > admin-port = 13000 >> > smsbox-port = 13001 >> > admin-password = test >> > #admin-deny-ip = "*.*.*.*" >> > admin-allow-ip = "*.*.*.*" >> > #box-deny-ip = "*.*.*.*" >> > box-allow-ip = "*.*.*.*" >> > log-file = "/var/log/kannel/bearerbox.log" >> > >> > # SMC >> > group = smsc >> > smsc = at >> > modemtype = auto >> > device = /dev/ttyACM0 >> > my-number = "+37069502042" >> > speed = 19200 >> > connect-allow-ip = "*.*.*.*" >> > log-level = 0 >> > pin = 9305 >> > >> > # MODEM DEFINITIONS >> > group = modems >> > id = nokia >> > name = "Nokia" >> > detect-string = "Nokia" >> > init-string = "AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0" >> > >> > # SMSBOX SETUP >> > group = smsbox >> > bearerbox-host = localhost >> > sendsms-chars = "0123456789+" >> > global-sender = "+37069502042" >> > log-file = "/var/log/kannel/smsbox.log" >> > log-level = 0 >> > access-log = "/var/log/kannel/access.log" >> > #sendsms-port = 13013 >> > >> > # SEND-SMS USERS >> > group = sendsms-user >> > username = a >> > password = b >> > #concatenation= true >> > #max-messages = 10 >> > >> > # FOR RECIEVEING SMS MESSAGES >> > group = sms-service >> > keyword = >> > #keyword-regex = .* >> > catch-all = yes >> > max-messages = 0 >> > get-url = "http://localhost/sms?phone=%p&text=%a" >> > =============================================================== >> > >> > >> > >> > This is log: >> > =============================================================== >> > 2012-11-05 16:14:53 [28202] [0] INFO: Added logfile >> > `/var/log/kannel/bearerbox.log' with level `0'. >> > 2012-11-05 16:14:53 [28202] [0] INFO: HTTP: Opening server at port >> 13000. >> > 2012-11-05 16:14:53 [28202] [0] DEBUG: Started thread 1 >> > (gwlib/fdset.c:poller) >> > 2012-11-05 16:14:53 [28202] [0] DEBUG: Started thread 2 >> > (gwlib/http.c:server_thread) >> > 2012-11-05 16:14:53 [28202] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) >> maps >> > to pid 28202. >> > 2012-11-05 16:14:53 [28202] [0] DEBUG: Started thread 3 >> > (gw/bb_http.c:httpadmin_run) >> > 2012-11-05 16:14:53 [28202] [0] DEBUG: starting smsbox connection module >> > 2012-11-05 16:14:53 [28202] [0] INFO: BOXC: 'smsbox-max-pending' not >> set, >> > using default (100). >> > 2012-11-05 16:14:53 [28202] [0] DEBUG: Started thread 4 >> > (gw/bb_boxc.c:sms_to_smsboxes) >> > 2012-11-05 16:14:53 [28202] [0] DEBUG: Started thread 5 >> > (gw/bb_boxc.c:smsboxc_run) >> > 2012-11-05 16:14:53 [28202] [0] INFO: Set SMS resend frequency to 60 >> > seconds. >> > 2012-11-05 16:14:53 [28202] [0] INFO: SMS resend retry set to unlimited. >> > 2012-11-05 16:14:53 [28202] [0] DEBUG: smsbox MO concatenated message >> > handling enabled >> > 2012-11-05 16:14:53 [28202] [0] INFO: DLR rerouting for smsc id <(null)> >> > disabled. >> > 2012-11-05 16:14:53 [28202] [0] INFO: AT2[/dev/ttyACM0]: configuration >> > doesn't show modemtype. will autodetect >> > 2012-11-05 16:14:53 [28202] [0] DEBUG: Started thread 6 >> > (gw/smsc/smsc_at.c:at2_device_thread) >> > 2012-11-05 16:14:53 [28202] [6] DEBUG: Thread 6 >> > (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 28202. >> > 2012-11-05 16:14:53 [28202] [0] DEBUG: Started thread 7 >> > (gw/bb_smscconn.c:sms_router) >> > 2012-11-05 16:14:53 [28202] [0] INFO: >> > ---------------------------------------- >> > 2012-11-05 16:14:53 [28202] [0] INFO: Kannel bearerbox II version 1.4.3 >> > starting >> > 2012-11-05 16:14:53 [28202] [7] DEBUG: Thread 7 >> > (gw/bb_smscconn.c:sms_router) maps to pid 28202. >> > 2012-11-05 16:14:53 [28202] [2] DEBUG: Thread 2 >> > (gwlib/http.c:server_thread) maps to pid 28202. >> > 2012-11-05 16:14:53 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: detecting >> modem >> > type >> > 2012-11-05 16:14:53 [28202] [6] INFO: AT2[/dev/ttyACM0]: opening device >> > 2012-11-05 16:14:53 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: device opened. >> > Telnet mode = 0 >> > 2012-11-05 16:14:53 [28202] [0] INFO: MAIN: Start-up done, entering >> > mainloop >> > 2012-11-05 16:14:53 [28202] [0] DEBUG: AT2[/dev/ttyACM0]: start called >> > 2012-11-05 16:14:53 [28202] [5] DEBUG: Thread 5 >> (gw/bb_boxc.c:smsboxc_run) >> > maps to pid 28202. >> > 2012-11-05 16:14:53 [28202] [4] DEBUG: Thread 4 >> > (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 28202. >> > 2012-11-05 16:14:53 [28202] [3] DEBUG: Thread 3 >> > (gw/bb_http.c:httpadmin_run) maps to pid 28202. >> > 2012-11-05 16:14:54 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: device opened >> > 2012-11-05 16:14:54 [28202] [6] INFO: AT2[/dev/ttyACM0]: speed set to >> 19200 >> > 2012-11-05 16:14:54 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: --> ^M >> > 2012-11-05 16:14:56 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M >> > 2012-11-05 16:14:56 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT >> > 2012-11-05 16:14:56 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK >> > 2012-11-05 16:14:56 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M >> > 2012-11-05 16:14:56 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT&F >> > 2012-11-05 16:14:56 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK >> > 2012-11-05 16:14:56 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATE0^M >> > 2012-11-05 16:14:56 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ATE0 >> > 2012-11-05 16:14:56 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK >> > 2012-11-05 16:14:56 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATI^M >> > 2012-11-05 16:14:56 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- Nokia >> > 2012-11-05 16:14:56 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK >> > 2012-11-05 16:14:56 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: found string >> > <Nokia>, using modem definition <Nokia> >> > 2012-11-05 16:14:56 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: --> >> AT+CSMS=?^M >> > 2012-11-05 16:14:56 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: (0) >> > 2012-11-05 16:14:56 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK >> > 2012-11-05 16:14:56 [28202] [6] INFO: AT2[/dev/ttyACM0]: Closing device >> > 2012-11-05 16:14:56 [28202] [6] INFO: AT2[/dev/ttyACM0]: opening device >> > 2012-11-05 16:14:56 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: device opened. >> > Telnet mode = 0 >> > 2012-11-05 16:14:56 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: device opened >> > 2012-11-05 16:14:56 [28202] [6] INFO: AT2[/dev/ttyACM0]: Logging in >> > 2012-11-05 16:14:57 [28202] [6] INFO: AT2[/dev/ttyACM0]: init device >> > 2012-11-05 16:14:57 [28202] [6] INFO: AT2[/dev/ttyACM0]: speed set to >> 19200 >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATZ^M >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT&F >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATE0^M >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ATE0 >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: --> >> AT+IFC=2,2^M >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CPIN?^M >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CPIN: >> READY >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: --> >> AT+CMGF=0^M >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: --> >> AT+CSMS=?^M >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: (0) >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK >> > 2012-11-05 16:14:57 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT S7=45 >> S0=0 >> > L1 V1 X4 &c1 E1 Q0^M >> > 2012-11-05 16:14:58 [28202] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK >> > 2012-11-05 16:14:58 [28202] [6] INFO: AT2[/dev/ttyACM0]: AT SMSC >> > successfully opened. >> > 2012-11-05 16:15:02 [28202] [5] INFO: Client connected from >> <192.168.0.2>. >> > 2012-11-05 16:15:02 [28202] [5] DEBUG: Started thread 8 >> > (gw/bb_boxc.c:function) >> > 2012-11-05 16:15:02 [28202] [8] DEBUG: Thread 8 (gw/bb_boxc.c:function) >> > maps to pid 28202. >> > 2012-11-05 16:15:02 [28202] [8] DEBUG: Started thread 9 >> > (gw/bb_boxc.c:boxc_sender) >> > 2012-11-05 16:15:02 [28202] [9] DEBUG: Thread 9 >> (gw/bb_boxc.c:boxc_sender) >> > maps to pid 28202. >> > 2012-11-05 16:15:03 [28202] [5] INFO: Client connected from >> <192.168.0.2>. >> > 2012-11-05 16:15:03 [28202] [5] DEBUG: Started thread 10 >> > (gw/bb_boxc.c:function) >> > 2012-11-05 16:15:03 [28202] [10] DEBUG: Thread 10 >> (gw/bb_boxc.c:function) >> > maps to pid 28202. >> > 2012-11-05 16:15:03 [28202] [10] DEBUG: Started thread 11 >> > (gw/bb_boxc.c:boxc_sender) >> > 2012-11-05 16:15:03 [28202] [11] DEBUG: Thread 11 >> > (gw/bb_boxc.c:boxc_sender) maps to pid 28202. >> > 2012-11-05 16:15:15 [28202] [10] INFO: Connection closed by the box >> > <192.168.0.2> >> > 2012-11-05 16:15:15 [28202] [11] DEBUG: send_msg: sending msg to box: >> > <192.168.0.2> >> > 2012-11-05 16:15:15 [28202] [11] DEBUG: Thread 11 >> > (gw/bb_boxc.c:boxc_sender) terminates. >> > 2012-11-05 16:15:15 [28202] [10] DEBUG: Thread 10 >> (gw/bb_boxc.c:function) >> > terminates. >> > 2012-11-05 16:15:52 [28202] [5] INFO: Client connected from <127.0.0.1>. >> > 2012-11-05 16:15:52 [28202] [5] DEBUG: Started thread 12 >> > (gw/bb_boxc.c:function) >> > 2012-11-05 16:15:52 [28202] [12] DEBUG: Thread 12 >> (gw/bb_boxc.c:function) >> > maps to pid 28202. >> > 2012-11-05 16:15:52 [28202] [12] DEBUG: Started thread 13 >> > (gw/bb_boxc.c:boxc_sender) >> > 2012-11-05 16:15:52 [28202] [13] DEBUG: Thread 13 >> > (gw/bb_boxc.c:boxc_sender) maps to pid 28202. >> > =============================================================== >> > >> >> >> -- >> >> |-----------------------------------------------------------------------------------------------------------------| >> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier >> celular y Nextel >> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via >> SMS y GPRS online >> Visitenos en www.perusms.NET www.smsglobal.com.mx y >> www.pravcom.com >> > >
