Gammu - Entry is empty, cannot set SMSC

831 Views Asked by At

Short description:

  • when I try to send a SMS I receive the error: "Failed to get SMSC number from phone."
  • so I try to set the SMSC number and I receive the error: "Entry is empty."

Commnads are:

root@mail:/home/victor# echo "Dragon Ball super is Awsome!" | gammu --sendsms TEXT +40740863629
Failed to get SMSC number from phone.
root@mail:/home/victor# gammu setsmsc 1 "+40748438759"
Entry is empty.

Result of command gammu identify is:

root@mail:/home/victor# gammu identify
Device               : /dev/ttyUSB0
Manufacturer         : Qualcomm
Model                : unknown (HSDPA Modem)
Firmware             : 01.02.04  1  [Nov 27 2015 14:33:39]
SIM IMSI             : +CIMI:226102317883481

Maybe my device is not supported by gammu?

This is my configuration file ... I tried different configuration:

[gammu]

port = /dev/ttyUSB0
model =
connection = at19200
synchronizetime = no
logfile = /var/log/gammu.log
logformat = textall
use_locking =
gammuloc =

I used my Ubuntu gammu version 1.37.

1

There are 1 best solutions below

2
On

I just read the manual of the device, the solution is to load the right driver:

modprobe usbserial vendor=0x5c6 product=0x6000

After this the SMS can be send, no need to set SMSC manualy