-
Notifications
You must be signed in to change notification settings - Fork 1
/
kannel.conf.template
62 lines (55 loc) · 1.63 KB
/
kannel.conf.template
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
group = core
admin-port = 13000
admin-password = ""
admin-allow-ip = ""
smsbox-port = 13001
log-file = "/dev/stdout"
box-allow-ip = "127.0.0.1"
log-level = ${LOG_LEVEL}
group = smsbox
bearerbox-host = "localhost"
sendsms-port = 13014
log-file = "/dev/stdout"
access-log = "/dev/stdout"
log-level = ${LOG_LEVEL}
mo-recode = true
reply-couldnotfetch = "Posting SMS message to POST_URL. (err=couldnotfetch)"
reply-requestfailed = "Failed to post SMS message to POST_URL. (err=requestfailed)"
reply-couldnotrepresent = "Your message could not be processed at this time. Please try again later. (err=couldnotrepresent)"
reply-emptymessage = "empty message will not be send"
sendsms-chars = "0123456789 +-"
group = smsc
smsc = smpp
smsc-id = ${SMSC_ID}
interface-version = 34
max-pending-submits = 20
host = ${SMSC_HOST}
port = ${SMSC_PORT}
smsc-username = "${SMSC_USER}"
smsc-password = "${SMSC_PASSWORD}"
system-type = ${SMSC_SYSTEM_TYPE}
transceiver-mode = 1
log-file = "/dev/stdout"
log-level = ${LOG_LEVEL}
msg-id-type = 0x00
alt-charset = "UTF-8"
######################################################################
######################################################################
group = sendsms-user
username = "${RAPIDPRO_USERNAME}"
password = "${RAPIDPRO_PASSWORD}"
concatenation = true
max-messages = 10
user-allow-ip = "*.*.*.*"
faked-sender = ${FAKED_SENDER}
forced-smsc = ${SMSC_ID}
default-smsc = ${SMSC_ID}
group = sms-service
keyword = default
allowed-receiver-prefix-regex = ".*${FAKED_SENDER}$"
max-messages = 0
post-url = "${RAPIDPRO_POST_URL}"
concatenation = true
assume-plain-text = true
accept-x-kannel-headers = true
omit-empty = true