Gammu - Can receive SMS but can't dialvoice -
with gammu configuration, on huawei e220 modem, can receive sms, cant dialvoice.
here gammu config file (used both gammu-smsd , gammu) :
# configuration file 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 debugging information debuglevel = 0 runonreceive = /opt/sms/onreceive.sh # paths messages stored inboxpath = /var/spool/gammu/inbox/ outboxpath = /var/spool/gammu/outbox/ sentsmspath = /var/spool/gammu/sent/ errorsmspath = /var/spool/gammu/error/
the command dialvoice :
gammu -c /etc/gammu-smsdrc dialvoice xxxxxxxx
and here log :
[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 up, rts up, car up, cts setting speed 19200 [module - "auto"] escaping sms mode sending frametype 0x00/length 0x02/2 1b |0d .. sending simple @ command wake 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 not support enabled echo, can not work gammu! init:gsm_trygetmodel failed 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]
did stop sms while invoking gammu? these can not executed in same time on same device.
Comments
Post a Comment