SMS Server Tools 3
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. The forum is currently read-only, but will open soon. Sun Jun 01, 2025 18:54
SMSTools3 Community » Search Bottom

Page:  1

Keywords:
Mode: All keywords (AND)
edgar-giese: Operating system name and version: debian squeeze Version of smsd: v.3.1.11 Smsd installed from: package repository Name and model of a modem / phone: Huawei 1750, T-Mobile web'n walk Fusion II Interface: USB Hi, i got the usb-modem to work. The switching is gone, but sending sms isn't working right now. If i sent a message, i got it on the phone, but smstools didn't get the correct answer from the modem. 2012-07-17 13:20:12,2, smsd: Smsd v3.1.11 started. 2012-07-17 13:20:12,2, smsd: Running as smsd:dialout. 2012-07-17 13:20:12,7, smsd: Running startup_check (shell): /tmp/smsd_script.yYhqCV /tmp/smsd_data.aqmwVk 2012-07-17 13:20:12,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0) 2012-07-17 13:20:12,4, smsd: File mode creation mask: 022 (0644, rw-r--r--). 2012-07-17 13:20:12,5, smsd: Outgoing file checker has started. PID: 1420. 2012-07-17 13:20:12,5, GSM1: Modem handler 0 has started. PID: 1421. Will only send messages. 2012-07-17 13:20:12,5, GSM1: Using communication_delay between new commands 5 milliseconds. 2012-07-17 13:20:12,6, GSM1: Checking if modem is ready 2012-07-17 13:20:12,7, GSM1: -> AT 2012-07-17 13:20:12,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:20:12,7, GSM1: <- OK 2012-07-17 13:20:12,6, GSM1: Pre-initializing modem 2012-07-17 13:20:12,7, GSM1: -> ATE0+CMEE=1 2012-07-17 13:20:13,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:20:13,7, GSM1: <- OK 2012-07-17 13:20:13,6, GSM1: Checking if modem needs PIN 2012-07-17 13:20:13,7, GSM1: -> AT+CPIN? 2012-07-17 13:20:13,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:20:13,7, GSM1: <- +CPIN: READY OK 2012-07-17 13:20:13,6, GSM1: Initializing modem 2012-07-17 13:20:14,7, GSM1: -> AT^CURC=0 2012-07-17 13:20:14,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:20:14,7, GSM1: <- OK 2012-07-17 13:20:14,7, GSM1: -> AT+CSQ 2012-07-17 13:20:14,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:20:15,7, GSM1: <- +CSQ: 23,99 OK 2012-07-17 13:20:15,6, GSM1: Signal Strength Indicator: (23,99) -67 dBm, Bit Error Rate: not known or not detectable 2012-07-17 13:20:15,6, GSM1: Checking if Modem is registered to the network 2012-07-17 13:20:15,7, GSM1: -> AT+CREG? 2012-07-17 13:20:15,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:20:15,7, GSM1: <- +CREG: 0,1 OK 2012-07-17 13:20:15,6, GSM1: Modem is registered to the network 2012-07-17 13:20:15,6, GSM1: Selecting PDU mode 2012-07-17 13:20:16,7, GSM1: -> AT+CMGF=0 2012-07-17 13:20:16,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:20:16,7, GSM1: <- OK 2012-07-17 13:20:16,7, GSM1: -> AT+CIMI 2012-07-17 13:20:16,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:20:16,7, GSM1: <- 262019339093971 OK 2012-07-17 13:20:17,7, GSM1: -> AT+CGSN 2012-07-17 13:20:17,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:20:17,7, GSM1: <- 354818047121493 OK 2012-07-17 13:20:17,5, GSM1: CGSN: 354818047121493 2012-07-17 13:20:17,5, GSM1: IMSI: 262019339093971 2012-07-17 13:20:17,5, GSM1: Waiting for messages to send... 2012-07-17 13:23:03,5, smsd: Moved file /var/spool/sms/outgoing/send_EriMu9 to /var/spool/sms/checked 2012-07-17 13:23:03,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_EriMu9 2012-07-17 13:23:03,6, GSM1: Sending SMS from to 49xxxxxxxxxxxx 2012-07-17 13:23:03,6, GSM1: Checking if modem is ready 2012-07-17 13:23:03,7, GSM1: -> AT 2012-07-17 13:23:03,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:23:03,7, GSM1: <- OK 2012-07-17 13:23:03,6, GSM1: Pre-initializing modem 2012-07-17 13:23:03,7, GSM1: -> ATE0+CMEE=1 2012-07-17 13:23:03,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:23:04,7, GSM1: <- OK 2012-07-17 13:23:04,6, GSM1: Initializing modem 2012-07-17 13:23:04,7, GSM1: -> AT^CURC=0 2012-07-17 13:23:04,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:23:04,7, GSM1: <- OK 2012-07-17 13:23:05,7, GSM1: -> AT+CSQ 2012-07-17 13:23:05,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:23:05,7, GSM1: <- +CSQ: 23,99 OK 2012-07-17 13:23:05,6, GSM1: Signal Strength Indicator: (23,99) -67 dBm, Bit Error Rate: not known or not detectable 2012-07-17 13:23:05,6, GSM1: Checking if Modem is registered to the network 2012-07-17 13:23:05,7, GSM1: -> AT+CREG? 2012-07-17 13:23:05,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:23:06,7, GSM1: <- +CREG: 0,1 OK 2012-07-17 13:23:06,6, GSM1: Modem is registered to the network 2012-07-17 13:23:06,6, GSM1: Selecting PDU mode 2012-07-17 13:23:06,7, GSM1: -> AT+CMGF=0 2012-07-17 13:23:06,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:23:06,7, GSM1: <- OK 2012-07-17 13:23:07,7, GSM1: -> AT+CMGS=18 2012-07-17 13:23:07,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:23:07,7, GSM1: <- > 2012-07-17 13:23:07,7, GSM1: -> 0011000C919471638426560000FF04D4F29C0E^Z 2012-07-17 13:23:07,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:24:07,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1. 2012-07-17 13:24:07,7, GSM1: <- 2012-07-17 13:24:07,3, GSM1: The modem answer was not OK: 2012-07-17 13:24:07,5, GSM1: Waiting 10 sec. before retrying 2012-07-17 13:24:17,6, GSM1: Checking if modem is ready 2012-07-17 13:24:18,7, GSM1: -> AT 2012-07-17 13:24:18,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:24:23,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2. 2012-07-17 13:25:05,7, GSM1: -> ^Z 2012-07-17 13:25:05,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:25:10,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 11. 2012-07-17 13:25:10,7, GSM1: <- 2012-07-17 13:25:11,3, GSM1: Unexpected input: +CMGS: 27 OK OK OK OK OK OK 2012-07-17 13:25:11,7, GSM1: -> AT 2012-07-17 13:25:11,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:25:12,7, GSM1: <- OK 2012-07-17 13:25:12,6, GSM1: Pre-initializing modem 2012-07-17 13:25:12,7, GSM1: -> ATE0+CMEE=1 2012-07-17 13:25:12,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:25:12,7, GSM1: <- OK 2012-07-17 13:25:12,6, GSM1: Initializing modem 2012-07-17 13:25:13,7, GSM1: -> AT^CURC=0 2012-07-17 13:25:13,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:25:13,7, GSM1: <- OK 2012-07-17 13:25:13,7, GSM1: -> AT+CSQ 2012-07-17 13:25:13,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:25:14,7, GSM1: <- +CSQ: 20,99 OK 2012-07-17 13:25:14,6, GSM1: Signal Strength Indicator: (20,99) -73 dBm, Bit Error Rate: not known or not detectable 2012-07-17 13:25:14,6, GSM1: Checking if Modem is registered to the network 2012-07-17 13:25:14,7, GSM1: -> AT+CREG? 2012-07-17 13:25:14,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:25:14,7, GSM1: <- +CREG: 0,1 OK 2012-07-17 13:25:14,6, GSM1: Modem is registered to the network 2012-07-17 13:25:14,6, GSM1: Selecting PDU mode 2012-07-17 13:25:15,7, GSM1: -> AT+CMGF=0 2012-07-17 13:25:15,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:25:15,7, GSM1: <- OK 2012-07-17 13:25:15,7, GSM1: -> AT+CMGS=18 2012-07-17 13:25:15,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:25:15,7, GSM1: <- > 2012-07-17 13:25:16,7, GSM1: -> 0011000C919471638426560000FF04D4F29C0E^Z 2012-07-17 13:25:16,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:26:16,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1. 2012-07-17 13:26:16,7, GSM1: <- 2012-07-17 13:26:16,3, GSM1: The modem answer was not OK: 2012-07-17 13:26:16,5, GSM1: Waiting 10 sec. before retrying 2012-07-17 13:26:26,6, GSM1: Checking if modem is ready 2012-07-17 13:26:26,7, GSM1: -> AT 2012-07-17 13:26:26,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:26:31,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2. 2012-07-17 13:27:19,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 11. 2012-07-17 13:27:19,7, GSM1: <- 2012-07-17 13:27:20,3, GSM1: Unexpected input: +CMGS: 28 OK OK OK OK OK OK 2012-07-17 13:27:20,7, GSM1: -> AT 2012-07-17 13:27:20,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:27:20,7, GSM1: <- OK 2012-07-17 13:27:20,6, GSM1: Pre-initializing modem 2012-07-17 13:27:21,7, GSM1: -> ATE0+CMEE=1 2012-07-17 13:27:21,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:27:21,7, GSM1: <- OK 2012-07-17 13:27:21,6, GSM1: Initializing modem 2012-07-17 13:27:21,7, GSM1: -> AT^CURC=0 2012-07-17 13:27:21,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:27:22,7, GSM1: <- OK 2012-07-17 13:27:22,7, GSM1: -> AT+CSQ 2012-07-17 13:27:22,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:27:22,7, GSM1: <- +CSQ: 23,99 OK 2012-07-17 13:27:22,6, GSM1: Signal Strength Indicator: (23,99) -67 dBm, Bit Error Rate: not known or not detectable 2012-07-17 13:27:22,6, GSM1: Checking if Modem is registered to the network 2012-07-17 13:27:22,7, GSM1: -> AT+CREG? 2012-07-17 13:27:22,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:27:23,7, GSM1: <- +CREG: 0,1 OK 2012-07-17 13:27:23,6, GSM1: Modem is registered to the network 2012-07-17 13:27:23,6, GSM1: Selecting PDU mode 2012-07-17 13:27:23,7, GSM1: -> AT+CMGF=0 2012-07-17 13:27:23,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:27:23,7, GSM1: <- OK 2012-07-17 13:27:24,7, GSM1: -> AT+CMGS=18 2012-07-17 13:27:24,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:27:24,7, GSM1: <- > 2012-07-17 13:27:24,7, GSM1: -> 0011000C919471638426560000FF04D4F29C0E^Z 2012-07-17 13:27:24,7, GSM1: Command is sent, waiting for the answer 2012-07-17 13:28:24,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1. 2012-07-17 13:28:24,7, GSM1: <- 2012-07-17 13:28:24,3, GSM1: The modem answer was not OK: 2012-07-17 13:28:24,4, GSM1: Sending SMS to 49xxxxxxxxxx failed here ist my smsd.conf devices = GSM1 outgoing = /var/spool/sms/outgoing checked = /var/spool/sms/checked incoming = /var/spool/sms/incoming logfile = /var/log/smstools/smsd.log infofile = /var/run/smstools/smsd.working pidfile = /var/run/smstools/smsd.pid outgoing = /var/spool/sms/outgoing checked = /var/spool/sms/checked failed = /var/spool/sms/failed incoming = /var/spool/sms/incoming sent = /var/spool/sms/sent stats = /var/log/smstools/smsd_stats loglevel = 7 #delaytime = 10 #errorsleeptime = 10 #blocktime = 3600 #stats = /var/log/smsd_stats #stats_interval = 3600 #stats_no_zeroes = no #checkhandler = /usr/local/bin/smscheck receive_before_send = no # autosplit 0=no 1=yes 2=with text numbers 3=concatenated autosplit = 3 # store_received_pdu 0=no, 1=unsupported, 2=unsupported and 8bit, 3=all #store_received_pdu = 1 #validity = 255 #decode_unicode_text = no #internal_combine = no # You can specify here an external program that is started whenever an alarm occurs. # alarmhandler = /path/to/an/alarmhandler/script # Specifies what levels start an alarmhandler. You can use value between 2 and 5. # alarmlevel = 4 # eventhandler = @EVENTHANDLER@ #blacklist = /etc/smstools/blacklist #whitelist = /etc/smstools/whitelist [GSM1] init = AT^CURC=0 device = /dev/ttyUSB0 cs_convert = yes baudrate = 19200 communication_delay = 5 detect_unexpected_input = yes I think that the init-strings not correct. I tested it with gammu and it says, that it is waiting for response from network. How to configurer the modem right?
edgar-giese: Operating system name and version: debian Version of smsd: 3.1.11 Smsd installed from: sources Name and model of a modem / phone: Huawei E169 Interface: ttyUSB0 Hi i want to send sms from nagios. First if i attach the stick to usb the usb_modeswitch attaches three devices to ttyUSB0, ttyUSB1 and ttyUSB2. [] Jul 13 11:56:08 nagios kernel: [ 1415.605422] option 2-3:1.0: GSM modem (1-port) converter detected Jul 13 11:56:08 nagios kernel: [ 1415.605581] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB0... [] After sending one sms the devices where disconnected [] Jul 13 11:43:34 nagios nagios: HOST NOTIFICATION: sms_edgar;huesx2;CUSTOM (UP);notify-host-by-sms;PING OK - Packet loss = 0%, RTA = 0.19 ms;giese@NORKA.LOCAL;test Jul 13 11:43:47 nagios kernel: [ 675.352232] hub 2-0:1.0: port 3 disabled by hub (EMI?), re-enabling... Jul 13 11:43:47 nagios kernel: [ 675.352365] usb 2-3: USB disconnect, address 2 Jul 13 11:43:47 nagios kernel: [ 675.352535] option: option_instat_callback: error -108 Jul 13 11:43:47 nagios kernel: [ 675.352853] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0 [] and then reconnect to ttyUSB1 [] Jul 13 11:43:48 nagios kernel: [ 675.868022] usb 2-3: new high speed USB device using ehci_hcd and address 4 Jul 13 11:43:48 nagios kernel: [ 676.002784] usb 2-3: New USB device found, idVendor=12d1, idProduct=1001 Jul 13 11:43:48 nagios kernel: [ 676.002790] usb 2-3: New USB device strings: Mfr=3, Product=2, SerialNumber=0 Jul 13 11:43:48 nagios kernel: [ 676.002795] usb 2-3: Product: HUAWEI Mobile Jul 13 11:43:48 nagios kernel: [ 676.002798] usb 2-3: Manufacturer: HUAWEI Technology Jul 13 11:43:48 nagios kernel: [ 676.002913] usb 2-3: configuration #1 chosen from 1 choice Jul 13 11:43:48 nagios kernel: [ 676.004963] option 2-3:1.0: GSM modem (1-port) converter detected Jul 13 11:43:48 nagios kernel: [ 676.005180] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB1 [] looking in the smsd.log shows this [] 2012-07-13 11:43:42,5, smsd: Moved file /var/spool/sms/outgoing/send_f0WWPq to /var/spool/sms/checked 2012-07-13 11:43:42,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_f0WWPq 2012-07-13 11:43:42,6, GSM1: Sending SMS from to 4917xxxxxxxxxxx 2012-07-13 11:43:42,6, GSM1: Checking if modem is ready 2012-07-13 11:43:43,7, GSM1: -> AT 2012-07-13 11:43:43,7, GSM1: Command is sent, waiting for the answer 2012-07-13 11:43:43,7, GSM1: <- OK 2012-07-13 11:43:43,6, GSM1: Pre-initializing modem 2012-07-13 11:43:43,7, GSM1: -> ATE0+CMEE=1 2012-07-13 11:43:43,7, GSM1: Command is sent, waiting for the answer 2012-07-13 11:43:43,7, GSM1: <- OK 2012-07-13 11:43:43,6, GSM1: Checking if modem needs PIN 2012-07-13 11:43:44,7, GSM1: -> AT+CPIN? 2012-07-13 11:43:44,7, GSM1: Command is sent, waiting for the answer 2012-07-13 11:43:44,7, GSM1: <- +CPIN: READY OK 2012-07-13 11:43:44,6, GSM1: Initializing modem 2012-07-13 11:43:44,7, GSM1: -> AT^CURC=0 2012-07-13 11:43:44,7, GSM1: Command is sent, waiting for the answer 2012-07-13 11:43:44,7, GSM1: <- OK 2012-07-13 11:43:45,7, GSM1: -> AT+CSQ 2012-07-13 11:43:45,7, GSM1: Command is sent, waiting for the answer 2012-07-13 11:43:45,7, GSM1: <- +CSQ: 26,99 OK 2012-07-13 11:43:45,6, GSM1: Signal Strength Indicator: (26,99) -61 dBm, Bit Error Rate: not known or not detectable 2012-07-13 11:43:45,6, GSM1: Checking if Modem is registered to the network 2012-07-13 11:43:45,7, GSM1: -> AT+CREG? 2012-07-13 11:43:45,7, GSM1: Command is sent, waiting for the answer 2012-07-13 11:43:45,7, GSM1: <- +CREG: 0,1 OK 2012-07-13 11:43:45,6, GSM1: Modem is registered to the network 2012-07-13 11:43:45,6, GSM1: Selecting PDU mode 2012-07-13 11:43:46,7, GSM1: -> AT+CMGF=0 2012-07-13 11:43:46,7, GSM1: Command is sent, waiting for the answer 2012-07-13 11:43:46,7, GSM1: <- OK 2012-07-13 11:43:46,6, GSM1: Changing SMSC 2012-07-13 11:43:46,7, GSM1: -> AT+CSCA="+491710760000" 2012-07-13 11:43:46,7, GSM1: Command is sent, waiting for the answer 2012-07-13 11:43:47,7, GSM1: <- OK 2012-07-13 11:43:47,7, GSM1: -> AT+CMGS=41 2012-07-13 11:43:47,7, GSM1: Command is sent, waiting for the answer 2012-07-13 11:43:47,7, GSM1: <- > 2012-07-13 11:43:47,7, GSM1: -> 0011000C919471907191880000FF1EC8F79C0E425641C529162403A5E7A02A14041080926EF35B071200^Z 2012-07-13 11:43:47,7, GSM1: Command is sent, waiting for the answer 2012-07-13 11:44:47,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1. 2012-07-13 11:44:47,7, GSM1: <- 2012-07-13 11:44:47,3, GSM1: The modem did not answer (expected OK). 2012-07-13 11:44:47,5, GSM1: Waiting 10 sec. before retrying 2012-07-13 11:44:57,6, GSM1: Checking if modem is ready 2012-07-13 11:44:58,7, GSM1: -> AT 2012-07-13 11:44:58,3, GSM1: write_to_modem: error 5: Input/output error 2012-07-13 11:45:08,7, GSM1: -> ^Z ... 2012-07-13 11:46:29,3, GSM1: write_to_modem: error 5: Input/output error 2012-07-13 11:46:40,3, GSM1: Couldn't open serial port /dev/ttyUSB0, error: No such file or directory, waiting 30 sec. 2012-07-13 11:47:40,3, GSM1: Cannot open serial port /dev/ttyUSB0, error: No such file or directory 2012-07-13 11:47:40,2, GSM1: Modem handler 0 terminated. PID: 6486, was started 12-07-13 11:42:21. [] Then it ends, no sms where send till i reconnect the stick and restart the smsd. My smsd.conf looks like [] [GSM1] init = AT^CURC=0 device = /dev/ttyUSB0 incoming = yes pin = 6214 #signal_quality_ber_ignore = yes #smsc=491710760000 [] Please help... With this sim-card, another modem (siemens-handy) and another smsd-version it works.

Page:  1

SMSTools3 Community » Search Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.