-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkannel4.conf
More file actions
147 lines (120 loc) · 3.05 KB
/
kannel4.conf
File metadata and controls
147 lines (120 loc) · 3.05 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# HTTP administration is disabled by default. Make sure you set the
# password if you enable it.
##http://127.0.0.1:13013/cgi-bin/sendsms?username=root&password=sms&to=04160879946&text=hello
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
#admin-deny-ip = "*.*.*.*"
admin-allow-ip = ""
wapbox-port = 13002
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
dlr-storage = internal
sms-resend-freq = 5
#store-file = "/home/david/kannel-store_file"
group = sendsms-user
username = root
password = sms
#faked-sender = ME
group = smsbox
smsbox-id = main
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = "ME"
group = modems
id = huawei_e1750_00
name = "Huawei E1750"
detect-string = "huawei"
init-string = "AT+CNMI=2,1,2,2,0"
message-storage = "SM"
speed = 115200
#group = modems
#id = huawei_e1750_01
#name = "Huawei E1750"
#detect-string = "huawei"
#init-string = "AT+CNMI=2,1,2,2,0"
#message-storage = "SM"
#speed = 115200
#group = modems
#id = huawei
#name = "Huawei"
#detect-string = "huawei"
##init-string = "ATQ0 V1 E1 S0=0 &C1 +FCLASS=0"
#message-storage = "SM"
#message-start = 1
#reset-string = "ATZ"
#need-sleep = true
#speed = 460800
group = smsc
smsc-id = centro_1
smsc = at
modemtype = huawei
device = /dev/ttyUSB0
sms-center = "+584240000954"
my-number = "+584245489965"
connect-allow-ip = 127.0.0.1
log-level = 0
#sender-prefix = "Orchi"
sim-buffering = false
#group = smsc
#smsc-id = centro_2
#smsc = at
#modemtype = huawei
#device = /dev/ttyUSB2
#sms-center = "+584240000954"
#my-number = "+584245836217"
#connect-allow-ip = 127.0.0.1
#log-level = 0
#sender-prefix = "Orchi"
#sim-buffering = false
# SMSC Movistar
#group = smsc
#smsc = smpp
#smsc-id = movistar
#allowed-smsc-id = movistar
#preferred-smsc-id = movistar
#log-level = 0
#log-file = /var/log/kannel/movistar.log
#host = ***.***.***.***
#port = 7222
#receive-port = 7222
#our-host = ***.***.***.***
#smsc-username = bar
#smsc-password = bar
#system-type = VMA
#enquire-link-interval=10
#alt-charset = windows-1252
#alt-addr-charset = windows-1252
#group = sms-service
#keyword = default
#catch-all = yes
#accept-x-kannel-headers = true
#max-messages = 99
#concatenation = true
#catch-all = true
#omit-empty = true
#accepted-smsc = Huawei # very important
#get-url = http://127.0.0.1:8000/backend/kannel-usb0-smsc/?id=%p&text=%a&charset=%C&coding=%c
group = sms-service
name = test
keyword-regex = .*
exec = "echo de: %p, msg: %a >> /home/david/mensajes-test"
catch-all = yes
#max-messages = 0
#get-url = "http://127.0.0.1/demo/recibidos.php?numero=%p&mensaje=%a&modem=%i"
#group = sms-service
#name = save-sms
#keyword-regex = .*
#exec = "echo %p, %a >> /home/david/mensajes ; zenity --info --text \"%p, %a\""
#exec = "echo %p , %a >> /home/david/mensajes-store-2"
#catch-all = yes
#concatenation = true
#accepted-smsc = centro_2
#max-messages = 0
#get-url = "http://127.0.0.1/demo/recibidos.php?numero=%p&mensaje=%a&modem=%i"
group = wapbox
bearerbox-host = localhost
#log-file = "/var/log/kannel/wapbox.log"