Gammu - 可以接收短信,但无法拨号语音

  • 本文关键字:语音 Gammu gammu
  • 更新时间 :
  • 英文 :


使用我的gammu配置,在华为E220调制解调器上,我可以接收短信,但我无法拨号语音。

这是我的 gammu 配置文件(由 gammu-smsd 和 gammu 使用):

# Configuration file for Gammu SMS Daemon
# Gammu library configuration, see gammurc(5)
[gammu]
port = /dev/ttyUSB0
model =
connection = at19200
synchronizetime = yes
logfile = /var/log/gammulog
logformat = textall
use_locking =
gammuloc =
# SMSD configuration, see gammu-smsdrc(5)
[smsd]
service = files
PIN = 0000
logfile = /tmp/smsd.log
# Increase for debugging information
debuglevel = 0
RunOnReceive = /opt/SMS/onreceive.sh
# Paths where messages are stored
inboxpath = /var/spool/gammu/inbox/
outboxpath = /var/spool/gammu/outbox/
sentsmspath = /var/spool/gammu/sent/
errorsmspath = /var/spool/gammu/error/

拨号语音的命令:

gammu -c/etc/gammu-smsdrc dialvoice xxxxxxxx

这是日志:

[Gammu            - 1.31.90 built 08:54:06 May 23 2012 using GCC 4.6]
[Connection       - "at19200"]
[Connection index - 0]
[Model type       - ""]
[Device           - "/dev/ttyUSB0"]
[Running on       - Linux, kernel 3.18.11+ (#781 PREEMPT Tue Apr 21 18:02:18 BST 2015)]
Serial device: DTR is up, RTS is up, CAR is up, CTS is up
Setting speed to 19200
[Module           - "auto"]
Escaping SMS mode
SENDING frametype 0x00/length 0x02/2
1B |0D                                                          ..
Sending simple AT command to wake up some devices
SENDING frametype 0x00/length 0x03/3
41A|54T|0D                                                      AT.
Enabling echo
SENDING frametype 0x00/length 0x05/5
41A|54T|45E|311|0D                                              ATE1.
Phone does not support enabled echo, it can not work with Gammu!
Init:GSM_TryGetModel failed with error TIMEOUT[14]: Aucune réponse dans le temps d'attente spécifié: Le téléphone n'est peut-être pas connecté.
[Terminating]
[Closing]

你在调用 gammu 时是否停止了短信?这些不能在同一设备上同时执行。

相关内容

  • 没有找到相关文章

最新更新