|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Fri May 09, 2025 08:06 |
Page: 1
Keywords: Mode: All keywords (AND) |
Tue Jun 15, 2010 15:58
|
creator: 3.1.8-test3 worked. CLI is correct now.
I've seen that the patch consists in replacing
strcpy()
with
#define strcpy_overlap(dest,src) memmove(dest, src, strlen(src) +1)
Why? Just for curiosity's sake :)
|
Tue Jun 15, 2010 14:57
|
creator: A new problem arised with 3.1.8-test2:
Here is a missed call file:
root@server:/var/spool/sms/incoming# cat GSM1.GG66RV
From: 393283111124
From_TOA: 91 international, ISDN/telephone
Subject: GSM1
Modem: GSM1
IMSI: 222992303587215
Call_type: missed
Received: 10-06-15 16:53:15
CALL MISSED
The From: field is wrong. The correct caller is 393287311124.
Have you changed anything related to this field?
|
Tue Jun 15, 2010 11:14
|
creator: It worked! :mrgreen:
Here is the log...
2010-06-15 12:27:33,2, smsd: Smsd v3.1.8-test2 started.
2010-06-15 12:27:33,2, smsd: Running as root:root.
2010-06-15 12:27:33,7, smsd: Running startup_check (shell): /tmp/smsd_script.bAbiRt /tmp/smsd_data.yjh063
2010-06-15 12:27:33,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2010-06-15 12:27:33,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2010-06-15 12:27:33,5, smsd: Outgoing file checker has started. PID: 1600.
2010-06-15 12:27:33,5, GSM1: Modem handler 0 has started. PID: 1601.
2010-06-15 12:27:33,5, GSM1: Using check_memory_method 1: CPMS is used.
2010-06-15 12:27:33,6, GSM1: Checking device for incoming SMS
2010-06-15 12:27:33,6, GSM1: Checking if modem is ready
2010-06-15 12:27:34,7, GSM1: -> AT
2010-06-15 12:27:34,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:34,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:34,7, GSM1: <- OK
2010-06-15 12:27:34,6, GSM1: Pre-initializing modem
2010-06-15 12:27:34,7, GSM1: -> ATE0+CMEE=1
2010-06-15 12:27:34,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:34,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:34,7, GSM1: <- OK
2010-06-15 12:27:34,6, GSM1: Checking if modem needs PIN
2010-06-15 12:27:35,7, GSM1: -> AT+CPIN?
2010-06-15 12:27:35,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:35,7, GSM1: read_from_modem: count=0, got=22: 0D[.] 0A[.] 2B[+] 43[C] 50[P] 49 4E[N] 3A[:] 20[ ] 52[R] 45[E] 41[A] 44[D] 59[Y] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:35,7, GSM1: <- +CPIN: READY OK
2010-06-15 12:27:35,7, GSM1: -> AT+CSQ
2010-06-15 12:27:35,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:35,7, GSM1: read_from_modem: count=0, got=21: 0D[.] 0A[.] 2B[+] 43[C] 53 51[Q] 3A[:] 20[ ] 31[1] 35[5] 2C[,] 39[9] 39[9] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:35,7, GSM1: <- +CSQ: 15,99 OK
2010-06-15 12:27:35,6, GSM1: Signal Strength Indicator: (15,99) -83 dBm, Bit Error Rate: not known or not detectable
2010-06-15 12:27:35,6, GSM1: Checking if Modem is registered to the network
2010-06-15 12:27:36,7, GSM1: -> AT+CREG?
2010-06-15 12:27:36,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:36,7, GSM1: read_from_modem: count=0, got=20: 0D[.] 0A[.] 2B[+] 43[C] 52[R] 45[E] 47[G] 3A[:] 20[ ] 30[0] 2C[,] 31[1] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:36,7, GSM1: <- +CREG: 0,1 OK
2010-06-15 12:27:36,6, GSM1: Modem is registered to the network
2010-06-15 12:27:36,6, GSM1: Selecting PDU mode
2010-06-15 12:27:36,7, GSM1: -> AT+CMGF=0
2010-06-15 12:27:36,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:36,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:36,7, GSM1: <- OK
2010-06-15 12:27:37,7, GSM1: -> AT+CIMI
2010-06-15 12:27:37,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:37,7, GSM1: read_from_modem: count=0, got=25: 0D[.] 0A[.] 32[2] 32[2] 32[2] 39[9] 39[9] 32[2] 33[3] 30[0] 33[3] 35[5] 38[8] 37[7] 32[2] 31[1] 35[5] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:37,7, GSM1: <- 222992303587215 OK
2010-06-15 12:27:37,7, GSM1: -> AT+CGSN
2010-06-15 12:27:37,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:37,7, GSM1: read_from_modem: count=0, got=25: 0D[.] 0A[.] 33[3] 35[5] 32[2] 36[6] 33[3] 36[6] 30[0] 32[2] 30[0] 31[1] 34[4] 34[4] 30[0] 31[1] 35[5] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:37,7, GSM1: <- 352636020144015 OK
2010-06-15 12:27:37,5, GSM1: CGSN: 352636020144015
2010-06-15 12:27:37,5, GSM1: IMSI: 222992303587215
2010-06-15 12:27:37,6, GSM1: Checking if reading of messages is supported
2010-06-15 12:27:38,7, GSM1: -> AT+CPMS?
2010-06-15 12:27:38,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:38,7, GSM1: read_from_modem: count=0, got=46: 0D[.] 0A[.] 2B[+] 43[C] 50[P] 4D[M] 53 3A[:] 20[ ] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 2C[,] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 2C[,] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:38,7, GSM1: <- +CPMS: "SM",0,30,"SM",0,30,"SM",0,30 OK
2010-06-15 12:27:38,6, GSM1: Checking memory size
2010-06-15 12:27:38,7, GSM1: -> AT+CPMS?
2010-06-15 12:27:38,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:38,7, GSM1: read_from_modem: count=0, got=46: 0D[.] 0A[.] 2B[+] 43[C] 50[P] 4D[M] 53 3A[:] 20[ ] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 2C[,] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 2C[,] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:38,7, GSM1: <- +CPMS: "SM",0,30,"SM",0,30,"SM",0,30 OK
2010-06-15 12:27:38,6, GSM1: Used memory is 0 of 30
2010-06-15 12:27:38,6, GSM1: No SMS received
2010-06-15 12:27:38,6, GSM1: Reading phonecall entries
2010-06-15 12:27:39,7, GSM1: -> AT+CPBS="MC"
2010-06-15 12:27:39,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:39,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:39,7, GSM1: <- OK
2010-06-15 12:27:39,6, GSM1: Checking phonecall limits (once)
2010-06-15 12:27:39,7, GSM1: -> AT+CPBR=?
2010-06-15 12:27:39,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:39,7, GSM1: read_from_modem: count=0, got=29: 0D[.] 0A[.] 2B[+] 43[C] 50[P] 42 52[R] 3A[:] 20[ ] 28[(] 31[1] 2D[-] 32[2] 30[0] 29[)] 2C[,] 34[4] 30[0] 2C[,] 32[2] 30[0] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:40,7, GSM1: <- +CPBR: (1-20),40,20 OK
2010-06-15 12:27:40,6, GSM1: Phonecall limit is 20
2010-06-15 12:27:40,7, GSM1: -> AT+CPBR=1,20
2010-06-15 12:27:40,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:40,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:40,7, GSM1: <- OK
2010-06-15 12:27:40,6, GSM1: No phonecall entries
2010-06-15 12:27:50,6, GSM1: Checking device for incoming SMS
2010-06-15 12:27:50,6, GSM1: Checking if modem is ready
2010-06-15 12:27:50,7, GSM1: -> AT
2010-06-15 12:27:50,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:50,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:51,7, GSM1: <- OK
2010-06-15 12:27:51,6, GSM1: Pre-initializing modem
2010-06-15 12:27:51,7, GSM1: -> ATE0+CMEE=1
2010-06-15 12:27:51,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:51,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:51,7, GSM1: <- OK
2010-06-15 12:27:51,6, GSM1: Checking if modem needs PIN
2010-06-15 12:27:51,7, GSM1: -> AT+CPIN?
2010-06-15 12:27:51,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:51,7, GSM1: read_from_modem: count=0, got=22: 0D[.] 0A[.] 2B[+] 43[C] 50[P] 49 4E[N] 3A[:] 20[ ] 52[R] 45[E] 41[A] 44[D] 59[Y] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:52,7, GSM1: <- +CPIN: READY OK
2010-06-15 12:27:52,7, GSM1: -> AT+CSQ
2010-06-15 12:27:52,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:52,7, GSM1: read_from_modem: count=0, got=21: 0D[.] 0A[.] 2B[+] 43[C] 53 51[Q] 3A[:] 20[ ] 31[1] 34[4] 2C[,] 39[9] 39[9] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:52,7, GSM1: <- +CSQ: 14,99 OK
2010-06-15 12:27:52,6, GSM1: Signal Strength Indicator: (14,99) -85 dBm, Bit Error Rate: not known or not detectable
2010-06-15 12:27:52,6, GSM1: Checking if Modem is registered to the network
2010-06-15 12:27:52,7, GSM1: -> AT+CREG?
2010-06-15 12:27:52,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:52,7, GSM1: read_from_modem: count=0, got=20: 0D[.] 0A[.] 2B[+] 43[C] 52[R] 45[E] 47[G] 3A[:] 20[ ] 30[0] 2C[,] 31[1] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:53,7, GSM1: <- +CREG: 0,1 OK
2010-06-15 12:27:53,6, GSM1: Modem is registered to the network
2010-06-15 12:27:53,6, GSM1: Selecting PDU mode
2010-06-15 12:27:53,7, GSM1: -> AT+CMGF=0
2010-06-15 12:27:53,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:53,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:53,7, GSM1: <- OK
2010-06-15 12:27:53,6, GSM1: Checking memory size
2010-06-15 12:27:53,7, GSM1: -> AT+CPMS?
2010-06-15 12:27:53,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:53,7, GSM1: read_from_modem: count=0, got=46: 0D[.] 0A[.] 2B[+] 43[C] 50[P] 4D[M] 53 3A[:] 20[ ] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 2C[,] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 2C[,] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:54,7, GSM1: <- +CPMS: "SM",0,30,"SM",0,30,"SM",0,30 OK
2010-06-15 12:27:54,6, GSM1: Used memory is 0 of 30
2010-06-15 12:27:54,6, GSM1: No SMS received
2010-06-15 12:27:54,6, GSM1: Reading phonecall entries
2010-06-15 12:27:54,7, GSM1: -> AT+CPBS="MC"
2010-06-15 12:27:54,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:54,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:54,7, GSM1: <- OK
2010-06-15 12:27:54,7, GSM1: -> AT+CPBR=1,20
2010-06-15 12:27:54,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:27:54,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:27:55,7, GSM1: <- OK
2010-06-15 12:27:55,6, GSM1: No phonecall entries
2010-06-15 12:28:05,6, GSM1: Checking device for incoming SMS
2010-06-15 12:28:05,6, GSM1: Checking if modem is ready
2010-06-15 12:28:05,7, GSM1: -> AT
2010-06-15 12:28:05,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:28:05,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:28:05,7, GSM1: <- OK
2010-06-15 12:28:05,6, GSM1: Pre-initializing modem
2010-06-15 12:28:05,7, GSM1: -> ATE0+CMEE=1
2010-06-15 12:28:05,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:28:05,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:28:06,7, GSM1: <- OK
2010-06-15 12:28:06,6, GSM1: Checking if modem needs PIN
2010-06-15 12:28:06,7, GSM1: -> AT+CPIN?
2010-06-15 12:28:06,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:28:06,7, GSM1: read_from_modem: count=0, got=22: 0D[.] 0A[.] 2B[+] 43[C] 50[P] 49 4E[N] 3A[:] 20[ ] 52[R] 45[E] 41[A] 44[D] 59[Y] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:28:06,7, GSM1: <- +CPIN: READY OK
2010-06-15 12:28:06,7, GSM1: -> AT+CSQ
2010-06-15 12:28:06,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:28:06,7, GSM1: read_from_modem: count=0, got=21: 0D[.] 0A[.] 2B[+] 43[C] 53 51[Q] 3A[:] 20[ ] 31[1] 35[5] 2C[,] 39[9] 39[9] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:28:07,7, GSM1: <- +CSQ: 15,99 OK
2010-06-15 12:28:07,6, GSM1: Signal Strength Indicator: (15,99) -83 dBm, Bit Error Rate: not known or not detectable
2010-06-15 12:28:07,6, GSM1: Checking if Modem is registered to the network
2010-06-15 12:28:07,7, GSM1: -> AT+CREG?
2010-06-15 12:28:07,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:28:07,7, GSM1: read_from_modem: count=0, got=20: 0D[.] 0A[.] 2B[+] 43[C] 52[R] 45[E] 47[G] 3A[:] 20[ ] 30[0] 2C[,] 31[1] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:28:07,7, GSM1: <- +CREG: 0,1 OK
2010-06-15 12:28:07,6, GSM1: Modem is registered to the network
2010-06-15 12:28:07,6, GSM1: Selecting PDU mode
2010-06-15 12:28:07,7, GSM1: -> AT+CMGF=0
2010-06-15 12:28:07,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:28:07,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:28:08,7, GSM1: <- OK
2010-06-15 12:28:08,6, GSM1: Checking memory size
2010-06-15 12:28:08,7, GSM1: -> AT+CPMS?
2010-06-15 12:28:08,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:28:08,7, GSM1: read_from_modem: count=0, got=46: 0D[.] 0A[.] 2B[+] 43[C] 50[P] 4D[M] 53 3A[:] 20[ ] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 2C[,] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 2C[,] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:28:08,7, GSM1: <- +CPMS: "SM",0,30,"SM",0,30,"SM",0,30 OK
2010-06-15 12:28:08,6, GSM1: Used memory is 0 of 30
2010-06-15 12:28:08,6, GSM1: No SMS received
2010-06-15 12:28:08,6, GSM1: Reading phonecall entries
2010-06-15 12:28:08,7, GSM1: -> AT+CPBS="MC"
2010-06-15 12:28:08,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:28:08,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:28:09,7, GSM1: <- OK
2010-06-15 12:28:09,7, GSM1: -> AT+CPBR=1,20
2010-06-15 12:28:09,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:28:09,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:28:09,7, GSM1: <- OK
2010-06-15 12:28:09,6, GSM1: No phonecall entries
2010-06-15 12:28:19,6, GSM1: Checking device for incoming SMS
2010-06-15 12:28:19,6, GSM1: Checking if modem is ready
2010-06-15 12:28:19,7, GSM1: -> AT
2010-06-15 12:28:19,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:28:19,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:28:20,7, GSM1: <- OK
2010-06-15 12:28:20,6, GSM1: Pre-initializing modem
2010-06-15 12:28:20,7, GSM1: -> ATE0+CMEE=1
2010-06-15 12:28:20,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:28:20,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:28:20,7, GSM1: <- OK
2010-06-15 12:28:20,6, GSM1: Checking if modem needs PIN
2010-06-15 12:28:20,7, GSM1: -> AT+CPIN?
2010-06-15 12:28:20,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:28:20,7, GSM1: read_from_modem: count=0, got=22: 0D[.] 0A[.] 2B[+] 43[C] 50[P] 49 4E[N] 3A[:] 20[ ] 52[R] 45[E] 41[A] 44[D] 59[Y] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:28:21,7, GSM1: <- +CPIN: READY OK
2010-06-15 12:28:21,7, GSM1: -> AT+CSQ
2010-06-15 12:28:21,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:28:21,7, GSM1: read_from_modem: count=0, got=21: 0D[.] 0A[.] 2B[+] 43[C] 53 51[Q] 3A[:] 20[ ] 31[1] 34[4] 2C[,] 39[9] 39[9] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:28:21,7, GSM1: <- +CSQ: 14,99 OK
2010-06-15 12:28:21,6, GSM1: Signal Strength Indicator: (14,99) -85 dBm, Bit Error Rate: not known or not detectable
2010-06-15 12:28:21,6, GSM1: Checking if Modem is registered to the network
2010-06-15 12:28:21,7, GSM1: -> AT+CREG?
2010-06-15 12:28:21,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:28:21,7, GSM1: read_from_modem: count=0, got=20: 0D[.] 0A[.] 2B[+] 43[C] 52[R] 45[E] 47[G] 3A[:] 20[ ] 30[0] 2C[,] 31[1] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:28:22,7, GSM1: <- +CREG: 0,1 OK
2010-06-15 12:28:22,6, GSM1: Modem is registered to the network
2010-06-15 12:28:22,6, GSM1: Selecting PDU mode
2010-06-15 12:28:22,7, GSM1: -> AT+CMGF=0
2010-06-15 12:28:22,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:28:22,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:28:22,7, GSM1: <- OK
2010-06-15 12:28:22,6, GSM1: Checking memory size
2010-06-15 12:28:22,7, GSM1: -> AT+CPMS?
2010-06-15 12:28:22,7, GSM1: Command is sent, waiting for the answer
2010-06-15 12:28:23,7, GSM1: read_from_modem: count=0, got=46: 0D[.] 0A[.] 2B[+] 43[C] 50[P] 4D[M] 53 3A[:] 20[ ] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 2C[,] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 2C[,] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 12:28:23,7, GSM1: <- +CPMS: "SM",0,30,"SM",0,30,"SM",0,30 OK
...
I've to perform some functionality tests, but the main problem seems resolved.
Thank you very much!
|
Tue Jun 15, 2010 08:23
|
creator: The problem is still there even with 3.1.8-test1 version you posted.
Here is the log:
2010-06-15 10:17:05,2, smsd: Smsd v3.1.8-test1 started.
2010-06-15 10:17:05,2, smsd: Running as root:root.
2010-06-15 10:17:05,7, smsd: Running startup_check (shell): /tmp/smsd_script.bHWCRy /tmp/smsd_data.O8lqN9
2010-06-15 10:17:05,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2010-06-15 10:17:05,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2010-06-15 10:17:05,5, smsd: Outgoing file checker has started. PID: 1176.
2010-06-15 10:17:05,5, GSM1: Modem handler 0 has started. PID: 1177.
2010-06-15 10:17:05,5, GSM1: Using check_memory_method 1: CPMS is used.
2010-06-15 10:17:05,6, GSM1: Checking device for incoming SMS
2010-06-15 10:17:05,6, GSM1: Checking if modem is ready
2010-06-15 10:17:05,7, GSM1: -> AT
2010-06-15 10:17:05,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:17:05,7, GSM1: read_from_modem: count=0, got=2: 41[A] 54[T]
2010-06-15 10:17:05,7, GSM1: read_from_modem: count=2, got=7: 0D[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:17:05,7, GSM1: <- AT OK
2010-06-15 10:17:05,6, GSM1: Pre-initializing modem
2010-06-15 10:17:05,7, GSM1: -> ATE0+CMEE=1
2010-06-15 10:17:05,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:17:05,7, GSM1: read_from_modem: count=0, got=11: 41[A] 54[T] 45[E] 30[0] 2B[+] 43[C] 4D[M] 45[E] 45[E] 3D[=] 31[1]
2010-06-15 10:17:06,7, GSM1: read_from_modem: count=11, got=7: 0D[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:17:06,7, GSM1: <- ATE0+CMEE=1 OK
2010-06-15 10:17:06,6, GSM1: Checking if modem needs PIN
2010-06-15 10:17:06,7, GSM1: -> AT+CPIN?
2010-06-15 10:17:06,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:17:06,7, GSM1: read_from_modem: count=0, got=24: 0D[.] 0A[.] 2B[+] 43[C] 50[P] 49 4E[N] 3A[:] 20[ ] 53 49 4D[M] 20[ ] 50[P] 49 4E[N] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:17:06,7, GSM1: <- +CPIN: SIM PIN OK
2010-06-15 10:17:06,5, GSM1: Modem needs PIN, entering PIN...
2010-06-15 10:17:06,7, GSM1: -> AT+CPIN="****"
2010-06-15 10:17:07,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:17:07,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:17:07,7, GSM1: <- O
2010-06-15 10:17:07,7, GSM1: -> AT+CPIN?
2010-06-15 10:17:07,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:17:07,7, GSM1: read_from_modem: count=0, got=22: 0D[.] 0A[.] 2B[+] 43[C] 50[P] 49 4E[N] 3A[:] 20[ ] 52[R] 45[E] 41[A] 44[D] 59[Y] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:17:07,7, GSM1: <- +CPIN: READY OK
2010-06-15 10:17:07,6, GSM1: PIN Ready
2010-06-15 10:17:08,7, GSM1: -> AT+CSQ
2010-06-15 10:17:08,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:17:08,7, GSM1: read_from_modem: count=0, got=21: 0D[.] 0A[.] 2B[+] 43[C] 53 51[Q] 3A[:] 20[ ] 31[1] 34[4] 2C[,] 39[9] 39[9] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:17:08,7, GSM1: <- +CSQ: 14,99 OK
2010-06-15 10:17:08,6, GSM1: Signal Strength Indicator: (14,99) -85 dBm, Bit Error Rate: not known or not detectable
2010-06-15 10:17:08,6, GSM1: Checking if Modem is registered to the network
2010-06-15 10:17:08,7, GSM1: -> AT+CREG?
2010-06-15 10:17:08,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:17:08,7, GSM1: read_from_modem: count=0, got=20: 0D[.] 0A[.] 2B[+] 43[C] 52[R] 45[E] 47[G] 3A[:] 20[ ] 30[0] 2C[,] 32[2] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:17:08,7, GSM1: <- +CREG: 0,2 OK
2010-06-15 10:17:08,5, GSM1: MODEM IS NOT REGISTERED, WAITING 1 SEC. BEFORE RETRYING 1. TIME
2010-06-15 10:17:10,7, GSM1: -> AT+CSQ
2010-06-15 10:17:10,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:17:10,7, GSM1: read_from_modem: count=0, got=20: 0D[.] 0A[.] 2B[+] 43[C] 53 51[Q] 3A[:] 20[ ] 31[1] 35[5] 2C[,] 30[0] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:17:10,7, GSM1: <- +CSQ: 15,0 OK
2010-06-15 10:17:10,5, GSM1: Signal Strength Indicator: (15,0) -83 dBm, Bit Error Rate: less than 0.2 %
2010-06-15 10:17:10,7, GSM1: -> AT+CREG?
2010-06-15 10:17:10,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:17:10,7, GSM1: read_from_modem: count=0, got=20: 0D[.] 0A[.] 2B[+] 43[C] 52[R] 45[E] 47[G] 3A[:] 20[ ] 30[0] 2C[,] 31[1] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:17:10,7, GSM1: <- +CREG: 0,1 OK
2010-06-15 10:17:10,6, GSM1: Modem is registered to the network
2010-06-15 10:17:10,6, GSM1: Selecting PDU mode
2010-06-15 10:17:11,7, GSM1: -> AT+CMGF=0
2010-06-15 10:17:11,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:17:11,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:17:11,7, GSM1: <- O
2010-06-15 10:17:11,7, GSM1: -> AT+CMGF=0
2010-06-15 10:17:11,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:17:11,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:17:11,7, GSM1: <- O
2010-06-15 10:17:12,7, GSM1: -> AT+CIMI
2010-06-15 10:17:12,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:17:12,7, GSM1: read_from_modem: count=0, got=25: 0D[.] 0A[.] 32[2] 32[2] 32[2] 39[9] 39[9] 32[2] 33[3] 30[0] 33[3] 35[5] 38[8] 37[7] 32[2] 31[1] 35[5] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:17:12,7, GSM1: <- 22293035872155 OK
2010-06-15 10:17:12,7, GSM1: -> AT+CGSN
2010-06-15 10:17:12,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:17:12,7, GSM1: read_from_modem: count=0, got=25: 0D[.] 0A[.] 33[3] 35[5] 32[2] 36[6] 33[3] 36[6] 30[0] 32[2] 30[0] 31[1] 34[4] 34[4] 30[0] 31[1] 35[5] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:17:12,7, GSM1: <- 352636020144015 OK
2010-06-15 10:17:12,5, GSM1: CGSN: 352636020144015
2010-06-15 10:17:12,5, GSM1: IMSI: 22293035872155
2010-06-15 10:17:12,6, GSM1: Checking if reading of messages is supported
2010-06-15 10:17:13,7, GSM1: -> AT+CPMS?
2010-06-15 10:17:13,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:17:13,7, GSM1: read_from_modem: count=0, got=46: 0D[.] 0A[.] 2B[+] 43[C] 50[P] 4D[M] 53 3A[:] 20[ ] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 2C[,] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 2C[,] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:17:13,7, GSM1: <- +CPMS: "SM",0,30,"SM",0,30,"SM",0,30 OK
2010-06-15 10:17:13,6, GSM1: Checking memory size
2010-06-15 10:17:13,7, GSM1: -> AT+CPMS?
2010-06-15 10:17:13,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:17:13,7, GSM1: read_from_modem: count=0, got=46: 0D[.] 0A[.] 2B[+] 43[C] 50[P] 4D[M] 53 3A[:] 20[ ] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 2C[,] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 2C[,] 22["] 53 4D[M] 22["] 2C[,] 30[0] 2C[,] 33[3] 30[0] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:17:13,7, GSM1: <- +CPMS: "SM",0,30,"SM",0,30,"SM",0,30 OK
2010-06-15 10:17:13,6, GSM1: Used memory is 0 of 30
2010-06-15 10:17:13,6, GSM1: No SMS received
2010-06-15 10:17:13,6, GSM1: Reading phonecall entries
2010-06-15 10:17:14,7, GSM1: -> AT+CPBS="MC"
2010-06-15 10:17:14,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:17:14,7, GSM1: read_from_modem: count=0, got=18: 0D[.] 0A[.] 2B[+] 43[C] 4D[M] 45[E] 20[ ] 45[E] 52[R] 52[R] 4F[O] 52[R] 3A[:] 20[ ] 31[1] 34[4] 0D[.] 0A[.]
2010-06-15 10:17:14,7, GSM1: <- +CME ERROR: 14 (SIM busy)
2010-06-15 10:17:57,6, GSM1: Checking device for incoming SMS
2010-06-15 10:17:57,6, GSM1: Checking if modem is ready
2010-06-15 10:17:57,7, GSM1: -> AT
2010-06-15 10:17:57,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:17:57,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:17:57,7, GSM1: <- O
2010-06-15 10:17:58,7, GSM1: -> ^Z
2010-06-15 10:17:58,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:18:03,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-06-15 10:18:03,7, GSM1: <-
2010-06-15 10:18:03,7, GSM1: -> AT
2010-06-15 10:18:03,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:18:03,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:18:03,7, GSM1: <- O
2010-06-15 10:18:03,7, GSM1: -> ^Z
2010-06-15 10:18:03,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:18:08,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-06-15 10:18:08,7, GSM1: <-
2010-06-15 10:18:08,7, GSM1: -> AT
2010-06-15 10:18:08,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:18:09,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:18:09,7, GSM1: <- O
2010-06-15 10:18:09,7, GSM1: -> ^Z
2010-06-15 10:18:09,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:18:14,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-06-15 10:18:14,7, GSM1: <-
2010-06-15 10:18:14,7, GSM1: -> AT
2010-06-15 10:18:14,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:18:14,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:18:14,7, GSM1: <- O
2010-06-15 10:18:15,7, GSM1: -> ^Z
2010-06-15 10:18:15,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:18:20,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-06-15 10:18:20,7, GSM1: <-
2010-06-15 10:18:20,7, GSM1: -> AT
2010-06-15 10:18:20,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:18:20,7, GSM1: read_from_modem: count=0, got=6: 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
2010-06-15 10:18:20,7, GSM1: <- O
2010-06-15 10:18:20,7, GSM1: -> ^Z
2010-06-15 10:18:20,7, GSM1: Command is sent, waiting for the answer
2010-06-15 10:18:25,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
...
Hope it helps.
:)
|
Mon Jun 14, 2010 12:57
|
creator: I've restarted the modem as requested, without restarting SMSd.
As you can see, the smsd process is not able to communicate with the modem anymore. This maybe because my modem is connected via USB instead of RS232?
This is the log:
...
2010-06-14 14:21:02,7, GSM1: Command is sent, waiting for the answer
2010-06-14 14:21:03,7, GSM1: <- O
2010-06-14 14:21:03,7, GSM1: -> ^Z
2010-06-14 14:21:03,7, GSM1: Command is sent, waiting for the answer
2010-06-14 14:21:08,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-06-14 14:21:08,7, GSM1: <-
<restarted here>
2010-06-14 14:21:11,3, GSM1: Modem is not clear to send
2010-06-14 14:21:24,3, GSM1: Modem is not clear to send
2010-06-14 14:21:38,3, GSM1: Modem is not clear to send
2010-06-14 14:21:51,3, GSM1: Modem is not clear to send
2010-06-14 14:22:04,3, GSM1: Modem is not clear to send
2010-06-14 14:22:18,3, GSM1: Modem is not clear to send
2010-06-14 14:22:31,3, GSM1: Modem is not clear to send
2010-06-14 14:22:44,3, GSM1: Modem is not clear to send
2010-06-14 14:22:57,3, GSM1: Modem is not clear to send
2010-06-14 14:23:11,3, GSM1: Modem is not clear to send
2010-06-14 14:23:24,3, GSM1: Modem is not clear to send
2010-06-14 14:23:37,3, GSM1: Modem is not clear to send
2010-06-14 14:23:47,3, GSM1: Modem is not ready to answer commands (Timeouts: 1)
2010-06-14 14:23:47,6, GSM1: Reading phonecall entries
2010-06-14 14:23:51,3, GSM1: Modem is not clear to send
2010-06-14 14:24:04,3, GSM1: Modem is not clear to send
2010-06-14 14:24:14,6, GSM1: No phonecall entries
2010-06-14 14:24:24,6, GSM1: Checking device for incoming SMS
2010-06-14 14:24:24,6, GSM1: Checking if modem is ready
2010-06-14 14:24:27,3, GSM1: Modem is not clear to send
2010-06-14 14:24:41,3, GSM1: Modem is not clear to send
2010-06-14 14:24:54,3, GSM1: Modem is not clear to send
2010-06-14 14:25:07,3, GSM1: Modem is not clear to send
2010-06-14 14:25:20,3, GSM1: Modem is not clear to send
2010-06-14 14:25:34,3, GSM1: Modem is not clear to send
2010-06-14 14:25:47,3, GSM1: Modem is not clear to send
2010-06-14 14:26:00,3, GSM1: Modem is not clear to send
2010-06-14 14:26:14,3, GSM1: Modem is not clear to send
2010-06-14 14:26:27,3, GSM1: Modem is not clear to send
2010-06-14 14:26:40,3, GSM1: Modem is not clear to send
2010-06-14 14:26:54,3, GSM1: Modem is not clear to send
2010-06-14 14:27:07,3, GSM1: Modem is not clear to send
2010-06-14 14:27:20,3, GSM1: Modem is not clear to send
2010-06-14 14:27:34,3, GSM1: Modem is not clear to send
2010-06-14 14:27:47,3, GSM1: Modem is not clear to send
2010-06-14 14:28:00,3, GSM1: Modem is not clear to send
2010-06-14 14:28:13,3, GSM1: Modem is not clear to send
2010-06-14 14:28:27,3, GSM1: Modem is not clear to send
2010-06-14 14:28:40,3, GSM1: Modem is not clear to send
2010-06-14 14:28:53,3, GSM1: Modem is not clear to send
2010-06-14 14:29:07,3, GSM1: Modem is not clear to send
2010-06-14 14:29:17,3, GSM1: Modem is not ready to answer commands (Timeouts: 1)
2010-06-14 14:29:17,6, GSM1: Reading phonecall entries
2010-06-14 14:29:20,3, GSM1: Modem is not clear to send
2010-06-14 14:29:33,3, GSM1: Modem is not clear to send
2010-06-14 14:29:43,6, GSM1: No phonecall entries
2010-06-14 14:29:53,6, GSM1: Checking device for incoming SMS
2010-06-14 14:29:53,6, GSM1: Checking if modem is ready
2010-06-14 14:29:57,3, GSM1: Modem is not clear to send
2010-06-14 14:30:10,3, GSM1: Modem is not clear to send
2010-06-14 14:30:23,3, GSM1: Modem is not clear to send
2010-06-14 14:30:36,3, GSM1: Modem is not clear to send
2010-06-14 14:30:50,3, GSM1: Modem is not clear to send
...
|
Mon Jun 14, 2010 11:07
|
creator: By using
detect_message_routing = no
not helped. Same behaviour.
|
Mon Jun 14, 2010 11:01
|
creator: Hello,
I've just restarted the modem as you suggested.
Before restarting I've stopped the smsd and then started again.
The problem arises immediately, as shown in the log.
Just to make it clear, it happens ALWAYS, after upgrading from ubuntu 9 to ubuntu 10, it never happened when I was using ubuntu 9. We are always speaking of 64bit editions.
2010-06-14 12:48:44,2, smsd: Smsd mainprocess terminated. PID 6400, was started 10-06-14 00:00:02.
2010-06-14 12:54:09,2, smsd: Smsd v3.1.6 started.
2010-06-14 12:54:09,2, smsd: Running as root:root.
2010-06-14 12:54:09,7, smsd: Running startup_check (shell): /tmp/smsd_script.55IKjN /tmp/smsd_data.twEaQl
2010-06-14 12:54:09,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2010-06-14 12:54:09,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2010-06-14 12:54:09,5, smsd: Outgoing file checker has started. PID: 7525.
2010-06-14 12:54:09,5, GSM1: Modem handler 0 has started. PID: 7526.
2010-06-14 12:54:09,5, GSM1: Using check_memory_method 1: CPMS is used.
2010-06-14 12:54:09,6, GSM1: Checking device for incoming SMS
2010-06-14 12:54:09,6, GSM1: Checking if modem is ready
2010-06-14 12:54:10,7, GSM1: -> AT
2010-06-14 12:54:10,7, GSM1: Command is sent, waiting for the answer
2010-06-14 12:54:10,7, GSM1: <- AT OK
2010-06-14 12:54:10,6, GSM1: Pre-initializing modem
2010-06-14 12:54:10,7, GSM1: -> ATE0+CMEE=1
2010-06-14 12:54:10,7, GSM1: Command is sent, waiting for the answer
2010-06-14 12:54:10,7, GSM1: <- ATE0+CMEE=1 OK
2010-06-14 12:54:10,6, GSM1: Checking if modem needs PIN
2010-06-14 12:54:11,7, GSM1: -> AT+CPIN?
2010-06-14 12:54:11,7, GSM1: Command is sent, waiting for the answer
2010-06-14 12:54:11,7, GSM1: <- +CPIN: SIM PIN OK
2010-06-14 12:54:11,5, GSM1: Modem needs PIN, entering PIN...
2010-06-14 12:54:11,7, GSM1: -> AT+CPIN="****"
2010-06-14 12:54:11,7, GSM1: Command is sent, waiting for the answer
2010-06-14 12:54:11,7, GSM1: <- O
|
Tue Jun 08, 2010 11:03
|
creator: Hello,
I've upgraded any package installed as you suggested.
root@server:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@server:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@server:~# uname -a
Linux server 2.6.32-22-server #36-Ubuntu SMP Thu Jun 3 20:38:33 UTC 2010 x86_64 GNU/Linux
But unfortunately the smsd.log shows always the same message:
...
2010-06-08 12:57:11,7, GSM1: <- O
2010-06-08 12:57:11,7, GSM1: -> ^Z
2010-06-08 12:57:11,7, GSM1: Command is sent, waiting for the answer
2010-06-08 12:57:16,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-06-08 12:57:16,7, GSM1: <-
2010-06-08 12:57:16,7, GSM1: -> AT
2010-06-08 12:57:16,7, GSM1: Command is sent, waiting for the answer
2010-06-08 12:57:17,7, GSM1: <- O
2010-06-08 12:57:17,7, GSM1: -> ^Z
2010-06-08 12:57:17,7, GSM1: Command is sent, waiting for the answer
2010-06-08 12:57:22,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-06-08 12:57:22,7, GSM1: <-
2010-06-08 12:57:22,7, GSM1: -> AT
2010-06-08 12:57:22,7, GSM1: Command is sent, waiting for the answer
2010-06-08 12:57:22,7, GSM1: <- O
2010-06-08 12:57:22,7, GSM1: -> ^Z
2010-06-08 12:57:22,7, GSM1: Command is sent, waiting for the answer
If it helps, this is my configuration:
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
smart_logging = yes
eventhandler = /usr/local/bin/callhandlerwrapper
hangup_incoming_call = yes
failed = /var/spool/sms/failed
sent = /var/spool/sms/sent
report = /var/spool/sms/report
[GSM1]
device = /dev/ttyUSB0
incoming = yes
pin = ****
phonecalls = yes
report = yes
|
Thu Jun 03, 2010 08:50
|
creator: Hello,
I confirm the problem described in the first post of this thread.
It shows the "O" response instead of the "OK" response in the log file.
Linux ubuntu 2.6.32-22-server #33-Ubuntu SMP Wed Apr 28 14:34:48 UTC 2010 x86_64 GNU/Linux
Greetings,
Stefano Coletta
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|