gammu / gammu

Gammu All Mobile Management Utilities
https://wammu.eu/gammu/
GNU General Public License v2.0
523 stars 151 forks source link

Sending USSD unknown error #385

Open kusmierz opened 6 years ago

kusmierz commented 6 years ago

Trying to call gammu-smsd-inject USSD '*127*1#' to get balance amount.

unfortunately with no luck, debug info below.

sty 29 10:44:21 linux gammu-smsd[27124]: gammu: Entering GSM_GetSecurityStatus
sty 29 10:44:21 linux gammu-smsd[27124]: gammu: Getting security code status
sty 29 10:44:21 linux gammu-smsd[27124]: gammu: SENDING frame type 0x00/length 0x09/9
sty 29 10:44:21 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|50P|49I|4EN|3F?|0D                              AT+CPIN?.
sty 29 10:44:21 linux gammu-smsd[27124]: gammu: 1 "AT+CPIN?"
sty 29 10:44:21 linux gammu-smsd[27124]: gammu: 2 "+CPIN: READY"
sty 29 10:44:21 linux gammu-smsd[27124]: gammu: 3 "OK"
sty 29 10:44:21 linux gammu-smsd[27124]: gammu: Checking line: OK
sty 29 10:44:21 linux gammu-smsd[27124]: gammu: AT reply state: 1
sty 29 10:44:21 linux gammu-smsd[27124]: gammu: RECEIVED frame type 0x00/length 0x1F/31
sty 29 10:44:21 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|50P|49I|4EN|3F?|0D |0D |0A |2B+|43C|50P|49I|4EN AT+CPIN?...+CPIN
sty 29 10:44:21 linux gammu-smsd[27124]: gammu: 3A:|20 |52R|45E|41A|44D|59Y|0D |0A |0D |0A |4FO|4BK|0D |0A      : READY....OK..
sty 29 10:44:21 linux gammu-smsd[27124]: gammu: Parsing +CPIN: READY with +CPIN: @r
sty 29 10:44:21 linux gammu-smsd[27124]: gammu: Grabbed string from reply: "READY" (parsed 5 bytes)
sty 29 10:44:21 linux gammu-smsd[27124]: gammu: Parsed raw string "READY"
sty 29 10:44:21 linux gammu-smsd[27124]: gammu: Security status received - nothing to enter
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Leaving GSM_GetSecurityStatus
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Entering GSM_GetSMSStatus
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Getting SIM SMS status
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: SENDING frame type 0x00/length 0x12/18
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|53S|4DM|22"|2C,|22"|53S|4DM AT+CPMS="SM","SM
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 22"|0D                                                          ".
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 1 "AT+CPMS="SM","SM""
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 2 "+CPMS: 0,25,0,25,0,25"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 3 "OK"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Checking line: OK
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: AT reply state: 1
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: RECEIVED frame type 0x00/length 0x31/49
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|53S|4DM|22"|2C,|22"|53S|4DM AT+CPMS="SM","SM
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 22"|0D |0D |0A |2B+|43C|50P|4DM|53S|3A:|20 |300|2C,|322|355|2C, "...+CPMS: 0,25,
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 300|2C,|322|355|2C,|300|2C,|322|355|0D |0A |0D |0A |4FO|4BK|0D  0,25,0,25....OK.
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 0A                                                              .
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: SMS status received
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsing +CPMS: 0,25,0,25,0,25 with +CPMS: @i, @i, @0
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 0
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 25
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Used : 0
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Size : 25
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Getting phone SMS status
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: SENDING frame type 0x00/length 0x12/18
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|4DM|45E|22"|2C,|22"|4DM|45E AT+CPMS="ME","ME
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 22"|0D                                                          ".
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 1 "AT+CPMS="ME","ME""
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 2 "+CPMS: 0,23,0,23,0,25"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 3 "OK"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Checking line: OK
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: AT reply state: 1
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: RECEIVED frame type 0x00/length 0x31/49
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|4DM|45E|22"|2C,|22"|4DM|45E AT+CPMS="ME","ME
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 22"|0D |0D |0A |2B+|43C|50P|4DM|53S|3A:|20 |300|2C,|322|333|2C, "...+CPMS: 0,23,
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 300|2C,|322|333|2C,|300|2C,|322|355|0D |0A |0D |0A |4FO|4BK|0D  0,23,0,25....OK.
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 0A                                                              .
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: SMS status received
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsing +CPMS: 0,23,0,23,0,25 with +CPMS: @i, @i, @0
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 0
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 23
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Used : 0
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Size : 23
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Leaving GSM_GetSMSStatus
sty 29 10:44:22 linux gammu-smsd[27124]: Found 1 sms to "*127*1#" with text "" cod 5 lgt 0 udh: t 1 l 0 dlr: -1 fls: 127
sty 29 10:44:22 linux gammu-smsd[27124]: New message to send: OUTC20180129_101300_00_*127*1#_sms0.smsbackup
sty 29 10:44:22 linux gammu-smsd[27124]: Message without SMSC, assuming you want to use the one from phone
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Entering GSM_GetSMSC
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Getting SMSC
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: SENDING frame type 0x00/length 0x09/9
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|53S|43C|41A|3F?|0D                              AT+CSCA?.
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 1 "AT+CSCA?"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 2 "+CSCA: "+48501200777",145"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 3 "OK"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Checking line: OK
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: AT reply state: 1
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: RECEIVED frame type 0x00/length 0x2C/44
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|53S|43C|41A|3F?|0D |0D |0A |2B+|43C|53S|43C|41A AT+CSCA?...+CSCA
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 3A:|20 |22"|2B+|344|388|355|300|311|322|300|300|377|377|377|22" : "+48501200777"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 2C,|311|344|355|0D |0A |0D |0A |4FO|4BK|0D |0A                  ,145....OK..
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: SMSC info received
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsing +CSCA: "+48501200777",145 with +CSCA: @p, @i
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Grabbed string from reply: "+48501200777" (parsed 14 bytes)
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed phone string "+48501200777"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Phone string decoded as "+48501200777"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 145
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Leaving GSM_GetSMSC
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Entering GSM_GetBatteryCharge
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Getting battery charge
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: SENDING frame type 0x00/length 0x07/7
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|42B|43C|0D                                      AT+CBC.
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 1 "AT+CBC"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 2 "+CBC: 2,0"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 3 "OK"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Checking line: OK
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: AT reply state: 1
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: RECEIVED frame type 0x00/length 0x1A/26
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|42B|43C|0D |0D |0A |2B+|43C|42B|43C|3A:|20 |322 AT+CBC...+CBC: 2
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 2C,|300|0D |0A |0D |0A |4FO|4BK|0D |0A                          ,0....OK..
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Battery level received
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsing +CBC: 2,0 with +CBC: @i, @i
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 2
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 0
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Leaving GSM_GetBatteryCharge
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Entering GSM_GetSignalQuality
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Getting signal quality info
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: SENDING frame type 0x00/length 0x07/7
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|53S|51Q|0D                                      AT+CSQ.
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 1 "AT+CSQ"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 2 "+CSQ: 24,99"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 3 "OK"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Checking line: OK
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: AT reply state: 1
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: RECEIVED frame type 0x00/length 0x1C/28
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|53S|51Q|0D |0D |0A |2B+|43C|53S|51Q|3A:|20 |322 AT+CSQ...+CSQ: 2
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 344|2C,|399|399|0D |0A |0D |0A |4FO|4BK|0D |0A                  4,99....OK..
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Signal quality info received
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsing +CSQ: 24,99 with +CSQ: @i, @i
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 24
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 99
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Leaving GSM_GetSignalQuality
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Entering GSM_GetNetworkInfo
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Enable full network info
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: SENDING frame type 0x00/length 0x0A/10
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3D=|322|0D                          AT+CREG=2.
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 1 "AT+CREG=2"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 2 "OK"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Checking line: OK
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: AT reply state: 1
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: RECEIVED frame type 0x00/length 0x10/16
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3D=|322|0D |0D |0A |4FO|4BK|0D |0A  AT+CREG=2...OK..
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Enable full packet network info
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: SENDING frame type 0x00/length 0x0B/11
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3D=|322|0D                      AT+CGREG=2.
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 1 "AT+CGREG=2"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 2 "OK"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Checking line: OK
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: AT reply state: 1
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: RECEIVED frame type 0x00/length 0x11/17
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3D=|322|0D |0D |0A |4FO|4BK|0D  AT+CGREG=2...OK.
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 0A                                                              .
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Getting GPRS state
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: SENDING frame type 0x00/length 0x0A/10
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|47G|41A|54T|54T|3F?|0D                          AT+CGATT?.
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 1 "AT+CGATT?"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 2 "+CGATT: 1"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 3 "OK"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Checking line: OK
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: AT reply state: 1
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: RECEIVED frame type 0x00/length 0x1D/29
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|47G|41A|54T|54T|3F?|0D |0D |0A |2B+|43C|47G|41A AT+CGATT?...+CGA
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 54T|54T|3A:|20 |311|0D |0A |0D |0A |4FO|4BK|0D |0A              TT: 1....OK..
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: GPRS state received
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsing +CGATT: 1 with +CGATT: @i
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 1
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Getting network LAC and CID and state
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: SENDING frame type 0x00/length 0x09/9
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3F?|0D                              AT+CREG?.
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 1 "AT+CREG?"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 2 "+CREG: 2,5,CEB0,2C9E"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 3 "OK"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Checking line: OK
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: AT reply state: 1
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: RECEIVED frame type 0x00/length 0x27/39
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3F?|0D |0D |0A |2B+|43C|52R|45E|47G AT+CREG?...+CREG
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 3A:|20 |322|2C,|355|2C,|43C|45E|42B|300|2C,|322|43C|399|45E|0D  : 2,5,CEB0,2C9E.
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 0A |0D |0A |4FO|4BK|0D |0A                                      ...OK..
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Network LAC & CID & state received
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsing +CREG: 2,5,CEB0,2C9E with +CREG: @i, @i, @r, @r, @i
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 2
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 5
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed raw string "CEB0"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Grabbed string from reply: "2C9E" (parsed 4 bytes)
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed raw string "2C9E"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsing +CREG: 2,5,CEB0,2C9E with +CREG: @i, @i, @r, @r
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 2
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 5
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed raw string "CEB0"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Grabbed string from reply: "2C9E" (parsed 4 bytes)
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed raw string "2C9E"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Registered in roaming network
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Getting packet network LAC and CID and state
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: SENDING frame type 0x00/length 0x0A/10
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3F?|0D                          AT+CGREG?.
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 1 "AT+CGREG?"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 2 "+CGREG: 2,5,CEB0,2C9E"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 3 "OK"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Checking line: OK
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: AT reply state: 1
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: RECEIVED frame type 0x00/length 0x29/41
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3F?|0D |0D |0A |2B+|43C|47G|52R AT+CGREG?...+CGR
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 45E|47G|3A:|20 |322|2C,|355|2C,|43C|45E|42B|300|2C,|322|43C|399 EG: 2,5,CEB0,2C9
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 45E|0D |0A |0D |0A |4FO|4BK|0D |0A                              E....OK..
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Network LAC & CID & state received
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsing +CGREG: 2,5,CEB0,2C9E with +CGREG: @i, @i, @r, @r, @i, @r
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 2
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 5
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed raw string "CEB0"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Grabbed string from reply: "2C9E" (parsed 4 bytes)
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed raw string "2C9E"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsing +CGREG: 2,5,CEB0,2C9E with +CGREG: @i, @i, @r, @r, @i
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 2
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 5
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed raw string "CEB0"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Grabbed string from reply: "2C9E" (parsed 4 bytes)
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed raw string "2C9E"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsing +CGREG: 2,5,CEB0,2C9E with +CGREG: @i, @i, @r, @r
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 2
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 5
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed raw string "CEB0"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Grabbed string from reply: "2C9E" (parsed 4 bytes)
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed raw string "2C9E"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Registered in roaming network
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Setting short network name format
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: SENDING frame type 0x00/length 0x0C/12
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|322|0D                  AT+COPS=3,2.
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 1 "AT+COPS=3,2"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 2 "OK"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Checking line: OK
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: AT reply state: 1
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: RECEIVED frame type 0x00/length 0x12/18
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|322|0D |0D |0A |4FO|4BK AT+COPS=3,2...OK
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 0D |0A                                                          ..
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Getting network code
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: SENDING frame type 0x00/length 0x09/9
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3F?|0D                              AT+COPS?.
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 1 "AT+COPS?"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 2 "+COPS: 0,2,"26034",2"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 3 "OK"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Checking line: OK
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: AT reply state: 1
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: RECEIVED frame type 0x00/length 0x27/39
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3F?|0D |0D |0A |2B+|43C|4FO|50P|53S AT+COPS?...+COPS
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 3A:|20 |300|2C,|322|2C,|22"|322|366|300|333|344|22"|2C,|322|0D  : 0,2,"26034",2.
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 0A |0D |0A |4FO|4BK|0D |0A                                      ...OK..
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Network code received
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsing +COPS: 0,2,"26034",2 with +COPS: @i, @i, @r
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 0
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 2
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Grabbed string from reply: "26034" (parsed 7 bytes)
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed raw string "26034"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: String do not end same!
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsing +COPS: 0,2,"26034",2 with +COPS: @i, @i, @r, @i
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 0
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 2
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Grabbed string from reply: "26034" (parsed 7 bytes)
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed raw string "26034"
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Parsed int 2
sty 29 10:44:22 linux gammu-smsd[27124]: gammu:    Network code              : 260 34
sty 29 10:44:22 linux gammu-smsd[27124]: gammu:    Network name for Gammu    : NetWorkS! (Poland)
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: Setting long string network name format
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: SENDING frame type 0x00/length 0x0C/12
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|300|0D                  AT+COPS=3,0.
sty 29 10:44:22 linux gammu-smsd[27124]: gammu: 1 "AT+COPS=3,0"
sty 29 10:44:22 linux gammu-smsd[27124]: Sending USSD request to *127*1#
sty 29 10:44:22 linux gammu-smsd[27124]: Error sending SMS: Nieznany błąd. (UNKNOWN[27])
# gammu --identify
Urządzenie          : /dev/ttyUSB2
Producent            : Huawei
Model                : E169 (E169)
Firmware             : 11.314.13.01.00
IMEI                 : xxx
SIM IMSI             : yyy
# gammu-smsd-inject --version
Gammu-smsd-inject version 1.39.0
Compiled in features:
OS support:
  - SHM
  - GETOPT
  - GETOPT_LONG
Backend services:
  - NULL
  - FILES
  - MYSQL
  - POSTGRESQL
  - DBI
  - ODBC

Copyright (C) 2003 - 2018 Michal Cihar <michal@cihar.com> and other authors.

License GPLv2: GNU GPL version 2 <https://spdx.org/licenses/GPL-2.0>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Check <https://wammu.eu/gammu/> for updates.

Is it bug, or am I doing something wrong?

nijel commented 6 years ago

Is the log complete? It looks like response to AT+COPS=3,0 is missing...

Can you try running gammu networkinfo and post debug log here?

kusmierz commented 6 years ago

Yes, the log should be complete...

Tried again as follow:

root@linux:/home/adam # grep debug /etc/gammu-smsdrc
# Increase for debugging information
debuglevel = 5
root@linux:/home/adam # journalctl -xfu gammu-smsd &
[1] 4598
-- Logs begin at Fri 2018-01-05 14:33:49 CET. --
Jan 31 12:36:19 linux gammu-smsd[19802]: gammu: 2 "ERROR"
Jan 31 12:36:19 linux gammu-smsd[19802]: gammu: Checking line: ERROR
Jan 31 12:36:19 linux gammu-smsd[19802]: gammu: AT reply state: 3
Jan 31 12:36:19 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x27/39
Jan 31 12:36:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|55U|53S|44D|3D=|311|2C,|22"|41A|41A|399|388|45E AT+CUSD=1,"AA98E
Jan 31 12:36:19 linux gammu-smsd[19802]: gammu: 43C|41A|366|388|41A|388|44D|300|300|22"|2C,|311|355|0D |0D |0A  CA68A8D00",15...
Jan 31 12:36:19 linux gammu-smsd[19802]: gammu: 45E|52R|52R|4FO|52R|0D |0A                                      ERROR..
Jan 31 12:36:19 linux gammu-smsd[19802]: gammu: GSM_DialService failed with error UNKNOWN[27]: Nieznany błąd.
Jan 31 12:36:19 linux gammu-smsd[19802]: gammu: Leaving GSM_DialService
Jan 31 12:36:19 linux gammu-smsd[19802]: Error sending SMS: Nieznany błąd. (UNKNOWN[27])

