-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
48 lines (32 loc) · 988 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
* Instalar el servidor de SMS
aptitude install usb-modeswitch modemmanager smstools php5-cli
* Instalar ebtext
sudo mkdir /opt/ebtext
sudo cp -rvf ./* /opt/ebtext/
* Configurar dispositivo y opciones del servidor sms
vim.tiny /etc/smsd.conf
** Configurar opciones Generales
loglevel = 5
incoming_utf8 = yes
decode_unicode_text = yes
date_filename = 1
** Configurar manejadores de evento
eventhandler = /opt/ebtext/ebtext
** Configurar ruta del dispositivo GSM
device = /dev/ttyUSB0
# Activar mensajes entrantes
incoming = yes
# Alta prioridad a mensajes entrantes
incoming = high
*** Para Modems Huawei Activar lectura desde SIM
[GSM1]
init = ATE0+CMEE=1;+CREG=2;+CPMS="MT","MT","MT"
# Inicia la busqueda desde mensajes desde el indice 0
check_memory_method = 2
# Otros
baudrate = 115200
* Activar lista negra de numeros no deseados
mkdir /etc/smstools
cp -vf examples/blacklist /etc/smstools/
* Levantar el servicio
sudo service smstools restart