playsms com o gateway gammu não está enviando sms.
/var/log/gammu/smsd.log:
gammu-smsd[25994]: Starting phone communication...
gammu-smsd[25994]: Error at init connection: Can not open specified file. (CANTOPENFILE[28])
gammu-smsd[25994]: Going to 30 seconds sleep because of too much connection errors
mas o gammu está enviando sms por este comando
echo "sms test" | /usr/bin/gammu --sendsms TEXT ######
arquivo de configuração gammu-smsd:
# /etc/gammu-smsdrc
[gammu]
port = /dev/ttyUSB1
connection = at115200
logfile = /var/log/gammu/gammu.log
logformat = textall
[smsd]
Service = files
InboxPath = /var/spool/gammu/inbox/
OutboxPath = /var/spool/gammu/outbox/
SentSMSPath = /var/spool/gammu/sent/
ErrorSMSPath = /var/spool/gammu/error/
InboxFormat = unicode
OutboxFormat = unicode
TransmitFormat = auto
debugLevel = 1
LogFile = /var/log/gammu/smsd.log
DeliveryReport = sms
DeliveryReportDelay = 7200
CheckSecurity = 0
também gammu-smsd-inject não está funcionando
echo "All your base are belong to us" | gammu-smsd-inject TEXT #### output of this command:
-smsd-inject[19831]: Using FILES service
-smsd-inject [19831]: Configurando
SMSD ...
-smsd-inject [19831]: token SHM: 0xffffffffce00170a (-838854902)
-smsd-inject [19831]: Aviso: Nenhum código PIN em / etc /
-smsdrc file
-smsd-inject [19831]: CommTimeout = 30, SendTimeout = 30, ReceiveFrequency = 0, ResetFrequency = 0, HardResetFrequency = 0
-smsd-inject [19831]: verifica: CheckSecurity = 0, CheckBattery = 1, CheckSignal = 1
-smsd-inject [19831]: mode: Send = 1, Receive = 1
-smsd-inject [19831]: deliveryreport = sms
-smsd-inject [19831]: phoneid =
-smsd-inject [19831]: A caixa de entrada é "/ var / spool /
/ inbox / "com formato" unicode "
-smsd-inject [19831]: A caixa de saída é "/ var / spool /
/ outbox / "com formato" unicode "e formato de transmissão" auto "
-smsd-inject [19831]: SMS enviado movido para "/ var / spool /
/ enviado / "
-smsd-inject [19831]: SMS com erros movido para "/ var / spool /
/ error / "
-smsd-inject [19831]: Mensagem da caixa de saída criada OUTC20140315_122347_00_sms0.txt Mensagem escrita com ID / var / spool /
/outbox/OUTC20140315_122347_00_sms0.txt
Alguma idéia de por que as mensagens sms não estão sendo enviadas?
Tags sms-gateway