root@linux:/home/adam # gammu-smsd-inject USSD '*127*1#'
gammu-smsd-inject[4640]: Using FILES service
gammu-smsd-inject[4640]: Configuring Gammu SMSD...
gammu-smsd-inject[4640]: SHM token: 0x100090c (16779532)
gammu-smsd-inject[4640]: Warning: No PIN code in /etc/gammu-smsdrc file
gammu-smsd-inject[4640]: CommTimeout=30, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0
gammu-smsd-inject[4640]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1
gammu-smsd-inject[4640]: mode: Send=1, Receive=1
gammu-smsd-inject[4640]: deliveryreport = no
gammu-smsd-inject[4640]: phoneid = 
gammu-smsd-inject[4640]: Inbox is "/var/spool/gammu/inbox/" with format "standard"
gammu-smsd-inject[4640]: Outbox is "/var/spool/gammu/outbox/" with format "detail" and transmission format "7bit"
gammu-smsd-inject[4640]: Sent SMS moved to "/var/spool/gammu/sent/"
gammu-smsd-inject[4640]: SMS with errors moved to "/var/spool/gammu/error/"
gammu-smsd-inject[4640]: Created outbox message OUTC20180131_123638_00_*127*1#_sms0.smsbackup
Written message with ID /var/spool/gammu/outbox/OUTC20180131_123638_00_*127*1#_sms0.smsbackup
root@linux:/home/adam # rm /var/spool/gammu/outbox/OUTC20180131_123
rm: cannot remove '/var/spool/gammu/outbox/OUTC20180131_123': No such file or directory
root@linux:/home/adam # rm /var/spool/gammu/outbox/OUTC20180131_123*
root@linux:/home/adam # sudo -u gammu bash
bash: /root/.bashrc: Permission denied
gammu@linux:/home/adam$ gammu-smsd-inject USSD '*127*1#'
gammu-smsd-inject[4823]: Using FILES service
gammu-smsd-inject[4823]: Configuring Gammu SMSD...
gammu-smsd-inject[4823]: SHM token: 0x100090c (16779532)
gammu-smsd-inject[4823]: Warning: No PIN code in /etc/gammu-smsdrc file
gammu-smsd-inject[4823]: CommTimeout=30, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0
gammu-smsd-inject[4823]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1
gammu-smsd-inject[4823]: mode: Send=1, Receive=1
gammu-smsd-inject[4823]: deliveryreport = no
gammu-smsd-inject[4823]: phoneid = 
gammu-smsd-inject[4823]: Inbox is "/var/spool/gammu/inbox/" with format "standard"
gammu-smsd-inject[4823]: Outbox is "/var/spool/gammu/outbox/" with format "detail" and transmission format "7bit"
gammu-smsd-inject[4823]: Sent SMS moved to "/var/spool/gammu/sent/"
gammu-smsd-inject[4823]: SMS with errors moved to "/var/spool/gammu/error/"
gammu-smsd-inject[4823]: Created outbox message OUTC20180131_123705_00_*127*1#_sms0.smsbackup
Written message with ID /var/spool/gammu/outbox/OUTC20180131_123705_00_*127*1#_sms0.smsbackup
gammu@linux:/home/adam$ Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Entering GSM_GetBatteryCharge
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Getting battery charge
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x07/7
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|42B|43C|0D                                      AT+CBC.
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 1 "AT+CBC"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 2 "+CBC: 2,0"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 3 "OK"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x1A/26
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|42B|43C|0D |0D |0A |2B+|43C|42B|43C|3A:|20 |322 AT+CBC...+CBC: 2
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 2C,|300|0D |0A |0D |0A |4FO|4BK|0D |0A                          ,0....OK..
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Battery level received
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsing +CBC: 2,0 with +CBC: @i, @i
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Leaving GSM_GetBatteryCharge
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Entering GSM_GetSignalQuality
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Getting signal quality info
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x07/7
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|53S|51Q|0D                                      AT+CSQ.
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 1 "AT+CSQ"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 2 "+CSQ: 14,99"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 3 "OK"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x1C/28
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|53S|51Q|0D |0D |0A |2B+|43C|53S|51Q|3A:|20 |311 AT+CSQ...+CSQ: 1
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 344|2C,|399|399|0D |0A |0D |0A |4FO|4BK|0D |0A                  4,99....OK..
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Signal quality info received
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsing +CSQ: 14,99 with +CSQ: @i, @i
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 14
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 99
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Leaving GSM_GetSignalQuality
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Entering GSM_GetNetworkInfo
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Enable full network info
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x0A/10
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3D=|322|0D                          AT+CREG=2.
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 1 "AT+CREG=2"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 2 "OK"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x10/16
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3D=|322|0D |0D |0A |4FO|4BK|0D |0A  AT+CREG=2...OK..
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Enable full packet network info
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x0B/11
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3D=|322|0D                      AT+CGREG=2.
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 1 "AT+CGREG=2"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 2 "OK"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x11/17
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3D=|322|0D |0D |0A |4FO|4BK|0D  AT+CGREG=2...OK.
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 0A                                                              .
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Getting GPRS state
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x0A/10
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|47G|41A|54T|54T|3F?|0D                          AT+CGATT?.
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 1 "AT+CGATT?"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 2 "+CGATT: 0"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 3 "OK"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x1D/29
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|47G|41A|54T|54T|3F?|0D |0D |0A |2B+|43C|47G|41A AT+CGATT?...+CGA
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 54T|54T|3A:|20 |300|0D |0A |0D |0A |4FO|4BK|0D |0A              TT: 0....OK..
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: GPRS state received
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsing +CGATT: 0 with +CGATT: @i
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Getting network LAC and CID and state
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x09/9
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3F?|0D                              AT+CREG?.
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 1 "AT+CREG?"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 2 "+CREG: 2,1,CEB0,7B7"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 3 "OK"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x26/38
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3F?|0D |0D |0A |2B+|43C|52R|45E|47G AT+CREG?...+CREG
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 3A:|20 |322|2C,|311|2C,|43C|45E|42B|300|2C,|377|42B|377|0D |0A  : 2,1,CEB0,7B7..
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 0D |0A |4FO|4BK|0D |0A                                          ..OK..
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Network LAC & CID & state received
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsing +CREG: 2,1,CEB0,7B7 with +CREG: @i, @i, @r, @r, @i
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 1
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed raw string "CEB0"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "7B7" (parsed 3 bytes)
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed raw string "7B7"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsing +CREG: 2,1,CEB0,7B7 with +CREG: @i, @i, @r, @r
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 1
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed raw string "CEB0"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "7B7" (parsed 3 bytes)
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed raw string "7B7"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Home network
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Getting packet network LAC and CID and state
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x0A/10
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3F?|0D                          AT+CGREG?.
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 1 "AT+CGREG?"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 2 "+CGREG: 2,0,CEB0,7B7"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 3 "OK"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x28/40
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3F?|0D |0D |0A |2B+|43C|47G|52R AT+CGREG?...+CGR
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 45E|47G|3A:|20 |322|2C,|300|2C,|43C|45E|42B|300|2C,|377|42B|377 EG: 2,0,CEB0,7B7
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 0D |0A |0D |0A |4FO|4BK|0D |0A                                  ....OK..
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Network LAC & CID & state received
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsing +CGREG: 2,0,CEB0,7B7 with +CGREG: @i, @i, @r, @r, @i, @r
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed raw string "CEB0"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "7B7" (parsed 3 bytes)
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed raw string "7B7"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsing +CGREG: 2,0,CEB0,7B7 with +CGREG: @i, @i, @r, @r, @i
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed raw string "CEB0"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "7B7" (parsed 3 bytes)
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed raw string "7B7"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsing +CGREG: 2,0,CEB0,7B7 with +CGREG: @i, @i, @r, @r
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed raw string "CEB0"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "7B7" (parsed 3 bytes)
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed raw string "7B7"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Not registered into any network. Not searching for network
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Setting short network name format
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x0C/12
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|322|0D                  AT+COPS=3,2.
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 1 "AT+COPS=3,2"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 2 "OK"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x12/18
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|322|0D |0D |0A |4FO|4BK AT+COPS=3,2...OK
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 0D |0A                                                          ..
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Getting network code
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x09/9
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3F?|0D                              AT+COPS?.
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 1 "AT+COPS?"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 2 "+COPS: 0,2,"26003",2"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 3 "OK"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x27/39
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3F?|0D |0D |0A |2B+|43C|4FO|50P|53S AT+COPS?...+COPS
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 3A:|20 |300|2C,|322|2C,|22"|322|366|300|300|333|22"|2C,|322|0D  : 0,2,"26003",2.
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 0A |0D |0A |4FO|4BK|0D |0A                                      ...OK..
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Network code received
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsing +COPS: 0,2,"26003",2 with +COPS: @i, @i, @r
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "26003" (parsed 7 bytes)
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed raw string "26003"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: String do not end same!
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsing +COPS: 0,2,"26003",2 with +COPS: @i, @i, @r, @i
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "26003" (parsed 7 bytes)
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed raw string "26003"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu:    Network code              : 260 03
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu:    Network name for Gammu    : Orange (Poland)
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Setting long string network name format
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x0C/12
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|300|0D                  AT+COPS=3,0.
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 1 "AT+COPS=3,0"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 2 "OK"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x12/18
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|300|0D |0D |0A |4FO|4BK AT+COPS=3,0...OK
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 0D |0A                                                          ..
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Getting network code
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x09/9
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3F?|0D                              AT+COPS?.
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 1 "AT+COPS?"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 2 "+COPS: 0,0,"Orange@",2"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 3 "OK"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x29/41
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3F?|0D |0D |0A |2B+|43C|4FO|50P|53S AT+COPS?...+COPS
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 3A:|20 |300|2C,|300|2C,|22"|4FO|72r|61a|6En|67g|65e|40@|22"|2C, : 0,0,"Orange@",
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 322|0D |0A |0D |0A |4FO|4BK|0D |0A                              2....OK..
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Network name received
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsing +COPS: 0,0,"Orange@",2 with +COPS: @i, @i, @s
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "Orange@" (parsed 9 bytes)
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed generic string "Orange@"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Generic string decoded as "Orange¡"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: String do not end same!
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsing +COPS: 0,0,"Orange@",2 with +COPS: @i, @i, @s, @i
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "Orange@" (parsed 9 bytes)
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed generic string "Orange@"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Generic string decoded as "Orange¡"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Leaving GSM_GetNetworkInfo
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Entering GSM_GetSecurityStatus
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Getting security code status
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x09/9
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|50P|49I|4EN|3F?|0D                              AT+CPIN?.
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 1 "AT+CPIN?"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 2 "+CPIN: READY"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 3 "OK"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x1F/31
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|50P|49I|4EN|3F?|0D |0D |0A |2B+|43C|50P|49I|4EN AT+CPIN?...+CPIN
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: 3A:|20 |52R|45E|41A|44D|59Y|0D |0A |0D |0A |4FO|4BK|0D |0A      : READY....OK..
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsing +CPIN: READY with +CPIN: @r
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "READY" (parsed 5 bytes)
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Parsed raw string "READY"
Jan 31 12:37:19 linux gammu-smsd[19802]: gammu: Security status received - nothing to enter
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Leaving GSM_GetSecurityStatus
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Entering GSM_GetSMSStatus
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Getting SIM SMS status
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x12/18
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|53S|4DM|22"|2C,|22"|53S|4DM AT+CPMS="SM","SM
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 22"|0D                                                          ".
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 1 "AT+CPMS="SM","SM""
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 2 "+CPMS: 0,25,0,25,0,25"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 3 "OK"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x31/49
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|53S|4DM|22"|2C,|22"|53S|4DM AT+CPMS="SM","SM
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 22"|0D |0D |0A |2B+|43C|50P|4DM|53S|3A:|20 |300|2C,|322|355|2C, "...+CPMS: 0,25,
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 300|2C,|322|355|2C,|300|2C,|322|355|0D |0A |0D |0A |4FO|4BK|0D  0,25,0,25....OK.
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 0A                                                              .
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: SMS status received
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsing +CPMS: 0,25,0,25,0,25 with +CPMS: @i, @i, @0
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 25
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Used : 0
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Size : 25
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Getting phone SMS status
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x12/18
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|4DM|45E|22"|2C,|22"|4DM|45E AT+CPMS="ME","ME
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 22"|0D                                                          ".
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 1 "AT+CPMS="ME","ME""
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 2 "+CPMS: 0,23,0,23,0,25"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 3 "OK"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x31/49
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|4DM|45E|22"|2C,|22"|4DM|45E AT+CPMS="ME","ME
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 22"|0D |0D |0A |2B+|43C|50P|4DM|53S|3A:|20 |300|2C,|322|333|2C, "...+CPMS: 0,23,
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 300|2C,|322|333|2C,|300|2C,|322|355|0D |0A |0D |0A |4FO|4BK|0D  0,23,0,25....OK.
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 0A                                                              .
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: SMS status received
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsing +CPMS: 0,23,0,23,0,25 with +CPMS: @i, @i, @0
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 23
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Used : 0
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Size : 23
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Leaving GSM_GetSMSStatus
Jan 31 12:37:20 linux gammu-smsd[19802]: Found 1 sms to "*127*1#" with text "" cod 5 lgt 0 udh: t 1 l 0 dlr: -1 fls: 127
Jan 31 12:37:20 linux gammu-smsd[19802]: New message to send: OUTC20180131_123705_00_*127*1#_sms0.smsbackup
Jan 31 12:37:20 linux gammu-smsd[19802]: Message without SMSC, assuming you want to use the one from phone
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Entering GSM_GetBatteryCharge
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Getting battery charge
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x07/7
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|42B|43C|0D                                      AT+CBC.
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 1 "AT+CBC"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 2 "+CBC: 2,0"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 3 "OK"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x1A/26
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|42B|43C|0D |0D |0A |2B+|43C|42B|43C|3A:|20 |322 AT+CBC...+CBC: 2
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 2C,|300|0D |0A |0D |0A |4FO|4BK|0D |0A                          ,0....OK..
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Battery level received
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsing +CBC: 2,0 with +CBC: @i, @i
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Leaving GSM_GetBatteryCharge
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Entering GSM_GetSignalQuality
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Getting signal quality info
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x07/7
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|53S|51Q|0D                                      AT+CSQ.
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 1 "AT+CSQ"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 2 "+CSQ: 14,99"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 3 "OK"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x1C/28
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|53S|51Q|0D |0D |0A |2B+|43C|53S|51Q|3A:|20 |311 AT+CSQ...+CSQ: 1
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 344|2C,|399|399|0D |0A |0D |0A |4FO|4BK|0D |0A                  4,99....OK..
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Signal quality info received
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsing +CSQ: 14,99 with +CSQ: @i, @i
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 14
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 99
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Leaving GSM_GetSignalQuality
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Entering GSM_GetNetworkInfo
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Enable full network info
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x0A/10
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3D=|322|0D                          AT+CREG=2.
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 1 "AT+CREG=2"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 2 "OK"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x10/16
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3D=|322|0D |0D |0A |4FO|4BK|0D |0A  AT+CREG=2...OK..
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Enable full packet network info
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x0B/11
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3D=|322|0D                      AT+CGREG=2.
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 1 "AT+CGREG=2"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 2 "OK"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x11/17
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3D=|322|0D |0D |0A |4FO|4BK|0D  AT+CGREG=2...OK.
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 0A                                                              .
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Getting GPRS state
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x0A/10
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|47G|41A|54T|54T|3F?|0D                          AT+CGATT?.
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 1 "AT+CGATT?"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 2 "+CGATT: 0"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 3 "OK"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x1D/29
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|47G|41A|54T|54T|3F?|0D |0D |0A |2B+|43C|47G|41A AT+CGATT?...+CGA
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 54T|54T|3A:|20 |300|0D |0A |0D |0A |4FO|4BK|0D |0A              TT: 0....OK..
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: GPRS state received
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsing +CGATT: 0 with +CGATT: @i
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Getting network LAC and CID and state
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x09/9
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3F?|0D                              AT+CREG?.
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 1 "AT+CREG?"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 2 "+CREG: 2,1,CEB0,7B7"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 3 "OK"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x26/38
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3F?|0D |0D |0A |2B+|43C|52R|45E|47G AT+CREG?...+CREG
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 3A:|20 |322|2C,|311|2C,|43C|45E|42B|300|2C,|377|42B|377|0D |0A  : 2,1,CEB0,7B7..
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 0D |0A |4FO|4BK|0D |0A                                          ..OK..
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Network LAC & CID & state received
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsing +CREG: 2,1,CEB0,7B7 with +CREG: @i, @i, @r, @r, @i
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 1
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed raw string "CEB0"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "7B7" (parsed 3 bytes)
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed raw string "7B7"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsing +CREG: 2,1,CEB0,7B7 with +CREG: @i, @i, @r, @r
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 1
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed raw string "CEB0"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "7B7" (parsed 3 bytes)
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed raw string "7B7"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Home network
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Getting packet network LAC and CID and state
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x0A/10
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3F?|0D                          AT+CGREG?.
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 1 "AT+CGREG?"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 2 "+CGREG: 2,0,CEB0,7B7"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 3 "OK"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x28/40
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3F?|0D |0D |0A |2B+|43C|47G|52R AT+CGREG?...+CGR
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 45E|47G|3A:|20 |322|2C,|300|2C,|43C|45E|42B|300|2C,|377|42B|377 EG: 2,0,CEB0,7B7
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 0D |0A |0D |0A |4FO|4BK|0D |0A                                  ....OK..
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Network LAC & CID & state received
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsing +CGREG: 2,0,CEB0,7B7 with +CGREG: @i, @i, @r, @r, @i, @r
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed raw string "CEB0"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "7B7" (parsed 3 bytes)
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed raw string "7B7"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsing +CGREG: 2,0,CEB0,7B7 with +CGREG: @i, @i, @r, @r, @i
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed raw string "CEB0"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "7B7" (parsed 3 bytes)
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed raw string "7B7"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsing +CGREG: 2,0,CEB0,7B7 with +CGREG: @i, @i, @r, @r
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed raw string "CEB0"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "7B7" (parsed 3 bytes)
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed raw string "7B7"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Not registered into any network. Not searching for network
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Setting short network name format
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x0C/12
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|322|0D                  AT+COPS=3,2.
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 1 "AT+COPS=3,2"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 2 "OK"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x12/18
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|322|0D |0D |0A |4FO|4BK AT+COPS=3,2...OK
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 0D |0A                                                          ..
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Getting network code
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x09/9
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3F?|0D                              AT+COPS?.
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 1 "AT+COPS?"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 2 "+COPS: 0,2,"26003",2"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 3 "OK"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x27/39
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3F?|0D |0D |0A |2B+|43C|4FO|50P|53S AT+COPS?...+COPS
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 3A:|20 |300|2C,|322|2C,|22"|322|366|300|300|333|22"|2C,|322|0D  : 0,2,"26003",2.
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 0A |0D |0A |4FO|4BK|0D |0A                                      ...OK..
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Network code received
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsing +COPS: 0,2,"26003",2 with +COPS: @i, @i, @r
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "26003" (parsed 7 bytes)
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed raw string "26003"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: String do not end same!
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsing +COPS: 0,2,"26003",2 with +COPS: @i, @i, @r, @i
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "26003" (parsed 7 bytes)
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed raw string "26003"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu:    Network code              : 260 03
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu:    Network name for Gammu    : Orange (Poland)
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Setting long string network name format
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x0C/12
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|300|0D                  AT+COPS=3,0.
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 1 "AT+COPS=3,0"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 2 "OK"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x12/18
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|300|0D |0D |0A |4FO|4BK AT+COPS=3,0...OK
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 0D |0A                                                          ..
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Getting network code
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x09/9
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3F?|0D                              AT+COPS?.
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 1 "AT+COPS?"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 2 "+COPS: 0,0,"Orange@",2"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 3 "OK"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Checking line: OK
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: AT reply state: 1
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x29/41
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3F?|0D |0D |0A |2B+|43C|4FO|50P|53S AT+COPS?...+COPS
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 3A:|20 |300|2C,|300|2C,|22"|4FO|72r|61a|6En|67g|65e|40@|22"|2C, : 0,0,"Orange@",
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 322|0D |0A |0D |0A |4FO|4BK|0D |0A                              2....OK..
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Network name received
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsing +COPS: 0,0,"Orange@",2 with +COPS: @i, @i, @s
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "Orange@" (parsed 9 bytes)
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed generic string "Orange@"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Generic string decoded as "Orange¡"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: String do not end same!
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsing +COPS: 0,0,"Orange@",2 with +COPS: @i, @i, @s, @i
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 0
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Grabbed string from reply: "Orange@" (parsed 9 bytes)
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed generic string "Orange@"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Generic string decoded as "Orange¡"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Parsed int 2
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Leaving GSM_GetNetworkInfo
Jan 31 12:37:20 linux gammu-smsd[19802]: Sending USSD request to *127*1#
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Entering GSM_DialService
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: SENDING frame type 0x00/length 0x1E/30
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|55U|53S|44D|3D=|311|2C,|22"|41A|41A|399|388|45E AT+CUSD=1,"AA98E
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 43C|41A|366|388|41A|388|44D|300|300|22"|2C,|311|355|0D          CA68A8D00",15.
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 1 "AT+CUSD=1,"AA98ECA68A8D00",15"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 2 "ERROR"
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Checking line: ERROR
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: AT reply state: 3
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: RECEIVED frame type 0x00/length 0x27/39
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 41A|54T|2B+|43C|55U|53S|44D|3D=|311|2C,|22"|41A|41A|399|388|45E AT+CUSD=1,"AA98E
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 43C|41A|366|388|41A|388|44D|300|300|22"|2C,|311|355|0D |0D |0A  CA68A8D00",15...
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: 45E|52R|52R|4FO|52R|0D |0A                                      ERROR..
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: GSM_DialService failed with error UNKNOWN[27]: Nieznany błąd.
Jan 31 12:37:20 linux gammu-smsd[19802]: gammu: Leaving GSM_DialService
Jan 31 12:37:20 linux gammu-smsd[19802]: Error sending SMS: Nieznany błąd. (UNKNOWN[27])

gammu networkinfo with debug info

# gammu networkinfo 
[Gammu            - 1.39.0]
[Connection       - "at115200"]
[Connection index - 0]
[Model type       - "at"]
[Device           - "/dev/ttyUSB2"]
[Running on       - Linux, kernel 4.4.0-66-generic (#87-Ubuntu SMP Fri Mar 3 15:29:05 UTC 2017)]
[Module           - "A2D|iPAQ|at|M20|S25|MC35|TC35|C35i|S65|S300|5110|5130|5190|5210|6110|6130|6150|6190|6210|6250|6310|6310i|6510|7110|8210|8250|8290|8310|8390|8850|8855|8890|8910|9110|9210"]
Serial device: DTR is up, RTS is up, CAR is down, CTS is down
Setting speed to 115200
Escaping SMS mode
SENDING frame type 0x00/length 0x02/2
1B |0D                                                          ..              
Sending simple AT command to wake up some devices
SENDING frame type 0x00/length 0x03/3
41A|54T|0D                                                      AT.             
1 "AT"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x09/9
41A|54T|0D |0D |0A |4FO|4BK|0D |0A                              AT...OK..       
Enabling echo
SENDING frame type 0x00/length 0x05/5
41A|54T|45E|311|0D                                              ATE1.           
1 "ATE1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x0B/11
41A|54T|45E|311|0D |0D |0A |4FO|4BK|0D |0A                      ATE1...OK..     
Trying Motorola mode switch
SENDING frame type 0x00/length 0x0A/10
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D                          AT+MODE=2.      
1 "AT+MODE=2"
2 "COMMAND NOT SUPPORT"
Checking line: COMMAND NOT SUPPORT
AT reply state: 3
RECEIVED frame type 0x00/length 0x21/33
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D |0D |0A |43C|4FO|4DM|4DM AT+MODE=2...COMM
41A|4EN|44D|20 |4EN|4FO|54T|20 |53S|55U|50P|50P|4FO|52R|54T|0D  AND NOT SUPPORT.
0A                                                              .               
Seems not to be supported
Enabling CME errors
SENDING frame type 0x00/length 0x0A/10
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D                          AT+CMEE=1.      
1 "AT+CMEE=1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x10/16
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D |0D |0A |4FO|4BK|0D |0A  AT+CMEE=1...OK..
SENDING frame type 0x00/length 0x09/9
41A|54T|2B+|43C|53S|43C|53S|3F?|0D                              AT+CSCS?.       
1 "AT+CSCS?"
2 "+CSCS: "GSM""
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x1F/31
41A|54T|2B+|43C|53S|43C|53S|3F?|0D |0D |0A |2B+|43C|53S|43C|53S AT+CSCS?...+CSCS
3A:|20 |22"|47G|53S|4DM|22"|0D |0A |0D |0A |4FO|4BK|0D |0A      : "GSM"....OK.. 
SENDING frame type 0x00/length 0x0A/10
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D                          AT+CSCS=?.      
1 "AT+CSCS=?"
2 "+CSCS: ("IRA","GSM","UCS2")"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x2F/47
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D |0D |0A |2B+|43C|53S|43C AT+CSCS=?...+CSC
53S|3A:|20 |28(|22"|49I|52R|41A|22"|2C,|22"|47G|53S|4DM|22"|2C, S: ("IRA","GSM",
22"|55U|43C|53S|322|22"|29)|0D |0A |0D |0A |4FO|4BK|0D |0A      "UCS2")....OK.. 
Chosen GSM as normal charset
Chosen UCS2 as unicode charset
Getting model
SENDING frame type 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|4DM|0D                                  AT+CGMM.        
1 "AT+CGMM"
2 "E169"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x16/22
41A|54T|2B+|43C|47G|4DM|4DM|0D |0D |0A |45E|311|366|399|0D |0A  AT+CGMM...E169..
0D |0A |4FO|4BK|0D |0A                                          ..OK..          
[Model name: `E169']
[Model data: `E169']
[Model data: `E169']
[Connected model  - "E169"]
SENDING frame type 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|49I|0D                                  AT+CGMI.        
1 "AT+CGMI"
2 "huawei"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x18/24
41A|54T|2B+|43C|47G|4DM|49I|0D |0D |0A |68h|75u|61a|77w|65e|69i AT+CGMI...huawei
0D |0A |0D |0A |4FO|4BK|0D |0A                                  ....OK..        
Manufacturer info received
[Manufacturer: Huawei]
Checking for OBEX support
SENDING frame type 0x00/length 0x0B/11
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D                      AT+CPROT=?.     
1 "AT+CPROT=?"
2 "COMMAND NOT SUPPORT"
Checking line: COMMAND NOT SUPPORT
AT reply state: 3
RECEIVED frame type 0x00/length 0x22/34
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D |0D |0A |43C|4FO|4DM AT+CPROT=?...COM
4DM|41A|4EN|44D|20 |4EN|4FO|54T|20 |53S|55U|50P|50P|4FO|52R|54T MAND NOT SUPPORT
0D |0A                                                          ..              
Checking for SYNCML/OBEX support
SENDING frame type 0x00/length 0x0C/12
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D                  AT+SYNCML=?.    
1 "AT+SYNCML=?"
2 "COMMAND NOT SUPPORT"
Checking line: COMMAND NOT SUPPORT
AT reply state: 3
RECEIVED frame type 0x00/length 0x23/35
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D |0D |0A |43C|4FO AT+SYNCML=?...CO
4DM|4DM|41A|4EN|44D|20 |4EN|4FO|54T|20 |53S|55U|50P|50P|4FO|52R MMAND NOT SUPPOR
54T|0D |0A                                                      T..             
SENDING frame type 0x00/length 0x0D/13
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D              AT$TSSPCSW=?.   
1 "AT$TSSPCSW=?"
2 "COMMAND NOT SUPPORT"
Checking line: COMMAND NOT SUPPORT
AT reply state: 3
RECEIVED frame type 0x00/length 0x24/36
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D |0D |0A |43C AT$TSSPCSW=?...C
4FO|4DM|4DM|41A|4EN|44D|20 |4EN|4FO|54T|20 |53S|55U|50P|50P|4FO OMMAND NOT SUPPO
52R|54T|0D |0A                                                  RT..            
Getting firmware versions
SENDING frame type 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|52R|0D                                  AT+CGMR.        
1 "AT+CGMR"
2 "11.314.13.01.00"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x21/33
41A|54T|2B+|43C|47G|4DM|52R|0D |0D |0A |311|311|2E.|333|311|344 AT+CGMR...11.314
2E.|311|333|2E.|300|311|2E.|300|300|0D |0A |0D |0A |4FO|4BK|0D  .13.01.00....OK.
0A                                                              .               
Received firmware version: "11.314.13.01.00"
Number version is "11.314130"
[Firmware version - "11.314.13.01.00"]
SENDING frame type 0x00/length 0x0A/10
41A|54T|5E^|43C|55U|52R|43C|3D=|300|0D                          AT^CURC=0.      
1 "AT^CURC=0"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x10/16
41A|54T|5E^|43C|55U|52R|43C|3D=|300|0D |0D |0A |4FO|4BK|0D |0A  AT^CURC=0...OK..
SENDING frame type 0x00/length 0x0A/10
41A|54T|2B+|43C|46F|55U|4EN|3D=|311|0D                          AT+CFUN=1.      
1 "AT+CFUN=1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x10/16
41A|54T|2B+|43C|46F|55U|4EN|3D=|311|0D |0D |0A |4FO|4BK|0D |0A  AT+CFUN=1...OK..
SENDING frame type 0x00/length 0x0D/13
41A|54T|5E^|50P|4FO|52R|54T|53S|45E|4CL|3D=|311|0D              AT^PORTSEL=1.   
1 "AT^PORTSEL=1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x13/19
41A|54T|5E^|50P|4FO|52R|54T|53S|45E|4CL|3D=|311|0D |0D |0A |4FO AT^PORTSEL=1...O
4BK|0D |0A                                                      K..             
[Connected]
Entering GSM_GetNetworkInfo
Enable full network info
SENDING frame type 0x00/length 0x0A/10
41A|54T|2B+|43C|52R|45E|47G|3D=|322|0D                          AT+CREG=2.      
1 "AT+CREG=2"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x10/16
41A|54T|2B+|43C|52R|45E|47G|3D=|322|0D |0D |0A |4FO|4BK|0D |0A  AT+CREG=2...OK..
Enable full packet network info
SENDING frame type 0x00/length 0x0B/11
41A|54T|2B+|43C|47G|52R|45E|47G|3D=|322|0D                      AT+CGREG=2.     
1 "AT+CGREG=2"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x11/17
41A|54T|2B+|43C|47G|52R|45E|47G|3D=|322|0D |0D |0A |4FO|4BK|0D  AT+CGREG=2...OK.
0A                                                              .               
Getting GPRS state
SENDING frame type 0x00/length 0x0A/10
41A|54T|2B+|43C|47G|41A|54T|54T|3F?|0D                          AT+CGATT?.      
1 "AT+CGATT?"
2 "+CGATT: 0"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x1D/29
41A|54T|2B+|43C|47G|41A|54T|54T|3F?|0D |0D |0A |2B+|43C|47G|41A AT+CGATT?...+CGA
54T|54T|3A:|20 |300|0D |0A |0D |0A |4FO|4BK|0D |0A              TT: 0....OK..   
GPRS state received
Parsing +CGATT: 0 with +CGATT: @i
Parsed int 0
Getting network LAC and CID and state
SENDING frame type 0x00/length 0x09/9
41A|54T|2B+|43C|52R|45E|47G|3F?|0D                              AT+CREG?.       
1 "AT+CREG?"
2 "+CREG: 2,1,CEB0,7B7"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x26/38
41A|54T|2B+|43C|52R|45E|47G|3F?|0D |0D |0A |2B+|43C|52R|45E|47G AT+CREG?...+CREG
3A:|20 |322|2C,|311|2C,|43C|45E|42B|300|2C,|377|42B|377|0D |0A  : 2,1,CEB0,7B7..
0D |0A |4FO|4BK|0D |0A                                          ..OK..          
Network LAC & CID & state received
Parsing +CREG: 2,1,CEB0,7B7 with +CREG: @i, @i, @r, @r, @i
Parsed int 2
Parsed int 1
Grabbed string from reply: "CEB0" (parsed 4 bytes)
Parsed raw string "CEB0"
Grabbed string from reply: "7B7" (parsed 3 bytes)
Parsed raw string "7B7"
Parsing +CREG: 2,1,CEB0,7B7 with +CREG: @i, @i, @r, @r
Parsed int 2
Parsed int 1
Grabbed string from reply: "CEB0" (parsed 4 bytes)
Parsed raw string "CEB0"
Grabbed string from reply: "7B7" (parsed 3 bytes)
Parsed raw string "7B7"
Home network
Getting packet network LAC and CID and state
SENDING frame type 0x00/length 0x0A/10
41A|54T|2B+|43C|47G|52R|45E|47G|3F?|0D                          AT+CGREG?.      
1 "AT+CGREG?"
2 "+CGREG: 2,0,CEB0,7B7"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x28/40
41A|54T|2B+|43C|47G|52R|45E|47G|3F?|0D |0D |0A |2B+|43C|47G|52R AT+CGREG?...+CGR
45E|47G|3A:|20 |322|2C,|300|2C,|43C|45E|42B|300|2C,|377|42B|377 EG: 2,0,CEB0,7B7
0D |0A |0D |0A |4FO|4BK|0D |0A                                  ....OK..        
Network LAC & CID & state received
Parsing +CGREG: 2,0,CEB0,7B7 with +CGREG: @i, @i, @r, @r, @i, @r
Parsed int 2
Parsed int 0
Grabbed string from reply: "CEB0" (parsed 4 bytes)
Parsed raw string "CEB0"
Grabbed string from reply: "7B7" (parsed 3 bytes)
Parsed raw string "7B7"
Parsing +CGREG: 2,0,CEB0,7B7 with +CGREG: @i, @i, @r, @r, @i
Parsed int 2
Parsed int 0
Grabbed string from reply: "CEB0" (parsed 4 bytes)
Parsed raw string "CEB0"
Grabbed string from reply: "7B7" (parsed 3 bytes)
Parsed raw string "7B7"
Parsing +CGREG: 2,0,CEB0,7B7 with +CGREG: @i, @i, @r, @r
Parsed int 2
Parsed int 0
Grabbed string from reply: "CEB0" (parsed 4 bytes)
Parsed raw string "CEB0"
Grabbed string from reply: "7B7" (parsed 3 bytes)
Parsed raw string "7B7"
Not registered into any network. Not searching for network
Setting short network name format
SENDING frame type 0x00/length 0x0C/12
41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|322|0D                  AT+COPS=3,2.    
1 "AT+COPS=3,2"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x12/18
41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|322|0D |0D |0A |4FO|4BK AT+COPS=3,2...OK
0D |0A                                                          ..              
Getting network code
SENDING frame type 0x00/length 0x09/9
41A|54T|2B+|43C|4FO|50P|53S|3F?|0D                              AT+COPS?.       
1 "AT+COPS?"
2 "+COPS: 0,2,"26003",2"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x27/39
41A|54T|2B+|43C|4FO|50P|53S|3F?|0D |0D |0A |2B+|43C|4FO|50P|53S AT+COPS?...+COPS
3A:|20 |300|2C,|322|2C,|22"|322|366|300|300|333|22"|2C,|322|0D  : 0,2,"26003",2.
0A |0D |0A |4FO|4BK|0D |0A                                      ...OK..         
Network code received
Parsing +COPS: 0,2,"26003",2 with +COPS: @i, @i, @r
Parsed int 0
Parsed int 2
Grabbed string from reply: "26003" (parsed 7 bytes)
Parsed raw string "26003"
String do not end same!
Parsing +COPS: 0,2,"26003",2 with +COPS: @i, @i, @r, @i
Parsed int 0
Parsed int 2
Grabbed string from reply: "26003" (parsed 7 bytes)
Parsed raw string "26003"
Parsed int 2
   Network code              : 260 03
   Network name for Gammu    : Orange (Poland)
Setting long string network name format
SENDING frame type 0x00/length 0x0C/12
41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|300|0D                  AT+COPS=3,0.    
1 "AT+COPS=3,0"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x12/18
41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|300|0D |0D |0A |4FO|4BK AT+COPS=3,0...OK
0D |0A                                                          ..              
Getting network code
SENDING frame type 0x00/length 0x09/9
41A|54T|2B+|43C|4FO|50P|53S|3F?|0D                              AT+COPS?.       
1 "AT+COPS?"
2 "+COPS: 0,0,"Orange@",2"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x29/41
41A|54T|2B+|43C|4FO|50P|53S|3F?|0D |0D |0A |2B+|43C|4FO|50P|53S AT+COPS?...+COPS
3A:|20 |300|2C,|300|2C,|22"|4FO|72r|61a|6En|67g|65e|40@|22"|2C, : 0,0,"Orange@",
322|0D |0A |0D |0A |4FO|4BK|0D |0A                              2....OK..       
Network name received
Parsing +COPS: 0,0,"Orange@",2 with +COPS: @i, @i, @s
Parsed int 0
Parsed int 0
Grabbed string from reply: "Orange@" (parsed 9 bytes)
Parsed generic string "Orange@"
Generic string decoded as "Orange¡"
String do not end same!
Parsing +COPS: 0,0,"Orange@",2 with +COPS: @i, @i, @s, @i
Parsed int 0
Parsed int 0
Grabbed string from reply: "Orange@" (parsed 9 bytes)
Parsed generic string "Orange@"
Generic string decoded as "Orange¡"
Parsed int 2
Leaving GSM_GetNetworkInfo
Network state        : home network
Network              : 260 03 (Orange, Poland), LAC CEB0, CID 7B7
Name in phone        : "Orange¡"
Packet network state : not logged into network
GPRS                 : detached
[Terminating]
[Closing]
nijel commented 6 years ago

Thanks, now it contains the error cause as well. I've tried to address it in 2983c8d6cac2f3b9445bac4d731fc1bd15ce9048, it would be great if you could test version from latest git.

kusmierz commented 6 years ago

It helps... but partially I guess...

gammu-smsd[9199]: Received IN20180131_190313_00__00.txt
gammu-smsd[9199]: gammu: 
gammu-smsd[9199]: gammu: UNKNOWN response. Please report the error, see <https://wammu.eu/support/bugs/>. Thank you

IN20180131_190313_00__00.txt is empty (size 0).

whole log below:

root@linux[±|detached:master ✓]:~/compiles/gammu/build-configure/smsd # ./gammu-smsd --user gammu --pid /var/run/gammu-smsd.pid -L

gammu-smsd[9199]: Using FILES service
gammu-smsd[9199]: Configuring Gammu SMSD...
gammu-smsd[9199]: SHM token: 0x10009ca (16779722)
gammu-smsd[9199]: Warning: No PIN code in /etc/gammu-smsdrc file
gammu-smsd[9199]: CommTimeout=30, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0
gammu-smsd[9199]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1
gammu-smsd[9199]: mode: Send=1, Receive=1
gammu-smsd[9199]: deliveryreport = no
gammu-smsd[9199]: phoneid = 
gammu-smsd[9199]: Inbox is "/var/spool/gammu/inbox/" with format "standard"
gammu-smsd[9199]: Outbox is "/var/spool/gammu/outbox/" with format "detail" and transmission format "7bit"
gammu-smsd[9199]: Sent SMS moved to "/var/spool/gammu/sent/"
gammu-smsd[9199]: SMS with errors moved to "/var/spool/gammu/error/"
Stale lock file, ignoring!
gammu-smsd[9199]: Created POSIX RW shared memory at 0x7fe425e2f000
gammu-smsd[9199]: Starting phone communication...
gammu-smsd[9199]: gammu: [Gammu            - 1.39.1]
gammu-smsd[9199]: gammu: [Connection       - "at"]
gammu-smsd[9199]: gammu: [Connection index - 0]
gammu-smsd[9199]: gammu: [Model type       - ""]
gammu-smsd[9199]: gammu: [Device           - "/dev/ttyUSB0"]
gammu-smsd[9199]: gammu: [Running on       - Linux, kernel 4.4.0-66-generic (#87-Ubuntu SMP Fri Mar 3 15:29:05 UTC 2017)]
gammu-smsd[9199]: gammu: Serial device: DTR is up, RTS is up, CAR is up, CTS is up
gammu-smsd[9199]: gammu: Setting speed to 115200
gammu-smsd[9199]: gammu: [Module           - "auto"]
gammu-smsd[9199]: gammu: Escaping SMS mode
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x02/2
gammu-smsd[9199]: gammu: 1B |0D                                                          ..              
gammu-smsd[9199]: gammu: Sending simple AT command to wake up some devices
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x03/3
gammu-smsd[9199]: gammu: 41A|54T|0D                                                      AT.             
gammu-smsd[9199]: gammu: 1 "AT"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x09/9
gammu-smsd[9199]: gammu: 41A|54T|0D |0D |0A |4FO|4BK|0D |0A                              AT...OK..       
gammu-smsd[9199]: gammu: Enabling echo
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x05/5
gammu-smsd[9199]: gammu: 41A|54T|45E|311|0D                                              ATE1.           
gammu-smsd[9199]: gammu: 1 "ATE1"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x0B/11
gammu-smsd[9199]: gammu: 41A|54T|45E|311|0D |0D |0A |4FO|4BK|0D |0A                      ATE1...OK..     
gammu-smsd[9199]: gammu: Trying Motorola mode switch
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D                          AT+MODE=2.      
gammu-smsd[9199]: gammu: 1 "AT+MODE=2"
gammu-smsd[9199]: gammu: 2 "COMMAND NOT SUPPORT"
gammu-smsd[9199]: gammu: Checking line: COMMAND NOT SUPPORT
gammu-smsd[9199]: gammu: AT reply state: 3
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x21/33
gammu-smsd[9199]: gammu: 41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D |0D |0A |43C|4FO|4DM|4DM AT+MODE=2...COMM
gammu-smsd[9199]: gammu: 41A|4EN|44D|20 |4EN|4FO|54T|20 |53S|55U|50P|50P|4FO|52R|54T|0D  AND NOT SUPPORT.
gammu-smsd[9199]: gammu: 0A                                                              .               
gammu-smsd[9199]: gammu: Seems not to be supported
gammu-smsd[9199]: gammu: Enabling CME errors
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D                          AT+CMEE=1.      
gammu-smsd[9199]: gammu: 1 "AT+CMEE=1"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x10/16
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D |0D |0A |4FO|4BK|0D |0A  AT+CMEE=1...OK..
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x09/9
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|53S|43C|53S|3F?|0D                              AT+CSCS?.       
gammu-smsd[9199]: gammu: 1 "AT+CSCS?"
gammu-smsd[9199]: gammu: 2 "+CSCS: "GSM""
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x1F/31
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|53S|43C|53S|3F?|0D |0D |0A |2B+|43C|53S|43C|53S AT+CSCS?...+CSCS
gammu-smsd[9199]: gammu: 3A:|20 |22"|47G|53S|4DM|22"|0D |0A |0D |0A |4FO|4BK|0D |0A      : "GSM"....OK.. 
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D                          AT+CSCS=?.      
gammu-smsd[9199]: gammu: 1 "AT+CSCS=?"
gammu-smsd[9199]: gammu: 2 "+CSCS: ("IRA","GSM","UCS2")"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x2F/47
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D |0D |0A |2B+|43C|53S|43C AT+CSCS=?...+CSC
gammu-smsd[9199]: gammu: 53S|3A:|20 |28(|22"|49I|52R|41A|22"|2C,|22"|47G|53S|4DM|22"|2C, S: ("IRA","GSM",
gammu-smsd[9199]: gammu: 22"|55U|43C|53S|322|22"|29)|0D |0A |0D |0A |4FO|4BK|0D |0A      "UCS2")....OK.. 
gammu-smsd[9199]: gammu: Chosen GSM as normal charset
gammu-smsd[9199]: gammu: Chosen UCS2 as unicode charset
gammu-smsd[9199]: gammu: Getting model
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x08/8
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|4DM|4DM|0D                                  AT+CGMM.        
gammu-smsd[9199]: gammu: 1 "AT+CGMM"
gammu-smsd[9199]: gammu: 2 "E169"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x16/22
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|4DM|4DM|0D |0D |0A |45E|311|366|399|0D |0A  AT+CGMM...E169..
gammu-smsd[9199]: gammu: 0D |0A |4FO|4BK|0D |0A                                          ..OK..          
gammu-smsd[9199]: gammu: [Model name: `E169']
gammu-smsd[9199]: gammu: [Model data: `E169']
gammu-smsd[9199]: gammu: [Model data: `E169']
gammu-smsd[9199]: gammu: [Connected model  - "E169"]
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x08/8
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|4DM|49I|0D                                  AT+CGMI.        
gammu-smsd[9199]: gammu: 1 "AT+CGMI"
gammu-smsd[9199]: gammu: 2 "huawei"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x18/24
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|4DM|49I|0D |0D |0A |68h|75u|61a|77w|65e|69i AT+CGMI...huawei
gammu-smsd[9199]: gammu: 0D |0A |0D |0A |4FO|4BK|0D |0A                                  ....OK..        
gammu-smsd[9199]: gammu: Manufacturer info received
gammu-smsd[9199]: gammu: [Manufacturer: Huawei]
gammu-smsd[9199]: gammu: Checking for OBEX support
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0B/11
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D                      AT+CPROT=?.     
gammu-smsd[9199]: gammu: 1 "AT+CPROT=?"
gammu-smsd[9199]: gammu: 2 "COMMAND NOT SUPPORT"
gammu-smsd[9199]: gammu: Checking line: COMMAND NOT SUPPORT
gammu-smsd[9199]: gammu: AT reply state: 3
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x22/34
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D |0D |0A |43C|4FO|4DM AT+CPROT=?...COM
gammu-smsd[9199]: gammu: 4DM|41A|4EN|44D|20 |4EN|4FO|54T|20 |53S|55U|50P|50P|4FO|52R|54T MAND NOT SUPPORT
gammu-smsd[9199]: gammu: 0D |0A                                                          ..              
gammu-smsd[9199]: gammu: Checking for SYNCML/OBEX support
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0C/12
gammu-smsd[9199]: gammu: 41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D                  AT+SYNCML=?.    
gammu-smsd[9199]: gammu: 1 "AT+SYNCML=?"
gammu-smsd[9199]: gammu: 2 "COMMAND NOT SUPPORT"
gammu-smsd[9199]: gammu: Checking line: COMMAND NOT SUPPORT
gammu-smsd[9199]: gammu: AT reply state: 3
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x23/35
gammu-smsd[9199]: gammu: 41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D |0D |0A |43C|4FO AT+SYNCML=?...CO
gammu-smsd[9199]: gammu: 4DM|4DM|41A|4EN|44D|20 |4EN|4FO|54T|20 |53S|55U|50P|50P|4FO|52R MMAND NOT SUPPOR
gammu-smsd[9199]: gammu: 54T|0D |0A                                                      T..             
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0D/13
gammu-smsd[9199]: gammu: 41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D              AT$TSSPCSW=?.   
gammu-smsd[9199]: gammu: 1 "AT$TSSPCSW=?"
gammu-smsd[9199]: gammu: 2 "COMMAND NOT SUPPORT"
gammu-smsd[9199]: gammu: Checking line: COMMAND NOT SUPPORT
gammu-smsd[9199]: gammu: AT reply state: 3
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x24/36
gammu-smsd[9199]: gammu: 41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D |0D |0A |43C AT$TSSPCSW=?...C
gammu-smsd[9199]: gammu: 4FO|4DM|4DM|41A|4EN|44D|20 |4EN|4FO|54T|20 |53S|55U|50P|50P|4FO OMMAND NOT SUPPO
gammu-smsd[9199]: gammu: 52R|54T|0D |0A                                                  RT..            
gammu-smsd[9199]: gammu: [Module           - "A2D|iPAQ|at|M20|S25|MC35|TC35|C35i|S65|S300|5110|5130|5190|5210|6110|6130|6150|6190|6210|6250|6310|6310i|6510|7110|8210|8250|8290|8310|8390|8850|8855|8890|8910|9110|9210"]
gammu-smsd[9199]: gammu: Escaping SMS mode
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x02/2
gammu-smsd[9199]: gammu: 1B |0D                                                          ..              
gammu-smsd[9199]: gammu: Sending simple AT command to wake up some devices
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x03/3
gammu-smsd[9199]: gammu: 41A|54T|0D                                                      AT.             
gammu-smsd[9199]: gammu: 1 "AT"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x09/9
gammu-smsd[9199]: gammu: 41A|54T|0D |0D |0A |4FO|4BK|0D |0A                              AT...OK..       
gammu-smsd[9199]: gammu: Enabling echo
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x05/5
gammu-smsd[9199]: gammu: 41A|54T|45E|311|0D                                              ATE1.           
gammu-smsd[9199]: gammu: 1 "ATE1"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x0B/11
gammu-smsd[9199]: gammu: 41A|54T|45E|311|0D |0D |0A |4FO|4BK|0D |0A                      ATE1...OK..     
gammu-smsd[9199]: gammu: Trying Motorola mode switch
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D                          AT+MODE=2.      
gammu-smsd[9199]: gammu: 1 "AT+MODE=2"
gammu-smsd[9199]: gammu: 2 "COMMAND NOT SUPPORT"
gammu-smsd[9199]: gammu: Checking line: COMMAND NOT SUPPORT
gammu-smsd[9199]: gammu: AT reply state: 3
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x21/33
gammu-smsd[9199]: gammu: 41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D |0D |0A |43C|4FO|4DM|4DM AT+MODE=2...COMM
gammu-smsd[9199]: gammu: 41A|4EN|44D|20 |4EN|4FO|54T|20 |53S|55U|50P|50P|4FO|52R|54T|0D  AND NOT SUPPORT.
gammu-smsd[9199]: gammu: 0A                                                              .               
gammu-smsd[9199]: gammu: Seems not to be supported
gammu-smsd[9199]: gammu: Enabling CME errors
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D                          AT+CMEE=1.      
gammu-smsd[9199]: gammu: 1 "AT+CMEE=1"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x10/16
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D |0D |0A |4FO|4BK|0D |0A  AT+CMEE=1...OK..
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x09/9
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|53S|43C|53S|3F?|0D                              AT+CSCS?.       
gammu-smsd[9199]: gammu: 1 "AT+CSCS?"
gammu-smsd[9199]: gammu: 2 "+CSCS: "GSM""
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x1F/31
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|53S|43C|53S|3F?|0D |0D |0A |2B+|43C|53S|43C|53S AT+CSCS?...+CSCS
gammu-smsd[9199]: gammu: 3A:|20 |22"|47G|53S|4DM|22"|0D |0A |0D |0A |4FO|4BK|0D |0A      : "GSM"....OK.. 
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D                          AT+CSCS=?.      
gammu-smsd[9199]: gammu: 1 "AT+CSCS=?"
gammu-smsd[9199]: gammu: 2 "+CSCS: ("IRA","GSM","UCS2")"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x2F/47
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D |0D |0A |2B+|43C|53S|43C AT+CSCS=?...+CSC
gammu-smsd[9199]: gammu: 53S|3A:|20 |28(|22"|49I|52R|41A|22"|2C,|22"|47G|53S|4DM|22"|2C, S: ("IRA","GSM",
gammu-smsd[9199]: gammu: 22"|55U|43C|53S|322|22"|29)|0D |0A |0D |0A |4FO|4BK|0D |0A      "UCS2")....OK.. 
gammu-smsd[9199]: gammu: Chosen GSM as normal charset
gammu-smsd[9199]: gammu: Chosen UCS2 as unicode charset
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x08/8
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|4DM|49I|0D                                  AT+CGMI.        
gammu-smsd[9199]: gammu: 1 "AT+CGMI"
gammu-smsd[9199]: gammu: 2 "huawei"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x18/24
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|4DM|49I|0D |0D |0A |68h|75u|61a|77w|65e|69i AT+CGMI...huawei
gammu-smsd[9199]: gammu: 0D |0A |0D |0A |4FO|4BK|0D |0A                                  ....OK..        
gammu-smsd[9199]: gammu: Manufacturer info received
gammu-smsd[9199]: gammu: [Manufacturer: Huawei]
gammu-smsd[9199]: gammu: Checking for OBEX support
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0B/11
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D                      AT+CPROT=?.     
gammu-smsd[9199]: gammu: 1 "AT+CPROT=?"
gammu-smsd[9199]: gammu: 2 "COMMAND NOT SUPPORT"
gammu-smsd[9199]: gammu: Checking line: COMMAND NOT SUPPORT
gammu-smsd[9199]: gammu: AT reply state: 3
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x22/34
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D |0D |0A |43C|4FO|4DM AT+CPROT=?...COM
gammu-smsd[9199]: gammu: 4DM|41A|4EN|44D|20 |4EN|4FO|54T|20 |53S|55U|50P|50P|4FO|52R|54T MAND NOT SUPPORT
gammu-smsd[9199]: gammu: 0D |0A                                                          ..              
gammu-smsd[9199]: gammu: Checking for SYNCML/OBEX support
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0C/12
gammu-smsd[9199]: gammu: 41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D                  AT+SYNCML=?.    
gammu-smsd[9199]: gammu: 1 "AT+SYNCML=?"
gammu-smsd[9199]: gammu: 2 "COMMAND NOT SUPPORT"
gammu-smsd[9199]: gammu: Checking line: COMMAND NOT SUPPORT
gammu-smsd[9199]: gammu: AT reply state: 3
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x23/35
gammu-smsd[9199]: gammu: 41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D |0D |0A |43C|4FO AT+SYNCML=?...CO
gammu-smsd[9199]: gammu: 4DM|4DM|41A|4EN|44D|20 |4EN|4FO|54T|20 |53S|55U|50P|50P|4FO|52R MMAND NOT SUPPOR
gammu-smsd[9199]: gammu: 54T|0D |0A                                                      T..             
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0D/13
gammu-smsd[9199]: gammu: 41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D              AT$TSSPCSW=?.   
gammu-smsd[9199]: gammu: 1 "AT$TSSPCSW=?"
gammu-smsd[9199]: gammu: 2 "COMMAND NOT SUPPORT"
gammu-smsd[9199]: gammu: Checking line: COMMAND NOT SUPPORT
gammu-smsd[9199]: gammu: AT reply state: 3
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x24/36
gammu-smsd[9199]: gammu: 41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D |0D |0A |43C AT$TSSPCSW=?...C
gammu-smsd[9199]: gammu: 4FO|4DM|4DM|41A|4EN|44D|20 |4EN|4FO|54T|20 |53S|55U|50P|50P|4FO OMMAND NOT SUPPO
gammu-smsd[9199]: gammu: 52R|54T|0D |0A                                                  RT..            
gammu-smsd[9199]: gammu: Getting firmware versions
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x08/8
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|4DM|52R|0D                                  AT+CGMR.        
gammu-smsd[9199]: gammu: 1 "AT+CGMR"
gammu-smsd[9199]: gammu: 2 "11.314.13.01.00"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x21/33
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|4DM|52R|0D |0D |0A |311|311|2E.|333|311|344 AT+CGMR...11.314
gammu-smsd[9199]: gammu: 2E.|311|333|2E.|300|311|2E.|300|300|0D |0A |0D |0A |4FO|4BK|0D  .13.01.00....OK.
gammu-smsd[9199]: gammu: 0A                                                              .               
gammu-smsd[9199]: gammu: Received firmware version: "11.314.13.01.00"
gammu-smsd[9199]: gammu: Number version is "11.314130"
gammu-smsd[9199]: gammu: [Firmware version - "11.314.13.01.00"]
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|5E^|43C|55U|52R|43C|3D=|300|0D                          AT^CURC=0.      
gammu-smsd[9199]: gammu: 1 "AT^CURC=0"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x10/16
gammu-smsd[9199]: gammu: 41A|54T|5E^|43C|55U|52R|43C|3D=|300|0D |0D |0A |4FO|4BK|0D |0A  AT^CURC=0...OK..
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|46F|55U|4EN|3D=|311|0D                          AT+CFUN=1.      
gammu-smsd[9199]: gammu: 1 "AT+CFUN=1"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x10/16
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|46F|55U|4EN|3D=|311|0D |0D |0A |4FO|4BK|0D |0A  AT+CFUN=1...OK..
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0D/13
gammu-smsd[9199]: gammu: 41A|54T|5E^|50P|4FO|52R|54T|53S|45E|4CL|3D=|311|0D              AT^PORTSEL=1.   
gammu-smsd[9199]: gammu: 1 "AT^PORTSEL=1"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x13/19
gammu-smsd[9199]: gammu: 41A|54T|5E^|50P|4FO|52R|54T|53S|45E|4CL|3D=|311|0D |0D |0A |4FO AT^PORTSEL=1...O
gammu-smsd[9199]: gammu: 4BK|0D |0A                                                      K..             
gammu-smsd[9199]: gammu: [Connected]
gammu-smsd[9199]: gammu: Entering GSM_GetSecurityStatus
gammu-smsd[9199]: gammu: Getting security code status
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x09/9
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|49I|4EN|3F?|0D                              AT+CPIN?.       
gammu-smsd[9199]: gammu: 1 "AT+CPIN?"
gammu-smsd[9199]: gammu: 2 "+CPIN: READY"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x1F/31
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|49I|4EN|3F?|0D |0D |0A |2B+|43C|50P|49I|4EN AT+CPIN?...+CPIN
gammu-smsd[9199]: gammu: 3A:|20 |52R|45E|41A|44D|59Y|0D |0A |0D |0A |4FO|4BK|0D |0A      : READY....OK.. 
gammu-smsd[9199]: gammu: Parsing +CPIN: READY with +CPIN: @r
gammu-smsd[9199]: gammu: Grabbed string from reply: "READY" (parsed 5 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "READY"
gammu-smsd[9199]: gammu: Security status received - nothing to enter
gammu-smsd[9199]: gammu: Leaving GSM_GetSecurityStatus
gammu-smsd[9199]: gammu: Entering GSM_SetIncomingSMS
gammu-smsd[9199]: gammu: Getting available SMS memories
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|3F?|0D                          AT+CPMS=?.      
gammu-smsd[9199]: gammu: 1 "AT+CPMS=?"
gammu-smsd[9199]: gammu: 2 "+CPMS: ("ME","MT","SM","SR"),("ME","MT","SM","SR"),("ME","MT","SM","SR")"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x5C/92
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|3F?|0D |0D |0A |2B+|43C|50P|4DM AT+CPMS=?...+CPM
gammu-smsd[9199]: gammu: 53S|3A:|20 |28(|22"|4DM|45E|22"|2C,|22"|4DM|54T|22"|2C,|22"|53S S: ("ME","MT","S
gammu-smsd[9199]: gammu: 4DM|22"|2C,|22"|53S|52R|22"|29)|2C,|28(|22"|4DM|45E|22"|2C,|22" M","SR"),("ME","
gammu-smsd[9199]: gammu: 4DM|54T|22"|2C,|22"|53S|4DM|22"|2C,|22"|53S|52R|22"|29)|2C,|28( MT","SM","SR"),(
gammu-smsd[9199]: gammu: 22"|4DM|45E|22"|2C,|22"|4DM|54T|22"|2C,|22"|53S|4DM|22"|2C,|22" "ME","MT","SM","
gammu-smsd[9199]: gammu: 53S|52R|22"|29)|0D |0A |0D |0A |4FO|4BK|0D |0A                  SR")....OK..    
gammu-smsd[9199]: gammu: Available SMS memories received: read: ME : ok, SM : ok, save: ME : ok, SM = ok, Motorola = no
gammu-smsd[9199]: gammu: Setting SMS memory type to ME
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0D/13
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|4DM|45E|22"|0D              AT+CPMS="ME".   
gammu-smsd[9199]: gammu: 1 "AT+CPMS="ME""
gammu-smsd[9199]: gammu: 2 "+CPMS: 0,23,0,23,0,25"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x2C/44
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|4DM|45E|22"|0D |0D |0A |2B+ AT+CPMS="ME"...+
gammu-smsd[9199]: gammu: 43C|50P|4DM|53S|3A:|20 |300|2C,|322|333|2C,|300|2C,|322|333|2C, CPMS: 0,23,0,23,
gammu-smsd[9199]: gammu: 300|2C,|322|355|0D |0A |0D |0A |4FO|4BK|0D |0A                  0,25....OK..    
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4EN|4DM|49I|3D=|3F?|0D                          AT+CNMI=?.      
gammu-smsd[9199]: gammu: 1 "AT+CNMI=?"
gammu-smsd[9199]: gammu: 2 "+CNMI: (0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x40/64
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4EN|4DM|49I|3D=|3F?|0D |0D |0A |2B+|43C|4EN|4DM AT+CNMI=?...+CNM
gammu-smsd[9199]: gammu: 49I|3A:|20 |28(|300|2C,|311|2C,|322|29)|2C,|28(|300|2C,|311|2C, I: (0,1,2),(0,1,
gammu-smsd[9199]: gammu: 322|2C,|333|29)|2C,|28(|300|2C,|322|29)|2C,|28(|300|2C,|311|2C, 2,3),(0,2),(0,1,
gammu-smsd[9199]: gammu: 322|29)|2C,|28(|300|2C,|311|29)|0D |0A |0D |0A |4FO|4BK|0D |0A  2),(0,1)....OK..
gammu-smsd[9199]: gammu: Parsing range: (0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)
gammu-smsd[9199]: gammu: Returning range: 0, 1, 2, -1
gammu-smsd[9199]: gammu: Parsing range: (0,1,2,3),(0,2),(0,1,2),(0,1)
gammu-smsd[9199]: gammu: Returning range: 0, 1, 2, 3, -1
gammu-smsd[9199]: gammu: Parsing range: (0,2),(0,1,2),(0,1)
gammu-smsd[9199]: gammu: Returning range: 0, 2, -1
gammu-smsd[9199]: gammu: Parsing range: (0,1,2),(0,1)
gammu-smsd[9199]: gammu: Returning range: 0, 1, 2, -1
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x10/16
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4EN|4DM|49I|3D=|322|2C,|311|2C,|300|2C,|322|0D  AT+CNMI=2,1,0,2.
gammu-smsd[9199]: gammu: 1 "AT+CNMI=2,1,0,2"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x16/22
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4EN|4DM|49I|3D=|322|2C,|311|2C,|300|2C,|322|0D  AT+CNMI=2,1,0,2.
gammu-smsd[9199]: gammu: 0D |0A |4FO|4BK|0D |0A                                          ..OK..          
gammu-smsd[9199]: gammu: Leaving GSM_SetIncomingSMS
gammu-smsd[9199]: gammu: Entering GSM_SetIncomingUSSD
gammu-smsd[9199]: gammu: Enabling incoming USSD
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|55U|53S|44D|3D=|311|0D                          AT+CUSD=1.      
gammu-smsd[9199]: gammu: 1 "AT+CUSD=1"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x10/16
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|55U|53S|44D|3D=|311|0D |0D |0A |4FO|4BK|0D |0A  AT+CUSD=1...OK..
gammu-smsd[9199]: gammu: Leaving GSM_SetIncomingUSSD
gammu-smsd[9199]: gammu: Entering GSM_GetIMEI
gammu-smsd[9199]: gammu: Getting IMEI
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x08/8
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|53S|4EN|0D                                  AT+CGSN.        
gammu-smsd[9199]: gammu: 1 "AT+CGSN"
gammu-smsd[9199]: gammu: 2 "352835033224877"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x21/33
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|53S|4EN|0D |0D |0A |333|355|322|388|333|355 AT+CGSN...352835
gammu-smsd[9199]: gammu: 300|333|333|322|322|344|388|377|377|0D |0A |0D |0A |4FO|4BK|0D  033224877....OK.
gammu-smsd[9199]: gammu: 0A                                                              .               
gammu-smsd[9199]: gammu: Received IMEI 352835033224877
gammu-smsd[9199]: gammu: Leaving GSM_GetIMEI
gammu-smsd[9199]: gammu: Entering GSM_GetSIMIMSI
gammu-smsd[9199]: gammu: Getting SIM IMSI
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x08/8
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|49I|4DM|49I|0D                                  AT+CIMI.        
gammu-smsd[9199]: gammu: 1 "AT+CIMI"
gammu-smsd[9199]: gammu: 2 "260034662176089"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x21/33
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|49I|4DM|49I|0D |0D |0A |322|366|300|300|333|344 AT+CIMI...260034
gammu-smsd[9199]: gammu: 366|366|322|311|377|366|300|388|399|0D |0A |0D |0A |4FO|4BK|0D  662176089....OK.
gammu-smsd[9199]: gammu: 0A                                                              .               
gammu-smsd[9199]: gammu: Received IMSI 260034662176089
gammu-smsd[9199]: gammu: Leaving GSM_GetSIMIMSI
gammu-smsd[9199]: gammu: Entering GSM_SetFastSMSSending
gammu-smsd[9199]: gammu: Enabling fast SMS sending
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4DM|4DM|53S|3D=|322|0D                          AT+CMMS=2.      
gammu-smsd[9199]: gammu: 1 "AT+CMMS=2"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x10/16
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4DM|4DM|53S|3D=|322|0D |0D |0A |4FO|4BK|0D |0A  AT+CMMS=2...OK..
gammu-smsd[9199]: gammu: Leaving GSM_SetFastSMSSending
gammu-smsd[9199]: gammu: Entering GSM_GetSecurityStatus
gammu-smsd[9199]: gammu: Getting security code status
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x09/9
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|49I|4EN|3F?|0D                              AT+CPIN?.       
gammu-smsd[9199]: gammu: 1 "AT+CPIN?"
gammu-smsd[9199]: gammu: 2 "+CPIN: READY"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x1F/31
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|49I|4EN|3F?|0D |0D |0A |2B+|43C|50P|49I|4EN AT+CPIN?...+CPIN
gammu-smsd[9199]: gammu: 3A:|20 |52R|45E|41A|44D|59Y|0D |0A |0D |0A |4FO|4BK|0D |0A      : READY....OK.. 
gammu-smsd[9199]: gammu: Parsing +CPIN: READY with +CPIN: @r
gammu-smsd[9199]: gammu: Grabbed string from reply: "READY" (parsed 5 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "READY"
gammu-smsd[9199]: gammu: Security status received - nothing to enter
gammu-smsd[9199]: gammu: Leaving GSM_GetSecurityStatus
gammu-smsd[9199]: gammu: Entering GSM_GetSMSStatus
gammu-smsd[9199]: gammu: Getting SIM SMS status
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x12/18
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|53S|4DM|22"|2C,|22"|53S|4DM AT+CPMS="SM","SM
gammu-smsd[9199]: gammu: 22"|0D                                                          ".              
gammu-smsd[9199]: gammu: 1 "AT+CPMS="SM","SM""
gammu-smsd[9199]: gammu: 2 "+CPMS: 0,25,0,25,0,25"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x31/49
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|53S|4DM|22"|2C,|22"|53S|4DM AT+CPMS="SM","SM
gammu-smsd[9199]: gammu: 22"|0D |0D |0A |2B+|43C|50P|4DM|53S|3A:|20 |300|2C,|322|355|2C, "...+CPMS: 0,25,
gammu-smsd[9199]: gammu: 300|2C,|322|355|2C,|300|2C,|322|355|0D |0A |0D |0A |4FO|4BK|0D  0,25,0,25....OK.
gammu-smsd[9199]: gammu: 0A                                                              .               
gammu-smsd[9199]: gammu: SMS status received
gammu-smsd[9199]: gammu: Parsing +CPMS: 0,25,0,25,0,25 with +CPMS: @i, @i, @0
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Parsed int 25
gammu-smsd[9199]: gammu: Used : 0
gammu-smsd[9199]: gammu: Size : 25
gammu-smsd[9199]: gammu: Getting phone SMS status
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x12/18
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|4DM|45E|22"|2C,|22"|4DM|45E AT+CPMS="ME","ME
gammu-smsd[9199]: gammu: 22"|0D                                                          ".              
gammu-smsd[9199]: gammu: 1 "AT+CPMS="ME","ME""
gammu-smsd[9199]: gammu: 2 "+CPMS: 0,23,0,23,0,25"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x31/49
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|4DM|45E|22"|2C,|22"|4DM|45E AT+CPMS="ME","ME
gammu-smsd[9199]: gammu: 22"|0D |0D |0A |2B+|43C|50P|4DM|53S|3A:|20 |300|2C,|322|333|2C, "...+CPMS: 0,23,
gammu-smsd[9199]: gammu: 300|2C,|322|333|2C,|300|2C,|322|355|0D |0A |0D |0A |4FO|4BK|0D  0,23,0,25....OK.
gammu-smsd[9199]: gammu: 0A                                                              .               
gammu-smsd[9199]: gammu: SMS status received
gammu-smsd[9199]: gammu: Parsing +CPMS: 0,23,0,23,0,25 with +CPMS: @i, @i, @0
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Parsed int 23
gammu-smsd[9199]: gammu: Used : 0
gammu-smsd[9199]: gammu: Size : 23
gammu-smsd[9199]: gammu: Leaving GSM_GetSMSStatus
gammu-smsd[9199]: gammu: Entering GSM_GetBatteryCharge
gammu-smsd[9199]: gammu: Getting battery charge
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x07/7
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|42B|43C|0D                                      AT+CBC.         
gammu-smsd[9199]: gammu: 1 "AT+CBC"
gammu-smsd[9199]: gammu: 2 "+CBC: 2,0"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x1A/26
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|42B|43C|0D |0D |0A |2B+|43C|42B|43C|3A:|20 |322 AT+CBC...+CBC: 2
gammu-smsd[9199]: gammu: 2C,|300|0D |0A |0D |0A |4FO|4BK|0D |0A                          ,0....OK..      
gammu-smsd[9199]: gammu: Battery level received
gammu-smsd[9199]: gammu: Parsing +CBC: 2,0 with +CBC: @i, @i
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Leaving GSM_GetBatteryCharge
gammu-smsd[9199]: gammu: Entering GSM_GetSignalQuality
gammu-smsd[9199]: gammu: Getting signal quality info
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x07/7
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|53S|51Q|0D                                      AT+CSQ.         
gammu-smsd[9199]: gammu: 1 "AT+CSQ"
gammu-smsd[9199]: gammu: 2 "+CSQ: 10,99"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x1C/28
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|53S|51Q|0D |0D |0A |2B+|43C|53S|51Q|3A:|20 |311 AT+CSQ...+CSQ: 1
gammu-smsd[9199]: gammu: 300|2C,|399|399|0D |0A |0D |0A |4FO|4BK|0D |0A                  0,99....OK..    
gammu-smsd[9199]: gammu: Signal quality info received
gammu-smsd[9199]: gammu: Parsing +CSQ: 10,99 with +CSQ: @i, @i
gammu-smsd[9199]: gammu: Parsed int 10
gammu-smsd[9199]: gammu: Parsed int 99
gammu-smsd[9199]: gammu: Leaving GSM_GetSignalQuality
gammu-smsd[9199]: gammu: Entering GSM_GetNetworkInfo
gammu-smsd[9199]: gammu: Enable full network info
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3D=|322|0D                          AT+CREG=2.      
gammu-smsd[9199]: gammu: 1 "AT+CREG=2"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x10/16
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3D=|322|0D |0D |0A |4FO|4BK|0D |0A  AT+CREG=2...OK..
gammu-smsd[9199]: gammu: Enable full packet network info
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0B/11
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3D=|322|0D                      AT+CGREG=2.     
gammu-smsd[9199]: gammu: 1 "AT+CGREG=2"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x11/17
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3D=|322|0D |0D |0A |4FO|4BK|0D  AT+CGREG=2...OK.
gammu-smsd[9199]: gammu: 0A                                                              .               
gammu-smsd[9199]: gammu: Getting GPRS state
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|41A|54T|54T|3F?|0D                          AT+CGATT?.      
gammu-smsd[9199]: gammu: 1 "AT+CGATT?"
gammu-smsd[9199]: gammu: 2 "+CGATT: 1"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x1D/29
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|41A|54T|54T|3F?|0D |0D |0A |2B+|43C|47G|41A AT+CGATT?...+CGA
gammu-smsd[9199]: gammu: 54T|54T|3A:|20 |311|0D |0A |0D |0A |4FO|4BK|0D |0A              TT: 1....OK..   
gammu-smsd[9199]: gammu: GPRS state received
gammu-smsd[9199]: gammu: Parsing +CGATT: 1 with +CGATT: @i
gammu-smsd[9199]: gammu: Parsed int 1
gammu-smsd[9199]: gammu: Getting network LAC and CID and state
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x09/9
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3F?|0D                              AT+CREG?.       
gammu-smsd[9199]: gammu: 1 "AT+CREG?"
gammu-smsd[9199]: gammu: 2 "+CREG: 2,1,CEB0,7AE"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x26/38
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3F?|0D |0D |0A |2B+|43C|52R|45E|47G AT+CREG?...+CREG
gammu-smsd[9199]: gammu: 3A:|20 |322|2C,|311|2C,|43C|45E|42B|300|2C,|377|41A|45E|0D |0A  : 2,1,CEB0,7AE..
gammu-smsd[9199]: gammu: 0D |0A |4FO|4BK|0D |0A                                          ..OK..          
gammu-smsd[9199]: gammu: Network LAC & CID & state received
gammu-smsd[9199]: gammu: Parsing +CREG: 2,1,CEB0,7AE with +CREG: @i, @i, @r, @r, @i
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Parsed int 1
gammu-smsd[9199]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "CEB0"
gammu-smsd[9199]: gammu: Grabbed string from reply: "7AE" (parsed 3 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "7AE"
gammu-smsd[9199]: gammu: Parsing +CREG: 2,1,CEB0,7AE with +CREG: @i, @i, @r, @r
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Parsed int 1
gammu-smsd[9199]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "CEB0"
gammu-smsd[9199]: gammu: Grabbed string from reply: "7AE" (parsed 3 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "7AE"
gammu-smsd[9199]: gammu: Home network
gammu-smsd[9199]: gammu: Getting packet network LAC and CID and state
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3F?|0D                          AT+CGREG?.      
gammu-smsd[9199]: gammu: 1 "AT+CGREG?"
gammu-smsd[9199]: gammu: 2 "+CGREG: 2,1,CEB0,7AE"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x28/40
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3F?|0D |0D |0A |2B+|43C|47G|52R AT+CGREG?...+CGR
gammu-smsd[9199]: gammu: 45E|47G|3A:|20 |322|2C,|311|2C,|43C|45E|42B|300|2C,|377|41A|45E EG: 2,1,CEB0,7AE
gammu-smsd[9199]: gammu: 0D |0A |0D |0A |4FO|4BK|0D |0A                                  ....OK..        
gammu-smsd[9199]: gammu: Network LAC & CID & state received
gammu-smsd[9199]: gammu: Parsing +CGREG: 2,1,CEB0,7AE with +CGREG: @i, @i, @r, @r, @i, @r
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Parsed int 1
gammu-smsd[9199]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "CEB0"
gammu-smsd[9199]: gammu: Grabbed string from reply: "7AE" (parsed 3 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "7AE"
gammu-smsd[9199]: gammu: Parsing +CGREG: 2,1,CEB0,7AE with +CGREG: @i, @i, @r, @r, @i
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Parsed int 1
gammu-smsd[9199]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "CEB0"
gammu-smsd[9199]: gammu: Grabbed string from reply: "7AE" (parsed 3 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "7AE"
gammu-smsd[9199]: gammu: Parsing +CGREG: 2,1,CEB0,7AE with +CGREG: @i, @i, @r, @r
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Parsed int 1
gammu-smsd[9199]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "CEB0"
gammu-smsd[9199]: gammu: Grabbed string from reply: "7AE" (parsed 3 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "7AE"
gammu-smsd[9199]: gammu: Home network
gammu-smsd[9199]: gammu: Setting short network name format
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0C/12
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|322|0D                  AT+COPS=3,2.    
gammu-smsd[9199]: gammu: 1 "AT+COPS=3,2"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x12/18
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|322|0D |0D |0A |4FO|4BK AT+COPS=3,2...OK
gammu-smsd[9199]: gammu: 0D |0A                                                          ..              
gammu-smsd[9199]: gammu: Getting network code
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x09/9
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3F?|0D                              AT+COPS?.       
gammu-smsd[9199]: gammu: 1 "AT+COPS?"
gammu-smsd[9199]: gammu: 2 "+COPS: 0,2,"26003",2"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x27/39
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3F?|0D |0D |0A |2B+|43C|4FO|50P|53S AT+COPS?...+COPS
gammu-smsd[9199]: gammu: 3A:|20 |300|2C,|322|2C,|22"|322|366|300|300|333|22"|2C,|322|0D  : 0,2,"26003",2.
gammu-smsd[9199]: gammu: 0A |0D |0A |4FO|4BK|0D |0A                                      ...OK..         
gammu-smsd[9199]: gammu: Network code received
gammu-smsd[9199]: gammu: Parsing +COPS: 0,2,"26003",2 with +COPS: @i, @i, @r
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Grabbed string from reply: "26003" (parsed 7 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "26003"
gammu-smsd[9199]: gammu: String do not end same!
gammu-smsd[9199]: gammu: Parsing +COPS: 0,2,"26003",2 with +COPS: @i, @i, @r, @i
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Grabbed string from reply: "26003" (parsed 7 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "26003"
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu:    Network code              : 260 03
gammu-smsd[9199]: gammu:    Network name for Gammu    : Orange (Poland)
gammu-smsd[9199]: gammu: Setting long string network name format
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0C/12
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|300|0D                  AT+COPS=3,0.    
gammu-smsd[9199]: gammu: 1 "AT+COPS=3,0"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x12/18
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|300|0D |0D |0A |4FO|4BK AT+COPS=3,0...OK
gammu-smsd[9199]: gammu: 0D |0A                                                          ..              
gammu-smsd[9199]: gammu: Getting network code
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x09/9
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3F?|0D                              AT+COPS?.       
gammu-smsd[9199]: gammu: 1 "AT+COPS?"
gammu-smsd[9199]: gammu: 2 "+COPS: 0,0,"Orange@",2"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x29/41
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3F?|0D |0D |0A |2B+|43C|4FO|50P|53S AT+COPS?...+COPS
gammu-smsd[9199]: gammu: 3A:|20 |300|2C,|300|2C,|22"|4FO|72r|61a|6En|67g|65e|40@|22"|2C, : 0,0,"Orange@",
gammu-smsd[9199]: gammu: 322|0D |0A |0D |0A |4FO|4BK|0D |0A                              2....OK..       
gammu-smsd[9199]: gammu: Network name received
gammu-smsd[9199]: gammu: Parsing +COPS: 0,0,"Orange@",2 with +COPS: @i, @i, @s
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Grabbed string from reply: "Orange@" (parsed 9 bytes)
gammu-smsd[9199]: gammu: Parsed generic string "Orange@"
gammu-smsd[9199]: gammu: Generic string decoded as "Orange¡"
gammu-smsd[9199]: gammu: String do not end same!
gammu-smsd[9199]: gammu: Parsing +COPS: 0,0,"Orange@",2 with +COPS: @i, @i, @s, @i
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Grabbed string from reply: "Orange@" (parsed 9 bytes)
gammu-smsd[9199]: gammu: Parsed generic string "Orange@"
gammu-smsd[9199]: gammu: Generic string decoded as "Orange¡"
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Leaving GSM_GetNetworkInfo

gammu-smsd[9199]: gammu: Entering GSM_GetSecurityStatus
gammu-smsd[9199]: gammu: Getting security code status
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x09/9
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|49I|4EN|3F?|0D                              AT+CPIN?.       
gammu-smsd[9199]: gammu: 1 "AT+CPIN?"
gammu-smsd[9199]: gammu: 2 "+CPIN: READY"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x1F/31
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|49I|4EN|3F?|0D |0D |0A |2B+|43C|50P|49I|4EN AT+CPIN?...+CPIN
gammu-smsd[9199]: gammu: 3A:|20 |52R|45E|41A|44D|59Y|0D |0A |0D |0A |4FO|4BK|0D |0A      : READY....OK.. 
gammu-smsd[9199]: gammu: Parsing +CPIN: READY with +CPIN: @r
gammu-smsd[9199]: gammu: Grabbed string from reply: "READY" (parsed 5 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "READY"
gammu-smsd[9199]: gammu: Security status received - nothing to enter
gammu-smsd[9199]: gammu: Leaving GSM_GetSecurityStatus
gammu-smsd[9199]: gammu: Entering GSM_GetSMSStatus
gammu-smsd[9199]: gammu: Getting SIM SMS status
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x12/18
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|53S|4DM|22"|2C,|22"|53S|4DM AT+CPMS="SM","SM
gammu-smsd[9199]: gammu: 22"|0D                                                          ".              
gammu-smsd[9199]: gammu: 1 "AT+CPMS="SM","SM""
gammu-smsd[9199]: gammu: 2 "+CPMS: 0,25,0,25,0,25"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x31/49
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|53S|4DM|22"|2C,|22"|53S|4DM AT+CPMS="SM","SM
gammu-smsd[9199]: gammu: 22"|0D |0D |0A |2B+|43C|50P|4DM|53S|3A:|20 |300|2C,|322|355|2C, "...+CPMS: 0,25,
gammu-smsd[9199]: gammu: 300|2C,|322|355|2C,|300|2C,|322|355|0D |0A |0D |0A |4FO|4BK|0D  0,25,0,25....OK.
gammu-smsd[9199]: gammu: 0A                                                              .               
gammu-smsd[9199]: gammu: SMS status received
gammu-smsd[9199]: gammu: Parsing +CPMS: 0,25,0,25,0,25 with +CPMS: @i, @i, @0
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Parsed int 25
gammu-smsd[9199]: gammu: Used : 0
gammu-smsd[9199]: gammu: Size : 25
gammu-smsd[9199]: gammu: Getting phone SMS status
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x12/18
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|4DM|45E|22"|2C,|22"|4DM|45E AT+CPMS="ME","ME
gammu-smsd[9199]: gammu: 22"|0D                                                          ".              
gammu-smsd[9199]: gammu: 1 "AT+CPMS="ME","ME""
gammu-smsd[9199]: gammu: 2 "+CPMS: 0,23,0,23,0,25"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x31/49
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|4DM|45E|22"|2C,|22"|4DM|45E AT+CPMS="ME","ME
gammu-smsd[9199]: gammu: 22"|0D |0D |0A |2B+|43C|50P|4DM|53S|3A:|20 |300|2C,|322|333|2C, "...+CPMS: 0,23,
gammu-smsd[9199]: gammu: 300|2C,|322|333|2C,|300|2C,|322|355|0D |0A |0D |0A |4FO|4BK|0D  0,23,0,25....OK.
gammu-smsd[9199]: gammu: 0A                                                              .               
gammu-smsd[9199]: gammu: SMS status received
gammu-smsd[9199]: gammu: Parsing +CPMS: 0,23,0,23,0,25 with +CPMS: @i, @i, @0
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Parsed int 23
gammu-smsd[9199]: gammu: Used : 0
gammu-smsd[9199]: gammu: Size : 23
gammu-smsd[9199]: gammu: Leaving GSM_GetSMSStatus
gammu-smsd[9199]: gammu: Entering GSM_GetSecurityStatus
gammu-smsd[9199]: gammu: Getting security code status
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x09/9
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|49I|4EN|3F?|0D                              AT+CPIN?.       
gammu-smsd[9199]: gammu: 1 "AT+CPIN?"
gammu-smsd[9199]: gammu: 2 "+CPIN: READY"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x1F/31
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|49I|4EN|3F?|0D |0D |0A |2B+|43C|50P|49I|4EN AT+CPIN?...+CPIN
gammu-smsd[9199]: gammu: 3A:|20 |52R|45E|41A|44D|59Y|0D |0A |0D |0A |4FO|4BK|0D |0A      : READY....OK.. 
gammu-smsd[9199]: gammu: Parsing +CPIN: READY with +CPIN: @r
gammu-smsd[9199]: gammu: Grabbed string from reply: "READY" (parsed 5 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "READY"
gammu-smsd[9199]: gammu: Security status received - nothing to enter
gammu-smsd[9199]: gammu: Leaving GSM_GetSecurityStatus
gammu-smsd[9199]: gammu: Entering GSM_GetSMSStatus
gammu-smsd[9199]: gammu: Getting SIM SMS status
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x12/18
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|53S|4DM|22"|2C,|22"|53S|4DM AT+CPMS="SM","SM
gammu-smsd[9199]: gammu: 22"|0D                                                          ".              
gammu-smsd[9199]: gammu: 1 "AT+CPMS="SM","SM""
gammu-smsd[9199]: gammu: 2 "+CPMS: 0,25,0,25,0,25"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x31/49
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|53S|4DM|22"|2C,|22"|53S|4DM AT+CPMS="SM","SM
gammu-smsd[9199]: gammu: 22"|0D |0D |0A |2B+|43C|50P|4DM|53S|3A:|20 |300|2C,|322|355|2C, "...+CPMS: 0,25,
gammu-smsd[9199]: gammu: 300|2C,|322|355|2C,|300|2C,|322|355|0D |0A |0D |0A |4FO|4BK|0D  0,25,0,25....OK.
gammu-smsd[9199]: gammu: 0A                                                              .               
gammu-smsd[9199]: gammu: SMS status received
gammu-smsd[9199]: gammu: Parsing +CPMS: 0,25,0,25,0,25 with +CPMS: @i, @i, @0
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Parsed int 25
gammu-smsd[9199]: gammu: Used : 0
gammu-smsd[9199]: gammu: Size : 25
gammu-smsd[9199]: gammu: Getting phone SMS status
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x12/18
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|4DM|45E|22"|2C,|22"|4DM|45E AT+CPMS="ME","ME
gammu-smsd[9199]: gammu: 22"|0D                                                          ".              
gammu-smsd[9199]: gammu: 1 "AT+CPMS="ME","ME""
gammu-smsd[9199]: gammu: 2 "+CPMS: 0,23,0,23,0,25"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x31/49
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|4DM|45E|22"|2C,|22"|4DM|45E AT+CPMS="ME","ME
gammu-smsd[9199]: gammu: 22"|0D |0D |0A |2B+|43C|50P|4DM|53S|3A:|20 |300|2C,|322|333|2C, "...+CPMS: 0,23,
gammu-smsd[9199]: gammu: 300|2C,|322|333|2C,|300|2C,|322|355|0D |0A |0D |0A |4FO|4BK|0D  0,23,0,25....OK.
gammu-smsd[9199]: gammu: 0A                                                              .               
gammu-smsd[9199]: gammu: SMS status received
gammu-smsd[9199]: gammu: Parsing +CPMS: 0,23,0,23,0,25 with +CPMS: @i, @i, @0
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Parsed int 23
gammu-smsd[9199]: gammu: Used : 0
gammu-smsd[9199]: gammu: Size : 23
gammu-smsd[9199]: gammu: Leaving GSM_GetSMSStatus
gammu-smsd[9199]: Found 1 sms to "*127*1#" with text "" cod 5 lgt 0 udh: t 1 l 0 dlr: -1 fls: 127
gammu-smsd[9199]: New message to send: OUTC20180131_190251_00_*127*1#_sms0.smsbackup
gammu-smsd[9199]: Message without SMSC, assuming you want to use the one from phone
gammu-smsd[9199]: gammu: Entering GSM_GetSMSC
gammu-smsd[9199]: gammu: Getting SMSC
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x09/9
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|53S|43C|41A|3F?|0D                              AT+CSCA?.       
gammu-smsd[9199]: gammu: 1 "AT+CSCA?"
gammu-smsd[9199]: gammu: 2 "+CSCA: "+48501200777",145"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x2C/44
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|53S|43C|41A|3F?|0D |0D |0A |2B+|43C|53S|43C|41A AT+CSCA?...+CSCA
gammu-smsd[9199]: gammu: 3A:|20 |22"|2B+|344|388|355|300|311|322|300|300|377|377|377|22" : "+48501200777"
gammu-smsd[9199]: gammu: 2C,|311|344|355|0D |0A |0D |0A |4FO|4BK|0D |0A                  ,145....OK..    
gammu-smsd[9199]: gammu: SMSC info received
gammu-smsd[9199]: gammu: Parsing +CSCA: "+48501200777",145 with +CSCA: @p, @i
gammu-smsd[9199]: gammu: Grabbed string from reply: "+48501200777" (parsed 14 bytes)
gammu-smsd[9199]: gammu: Parsed phone string "+48501200777"
gammu-smsd[9199]: gammu: Phone string decoded as "+48501200777"
gammu-smsd[9199]: gammu: Parsed int 145
gammu-smsd[9199]: gammu: Leaving GSM_GetSMSC
gammu-smsd[9199]: gammu: Entering GSM_GetBatteryCharge
gammu-smsd[9199]: gammu: Getting battery charge
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x07/7
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|42B|43C|0D                                      AT+CBC.         
gammu-smsd[9199]: gammu: 1 "AT+CBC"
gammu-smsd[9199]: gammu: 2 "+CBC: 2,0"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x1A/26
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|42B|43C|0D |0D |0A |2B+|43C|42B|43C|3A:|20 |322 AT+CBC...+CBC: 2
gammu-smsd[9199]: gammu: 2C,|300|0D |0A |0D |0A |4FO|4BK|0D |0A                          ,0....OK..      
gammu-smsd[9199]: gammu: Battery level received
gammu-smsd[9199]: gammu: Parsing +CBC: 2,0 with +CBC: @i, @i
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Leaving GSM_GetBatteryCharge
gammu-smsd[9199]: gammu: Entering GSM_GetSignalQuality
gammu-smsd[9199]: gammu: Getting signal quality info
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x07/7
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|53S|51Q|0D                                      AT+CSQ.         
gammu-smsd[9199]: gammu: 1 "AT+CSQ"
gammu-smsd[9199]: gammu: 2 "+CSQ: 10,99"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x1C/28
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|53S|51Q|0D |0D |0A |2B+|43C|53S|51Q|3A:|20 |311 AT+CSQ...+CSQ: 1
gammu-smsd[9199]: gammu: 300|2C,|399|399|0D |0A |0D |0A |4FO|4BK|0D |0A                  0,99....OK..    
gammu-smsd[9199]: gammu: Signal quality info received
gammu-smsd[9199]: gammu: Parsing +CSQ: 10,99 with +CSQ: @i, @i
gammu-smsd[9199]: gammu: Parsed int 10
gammu-smsd[9199]: gammu: Parsed int 99
gammu-smsd[9199]: gammu: Leaving GSM_GetSignalQuality
gammu-smsd[9199]: gammu: Entering GSM_GetNetworkInfo
gammu-smsd[9199]: gammu: Enable full network info
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3D=|322|0D                          AT+CREG=2.      
gammu-smsd[9199]: gammu: 1 "AT+CREG=2"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x10/16
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3D=|322|0D |0D |0A |4FO|4BK|0D |0A  AT+CREG=2...OK..
gammu-smsd[9199]: gammu: Enable full packet network info
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0B/11
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3D=|322|0D                      AT+CGREG=2.     
gammu-smsd[9199]: gammu: 1 "AT+CGREG=2"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x11/17
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3D=|322|0D |0D |0A |4FO|4BK|0D  AT+CGREG=2...OK.
gammu-smsd[9199]: gammu: 0A                                                              .               
gammu-smsd[9199]: gammu: Getting GPRS state
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|41A|54T|54T|3F?|0D                          AT+CGATT?.      
gammu-smsd[9199]: gammu: 1 "AT+CGATT?"
gammu-smsd[9199]: gammu: 2 "+CGATT: 1"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x1D/29
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|41A|54T|54T|3F?|0D |0D |0A |2B+|43C|47G|41A AT+CGATT?...+CGA
gammu-smsd[9199]: gammu: 54T|54T|3A:|20 |311|0D |0A |0D |0A |4FO|4BK|0D |0A              TT: 1....OK..   
gammu-smsd[9199]: gammu: GPRS state received
gammu-smsd[9199]: gammu: Parsing +CGATT: 1 with +CGATT: @i
gammu-smsd[9199]: gammu: Parsed int 1
gammu-smsd[9199]: gammu: Getting network LAC and CID and state
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x09/9
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3F?|0D                              AT+CREG?.       
gammu-smsd[9199]: gammu: 1 "AT+CREG?"
gammu-smsd[9199]: gammu: 2 "+CREG: 2,1,CEB0,7AE"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x26/38
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|52R|45E|47G|3F?|0D |0D |0A |2B+|43C|52R|45E|47G AT+CREG?...+CREG
gammu-smsd[9199]: gammu: 3A:|20 |322|2C,|311|2C,|43C|45E|42B|300|2C,|377|41A|45E|0D |0A  : 2,1,CEB0,7AE..
gammu-smsd[9199]: gammu: 0D |0A |4FO|4BK|0D |0A                                          ..OK..          
gammu-smsd[9199]: gammu: Network LAC & CID & state received
gammu-smsd[9199]: gammu: Parsing +CREG: 2,1,CEB0,7AE with +CREG: @i, @i, @r, @r, @i
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Parsed int 1
gammu-smsd[9199]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "CEB0"
gammu-smsd[9199]: gammu: Grabbed string from reply: "7AE" (parsed 3 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "7AE"
gammu-smsd[9199]: gammu: Parsing +CREG: 2,1,CEB0,7AE with +CREG: @i, @i, @r, @r
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Parsed int 1
gammu-smsd[9199]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "CEB0"
gammu-smsd[9199]: gammu: Grabbed string from reply: "7AE" (parsed 3 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "7AE"
gammu-smsd[9199]: gammu: Home network
gammu-smsd[9199]: gammu: Getting packet network LAC and CID and state
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3F?|0D                          AT+CGREG?.      
gammu-smsd[9199]: gammu: 1 "AT+CGREG?"
gammu-smsd[9199]: gammu: 2 "+CGREG: 2,1,CEB0,7AE"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x28/40
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|47G|52R|45E|47G|3F?|0D |0D |0A |2B+|43C|47G|52R AT+CGREG?...+CGR
gammu-smsd[9199]: gammu: 45E|47G|3A:|20 |322|2C,|311|2C,|43C|45E|42B|300|2C,|377|41A|45E EG: 2,1,CEB0,7AE
gammu-smsd[9199]: gammu: 0D |0A |0D |0A |4FO|4BK|0D |0A                                  ....OK..        
gammu-smsd[9199]: gammu: Network LAC & CID & state received
gammu-smsd[9199]: gammu: Parsing +CGREG: 2,1,CEB0,7AE with +CGREG: @i, @i, @r, @r, @i, @r
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Parsed int 1
gammu-smsd[9199]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "CEB0"
gammu-smsd[9199]: gammu: Grabbed string from reply: "7AE" (parsed 3 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "7AE"
gammu-smsd[9199]: gammu: Parsing +CGREG: 2,1,CEB0,7AE with +CGREG: @i, @i, @r, @r, @i
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Parsed int 1
gammu-smsd[9199]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "CEB0"
gammu-smsd[9199]: gammu: Grabbed string from reply: "7AE" (parsed 3 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "7AE"
gammu-smsd[9199]: gammu: Parsing +CGREG: 2,1,CEB0,7AE with +CGREG: @i, @i, @r, @r
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Parsed int 1
gammu-smsd[9199]: gammu: Grabbed string from reply: "CEB0" (parsed 4 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "CEB0"
gammu-smsd[9199]: gammu: Grabbed string from reply: "7AE" (parsed 3 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "7AE"
gammu-smsd[9199]: gammu: Home network
gammu-smsd[9199]: gammu: Setting short network name format
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0C/12
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|322|0D                  AT+COPS=3,2.    
gammu-smsd[9199]: gammu: 1 "AT+COPS=3,2"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x12/18
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|322|0D |0D |0A |4FO|4BK AT+COPS=3,2...OK
gammu-smsd[9199]: gammu: 0D |0A                                                          ..              
gammu-smsd[9199]: gammu: Getting network code
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x09/9
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3F?|0D                              AT+COPS?.       
gammu-smsd[9199]: gammu: 1 "AT+COPS?"
gammu-smsd[9199]: gammu: 2 "+COPS: 0,2,"26003",2"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x27/39
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3F?|0D |0D |0A |2B+|43C|4FO|50P|53S AT+COPS?...+COPS
gammu-smsd[9199]: gammu: 3A:|20 |300|2C,|322|2C,|22"|322|366|300|300|333|22"|2C,|322|0D  : 0,2,"26003",2.
gammu-smsd[9199]: gammu: 0A |0D |0A |4FO|4BK|0D |0A                                      ...OK..         
gammu-smsd[9199]: gammu: Network code received
gammu-smsd[9199]: gammu: Parsing +COPS: 0,2,"26003",2 with +COPS: @i, @i, @r
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Grabbed string from reply: "26003" (parsed 7 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "26003"
gammu-smsd[9199]: gammu: String do not end same!
gammu-smsd[9199]: gammu: Parsing +COPS: 0,2,"26003",2 with +COPS: @i, @i, @r, @i
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Grabbed string from reply: "26003" (parsed 7 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "26003"
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu:    Network code              : 260 03
gammu-smsd[9199]: gammu:    Network name for Gammu    : Orange (Poland)
gammu-smsd[9199]: gammu: Setting long string network name format
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0C/12
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|300|0D                  AT+COPS=3,0.    
gammu-smsd[9199]: gammu: 1 "AT+COPS=3,0"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x12/18
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3D=|333|2C,|300|0D |0D |0A |4FO|4BK AT+COPS=3,0...OK
gammu-smsd[9199]: gammu: 0D |0A                                                          ..              
gammu-smsd[9199]: gammu: Getting network code
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x09/9
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3F?|0D                              AT+COPS?.       
gammu-smsd[9199]: gammu: 1 "AT+COPS?"
gammu-smsd[9199]: gammu: 2 "+COPS: 0,0,"Orange@",2"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x29/41
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4FO|50P|53S|3F?|0D |0D |0A |2B+|43C|4FO|50P|53S AT+COPS?...+COPS
gammu-smsd[9199]: gammu: 3A:|20 |300|2C,|300|2C,|22"|4FO|72r|61a|6En|67g|65e|40@|22"|2C, : 0,0,"Orange@",
gammu-smsd[9199]: gammu: 322|0D |0A |0D |0A |4FO|4BK|0D |0A                              2....OK..       
gammu-smsd[9199]: gammu: Network name received
gammu-smsd[9199]: gammu: Parsing +COPS: 0,0,"Orange@",2 with +COPS: @i, @i, @s
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Grabbed string from reply: "Orange@" (parsed 9 bytes)
gammu-smsd[9199]: gammu: Parsed generic string "Orange@"
gammu-smsd[9199]: gammu: Generic string decoded as "Orange¡"
gammu-smsd[9199]: gammu: String do not end same!
gammu-smsd[9199]: gammu: Parsing +COPS: 0,0,"Orange@",2 with +COPS: @i, @i, @s, @i
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Grabbed string from reply: "Orange@" (parsed 9 bytes)
gammu-smsd[9199]: gammu: Parsed generic string "Orange@"
gammu-smsd[9199]: gammu: Generic string decoded as "Orange¡"
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Leaving GSM_GetNetworkInfo
gammu-smsd[9199]: Sending USSD request to *127*1#
gammu-smsd[9199]: gammu: Entering GSM_DialService
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x1E/30
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|55U|53S|44D|3D=|311|2C,|22"|41A|41A|399|388|45E AT+CUSD=1,"AA98E
gammu-smsd[9199]: gammu: 43C|41A|366|388|41A|388|44D|300|300|22"|2C,|311|355|0D          CA68A8D00",15.  
gammu-smsd[9199]: gammu: 1 "AT+CUSD=1,"AA98ECA68A8D00",15"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x24/36
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|55U|53S|44D|3D=|311|2C,|22"|41A|41A|399|388|45E AT+CUSD=1,"AA98E
gammu-smsd[9199]: gammu: 43C|41A|366|388|41A|388|44D|300|300|22"|2C,|311|355|0D |0D |0A  CA68A8D00",15...
gammu-smsd[9199]: gammu: 4FO|4BK|0D |0A                                                  OK..            
gammu-smsd[9199]: gammu: Leaving GSM_DialService
gammu-smsd[9199]: Transmitted OUTC20180131_190251_00_*127*1#_sms0.smsbackup (total: 1) to *127*1#, message reference 0xffffffff
gammu-smsd[9199]: Renamed /var/spool/gammu/outbox/OUTC20180131_190251_00_*127*1#_sms0.smsbackup to /var/spool/gammu/sent/OUTC20180131_190251_00_*127*1#_sms0.smsbackup

gammu-smsd[9199]: gammu: Entering GSM_GetSecurityStatus
gammu-smsd[9199]: gammu: Getting security code status
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x09/9
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|49I|4EN|3F?|0D                              AT+CPIN?.       
gammu-smsd[9199]: gammu: 1 "+CUSD: 2"
gammu-smsd[9199]: gammu: Checking line: +CUSD: 2
gammu-smsd[9199]: gammu: AT reply state: 4
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 2B+|43C|55U|53S|44D|3A:|20 |322|0D |0A                          +CUSD: 2..      
gammu-smsd[9199]: gammu: Incoming USSD received
gammu-smsd[9199]: gammu: Parsing +CUSD: 2
gammu-smsd[9199]: gammu:  with +CUSD: @i @0
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Status: 2
gammu-smsd[9199]: gammu: Parsing +CUSD: 2
gammu-smsd[9199]: gammu:  with +CUSD: @i, @r, @i @0
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: gammu: Parsing +CUSD: 2
gammu-smsd[9199]: gammu:  with +CUSD: @i, @r @0
gammu-smsd[9199]: gammu: Parsed int 2
gammu-smsd[9199]: SMSD_IncomingUSSDCallback
gammu-smsd[9199]: Received IN20180131_190313_00__00.txt
gammu-smsd[9199]: gammu: 
gammu-smsd[9199]: gammu: UNKNOWN response. Please report the error, see <https://wammu.eu/support/bugs/>. Thank you
gammu-smsd[9199]: gammu: LAST SENT frame type 0x00/length 9
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|49I|4EN|3F?|0D                              AT+CPIN?.       
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0xa/10
gammu-smsd[9199]: gammu: 2B+|43C|55U|53S|44D|3A:|20 |322|0D |0A                          +CUSD: 2..      
gammu-smsd[9199]: gammu: 
gammu-smsd[9199]: gammu: 1 "AT+CPIN?"
gammu-smsd[9199]: gammu: 2 "+CPIN: READY"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x1F/31
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|49I|4EN|3F?|0D |0D |0A |2B+|43C|50P|49I|4EN AT+CPIN?...+CPIN
gammu-smsd[9199]: gammu: 3A:|20 |52R|45E|41A|44D|59Y|0D |0A |0D |0A |4FO|4BK|0D |0A      : READY....OK.. 
gammu-smsd[9199]: gammu: Parsing +CPIN: READY with +CPIN: @r
gammu-smsd[9199]: gammu: Grabbed string from reply: "READY" (parsed 5 bytes)
gammu-smsd[9199]: gammu: Parsed raw string "READY"
gammu-smsd[9199]: gammu: Security status received - nothing to enter
gammu-smsd[9199]: gammu: Leaving GSM_GetSecurityStatus
gammu-smsd[9199]: gammu: Entering GSM_GetSMSStatus
gammu-smsd[9199]: gammu: Getting SIM SMS status
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x12/18
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|53S|4DM|22"|2C,|22"|53S|4DM AT+CPMS="SM","SM
gammu-smsd[9199]: gammu: 22"|0D                                                          ".              
gammu-smsd[9199]: gammu: 1 "AT+CPMS="SM","SM""
gammu-smsd[9199]: gammu: 2 "+CPMS: 0,25,0,25,0,25"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x31/49
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|53S|4DM|22"|2C,|22"|53S|4DM AT+CPMS="SM","SM
gammu-smsd[9199]: gammu: 22"|0D |0D |0A |2B+|43C|50P|4DM|53S|3A:|20 |300|2C,|322|355|2C, "...+CPMS: 0,25,
gammu-smsd[9199]: gammu: 300|2C,|322|355|2C,|300|2C,|322|355|0D |0A |0D |0A |4FO|4BK|0D  0,25,0,25....OK.
gammu-smsd[9199]: gammu: 0A                                                              .               
gammu-smsd[9199]: gammu: SMS status received
gammu-smsd[9199]: gammu: Parsing +CPMS: 0,25,0,25,0,25 with +CPMS: @i, @i, @0
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Parsed int 25
gammu-smsd[9199]: gammu: Used : 0
gammu-smsd[9199]: gammu: Size : 25
gammu-smsd[9199]: gammu: Getting phone SMS status
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x12/18
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|4DM|45E|22"|2C,|22"|4DM|45E AT+CPMS="ME","ME
gammu-smsd[9199]: gammu: 22"|0D                                                          ".              
gammu-smsd[9199]: gammu: 1 "AT+CPMS="ME","ME""
gammu-smsd[9199]: gammu: 2 "+CPMS: 0,23,0,23,0,25"
gammu-smsd[9199]: gammu: 3 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x31/49
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|4DM|45E|22"|2C,|22"|4DM|45E AT+CPMS="ME","ME
gammu-smsd[9199]: gammu: 22"|0D |0D |0A |2B+|43C|50P|4DM|53S|3A:|20 |300|2C,|322|333|2C, "...+CPMS: 0,23,
gammu-smsd[9199]: gammu: 300|2C,|322|333|2C,|300|2C,|322|355|0D |0A |0D |0A |4FO|4BK|0D  0,23,0,25....OK.
gammu-smsd[9199]: gammu: 0A                                                              .               
gammu-smsd[9199]: gammu: SMS status received
gammu-smsd[9199]: gammu: Parsing +CPMS: 0,23,0,23,0,25 with +CPMS: @i, @i, @0
gammu-smsd[9199]: gammu: Parsed int 0
gammu-smsd[9199]: gammu: Parsed int 23
gammu-smsd[9199]: gammu: Used : 0
gammu-smsd[9199]: gammu: Size : 23
gammu-smsd[9199]: gammu: Leaving GSM_GetSMSStatus
^Cgammu-smsd[9199]: gammu: Entering GSM_SetIncomingUSSD
gammu-smsd[9199]: gammu: Terminating possible incoming USSD
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|55U|53S|44D|3D=|322|0D                          AT+CUSD=2.      
gammu-smsd[9199]: gammu: 1 "AT+CUSD=2"
gammu-smsd[9199]: gammu: 2 "ERROR"
gammu-smsd[9199]: gammu: Checking line: ERROR
gammu-smsd[9199]: gammu: AT reply state: 3
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x13/19
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|55U|53S|44D|3D=|322|0D |0D |0A |45E|52R|52R|4FO AT+CUSD=2...ERRO
gammu-smsd[9199]: gammu: 52R|0D |0A                                                      R..             
gammu-smsd[9199]: gammu: Disabling incoming USSD
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|55U|53S|44D|3D=|300|0D                          AT+CUSD=0.      
gammu-smsd[9199]: gammu: 1 "AT+CUSD=0"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x10/16
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|55U|53S|44D|3D=|300|0D |0D |0A |4FO|4BK|0D |0A  AT+CUSD=0...OK..
gammu-smsd[9199]: gammu: Leaving GSM_SetIncomingUSSD
gammu-smsd[9199]: gammu: Entering GSM_SetFastSMSSending
gammu-smsd[9199]: gammu: Disabling fast SMS sending
gammu-smsd[9199]: gammu: SENDING frame type 0x00/length 0x0A/10
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4DM|4DM|53S|3D=|300|0D                          AT+CMMS=0.      
gammu-smsd[9199]: gammu: 1 "AT+CMMS=0"
gammu-smsd[9199]: gammu: 2 "OK"
gammu-smsd[9199]: gammu: Checking line: OK
gammu-smsd[9199]: gammu: AT reply state: 1
gammu-smsd[9199]: gammu: RECEIVED frame type 0x00/length 0x10/16
gammu-smsd[9199]: gammu: 41A|54T|2B+|43C|4DM|4DM|53S|3D=|300|0D |0D |0A |4FO|4BK|0D |0A  AT+CMMS=0...OK..
gammu-smsd[9199]: gammu: Leaving GSM_SetFastSMSSending
gammu-smsd[9199]: Stopping Gammu smsd: No error. (NONE[1])
gammu-smsd[9199]: Terminating communication...
gammu-smsd[9199]: gammu: [Terminating]
gammu-smsd[9199]: gammu: [Closing]
root@linux[±|detached:master ✓]:~/compiles/gammu/build-configure/smsd # git rev-parse HEAD
2983c8d6cac2f3b9445bac4d731fc1bd15ce9048

this is log for running sudo -u gammu gammu-smsd-inject USSD '*127*1#' in other terminal.

similar for gammu:

Press Ctrl+C to break...
Unknown error.

and the log:

[Gammu            - 1.39.0]
[Connection       - "at115200"]
[Connection index - 0]
[Model type       - "at"]
[Device           - "/dev/ttyUSB2"]
[Running on       - Linux, kernel 4.4.0-66-generic (#87-Ubuntu SMP Fri Mar 3 15:29:05 UTC 2017)]
[Module           - "A2D|iPAQ|at|M20|S25|MC35|TC35|C35i|S65|S300|5110|5130|5190|5210|6110|6130|6150|6190|6210|6250|6310|6310i|6510|7110|8210|8250|8290|8310|8390|8850|8855|8890|8910|9110|9210"]
Serial device: DTR is up, RTS is up, CAR is down, CTS is down
Setting speed to 115200
Escaping SMS mode
SENDING frame type 0x00/length 0x02/2
1B |0D                                                          ..              
Sending simple AT command to wake up some devices
SENDING frame type 0x00/length 0x03/3
41A|54T|0D                                                      AT.             
1 "AT"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x09/9
41A|54T|0D |0D |0A |4FO|4BK|0D |0A                              AT...OK..       
Enabling echo
SENDING frame type 0x00/length 0x05/5
41A|54T|45E|311|0D                                              ATE1.           
1 "ATE1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x0B/11
41A|54T|45E|311|0D |0D |0A |4FO|4BK|0D |0A                      ATE1...OK..     
Trying Motorola mode switch
SENDING frame type 0x00/length 0x0A/10
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D                          AT+MODE=2.      
1 "AT+MODE=2"
2 "COMMAND NOT SUPPORT"
Checking line: COMMAND NOT SUPPORT
AT reply state: 3
RECEIVED frame type 0x00/length 0x21/33
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D |0D |0A |43C|4FO|4DM|4DM AT+MODE=2...COMM
41A|4EN|44D|20 |4EN|4FO|54T|20 |53S|55U|50P|50P|4FO|52R|54T|0D  AND NOT SUPPORT.
0A                                                              .               
Seems not to be supported
Enabling CME errors
SENDING frame type 0x00/length 0x0A/10
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D                          AT+CMEE=1.      
1 "AT+CMEE=1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x10/16
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D |0D |0A |4FO|4BK|0D |0A  AT+CMEE=1...OK..
SENDING frame type 0x00/length 0x09/9
41A|54T|2B+|43C|53S|43C|53S|3F?|0D                              AT+CSCS?.       
1 "AT+CSCS?"
2 "+CSCS: "UCS2""
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x20/32
41A|54T|2B+|43C|53S|43C|53S|3F?|0D |0D |0A |2B+|43C|53S|43C|53S AT+CSCS?...+CSCS
3A:|20 |22"|55U|43C|53S|322|22"|0D |0A |0D |0A |4FO|4BK|0D |0A  : "UCS2"....OK..
SENDING frame type 0x00/length 0x0A/10
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D                          AT+CSCS=?.      
1 "AT+CSCS=?"
2 "+CSCS: ("IRA","GSM","UCS2")"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x2F/47
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D |0D |0A |2B+|43C|53S|43C AT+CSCS=?...+CSC
53S|3A:|20 |28(|22"|49I|52R|41A|22"|2C,|22"|47G|53S|4DM|22"|2C, S: ("IRA","GSM",
22"|55U|43C|53S|322|22"|29)|0D |0A |0D |0A |4FO|4BK|0D |0A      "UCS2")....OK.. 
Chosen GSM as normal charset
Chosen UCS2 as unicode charset
SENDING frame type 0x00/length 0x0E/14
41A|54T|2B+|43C|53S|43C|53S|3D=|22"|47G|53S|4DM|22"|0D          AT+CSCS="GSM".  
1 "AT+CSCS="GSM""
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x14/20
41A|54T|2B+|43C|53S|43C|53S|3D=|22"|47G|53S|4DM|22"|0D |0D |0A  AT+CSCS="GSM"...
4FO|4BK|0D |0A                                                  OK..            
SENDING frame type 0x00/length 0x09/9
41A|54T|2B+|43C|53S|43C|53S|3F?|0D                              AT+CSCS?.       
1 "AT+CSCS?"
2 "+CSCS: "GSM""
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x1F/31
41A|54T|2B+|43C|53S|43C|53S|3F?|0D |0D |0A |2B+|43C|53S|43C|53S AT+CSCS?...+CSCS
3A:|20 |22"|47G|53S|4DM|22"|0D |0A |0D |0A |4FO|4BK|0D |0A      : "GSM"....OK.. 
Getting model
SENDING frame type 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|4DM|0D                                  AT+CGMM.        
1 "AT+CGMM"
2 "E169"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x16/22
41A|54T|2B+|43C|47G|4DM|4DM|0D |0D |0A |45E|311|366|399|0D |0A  AT+CGMM...E169..
0D |0A |4FO|4BK|0D |0A                                          ..OK..          
[Model name: `E169']
[Model data: `E169']
[Model data: `E169']
[Connected model  - "E169"]
SENDING frame type 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|49I|0D                                  AT+CGMI.        
1 "AT+CGMI"
2 "huawei"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x18/24
41A|54T|2B+|43C|47G|4DM|49I|0D |0D |0A |68h|75u|61a|77w|65e|69i AT+CGMI...huawei
0D |0A |0D |0A |4FO|4BK|0D |0A                                  ....OK..        
Manufacturer info received
[Manufacturer: Huawei]
Checking for OBEX support
SENDING frame type 0x00/length 0x0B/11
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D                      AT+CPROT=?.     
1 "AT+CPROT=?"
2 "COMMAND NOT SUPPORT"
Checking line: COMMAND NOT SUPPORT
AT reply state: 3
RECEIVED frame type 0x00/length 0x22/34
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D |0D |0A |43C|4FO|4DM AT+CPROT=?...COM
4DM|41A|4EN|44D|20 |4EN|4FO|54T|20 |53S|55U|50P|50P|4FO|52R|54T MAND NOT SUPPORT
0D |0A                                                          ..              
Checking for SYNCML/OBEX support
SENDING frame type 0x00/length 0x0C/12
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D                  AT+SYNCML=?.    
1 "AT+SYNCML=?"
2 "COMMAND NOT SUPPORT"
Checking line: COMMAND NOT SUPPORT
AT reply state: 3
RECEIVED frame type 0x00/length 0x23/35
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D |0D |0A |43C|4FO AT+SYNCML=?...CO
4DM|4DM|41A|4EN|44D|20 |4EN|4FO|54T|20 |53S|55U|50P|50P|4FO|52R MMAND NOT SUPPOR
54T|0D |0A                                                      T..             
SENDING frame type 0x00/length 0x0D/13
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D              AT$TSSPCSW=?.   
1 "AT$TSSPCSW=?"
2 "COMMAND NOT SUPPORT"
Checking line: COMMAND NOT SUPPORT
AT reply state: 3
RECEIVED frame type 0x00/length 0x24/36
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D |0D |0A |43C AT$TSSPCSW=?...C
4FO|4DM|4DM|41A|4EN|44D|20 |4EN|4FO|54T|20 |53S|55U|50P|50P|4FO OMMAND NOT SUPPO
52R|54T|0D |0A                                                  RT..            
Getting firmware versions
SENDING frame type 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|52R|0D                                  AT+CGMR.        
1 "AT+CGMR"
2 "11.314.13.01.00"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x21/33
41A|54T|2B+|43C|47G|4DM|52R|0D |0D |0A |311|311|2E.|333|311|344 AT+CGMR...11.314
2E.|311|333|2E.|300|311|2E.|300|300|0D |0A |0D |0A |4FO|4BK|0D  .13.01.00....OK.
0A                                                              .               
Received firmware version: "11.314.13.01.00"
Number version is "11.314130"
[Firmware version - "11.314.13.01.00"]
SENDING frame type 0x00/length 0x0A/10
41A|54T|5E^|43C|55U|52R|43C|3D=|300|0D                          AT^CURC=0.      
1 "AT^CURC=0"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x10/16
41A|54T|5E^|43C|55U|52R|43C|3D=|300|0D |0D |0A |4FO|4BK|0D |0A  AT^CURC=0...OK..
SENDING frame type 0x00/length 0x0A/10
41A|54T|2B+|43C|46F|55U|4EN|3D=|311|0D                          AT+CFUN=1.      
1 "AT+CFUN=1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x10/16
41A|54T|2B+|43C|46F|55U|4EN|3D=|311|0D |0D |0A |4FO|4BK|0D |0A  AT+CFUN=1...OK..
SENDING frame type 0x00/length 0x0D/13
41A|54T|5E^|50P|4FO|52R|54T|53S|45E|4CL|3D=|311|0D              AT^PORTSEL=1.   
1 "AT^PORTSEL=1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x13/19
41A|54T|5E^|50P|4FO|52R|54T|53S|45E|4CL|3D=|311|0D |0D |0A |4FO AT^PORTSEL=1...O
4BK|0D |0A                                                      K..             
[Connected]
Entering GSM_SetIncomingUSSD
Enabling incoming USSD
SENDING frame type 0x00/length 0x0A/10
41A|54T|2B+|43C|55U|53S|44D|3D=|311|0D                          AT+CUSD=1.      
1 "AT+CUSD=1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x10/16
41A|54T|2B+|43C|55U|53S|44D|3D=|311|0D |0D |0A |4FO|4BK|0D |0A  AT+CUSD=1...OK..
Leaving GSM_SetIncomingUSSD
Entering GSM_DialService
SENDING frame type 0x00/length 0x0F/15
41A|54T|2B+|43C|53S|43C|53S|3D=|22"|55U|43C|53S|322|22"|0D      AT+CSCS="UCS2". 
1 "AT+CSCS="UCS2""
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x15/21
41A|54T|2B+|43C|53S|43C|53S|3D=|22"|55U|43C|53S|322|22"|0D |0D  AT+CSCS="UCS2"..
0A |4FO|4BK|0D |0A                                              .OK..           
SENDING frame type 0x00/length 0x09/9
41A|54T|2B+|43C|53S|43C|53S|3F?|0D                              AT+CSCS?.       
1 "AT+CSCS?"
2 "+CSCS: "UCS2""
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x20/32
41A|54T|2B+|43C|53S|43C|53S|3F?|0D |0D |0A |2B+|43C|53S|43C|53S AT+CSCS?...+CSCS
3A:|20 |22"|55U|43C|53S|322|22"|0D |0A |0D |0A |4FO|4BK|0D |0A  : "UCS2"....OK..
SENDING frame type 0x00/length 0x1E/30
41A|54T|2B+|43C|55U|53S|44D|3D=|311|2C,|22"|41A|41A|399|388|45E AT+CUSD=1,"AA98E
43C|41A|366|388|41A|388|44D|300|300|22"|2C,|311|355|0D          CA68A8D00",15.  
1 "AT+CUSD=1,"AA98ECA68A8D00",15"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frame type 0x00/length 0x27/39
41A|54T|2B+|43C|55U|53S|44D|3D=|311|2C,|22"|41A|41A|399|388|45E AT+CUSD=1,"AA98E
43C|41A|366|388|41A|388|44D|300|300|22"|2C,|311|355|0D |0D |0A  CA68A8D00",15...
45E|52R|52R|4FO|52R|0D |0A                                      ERROR..         
GSM_DialService failed with error UNKNOWN[27]: Unknown error.
Leaving GSM_DialService
[Terminating]
[Closing]

hope this helps.

kusmierz commented 6 years ago

@nijel can I help you somehow with this issue?