-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathoptions.ini.sample
66 lines (53 loc) · 1.52 KB
/
options.ini.sample
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
[general]
debug_handler = "debug"
protocol_debug_handler = "protocolDebug"
[connection]
; primary connection
hosts[] = "smpp.yoursmsc.com"
ports[] = 2775
; credentials
login = "username"
password = "password"
; force into either ipv6 or ipv4 mode?
forceIpv6 = false
forceIpv4 = false
; both SMSC and Redis timeouts must be within this interval
enquire_link_timeout = 30 ; in seconds
; SMPP SMSC params (used for transmitters)
registered_delivery = true
null_terminate_octetstrings = false
csms_method = 2 ; 0=CSMS_16BIT_TAGS, 1=CSMS_PAYLOAD, 2=CSMS_8BIT_UDH
originator_encoding = ISO-8859-1
[factory]
debug = true
senders = 10 ; must be within SMSC max connections - 1 (for receiver)
[receiver]
debug = true
smpp_debug = true
; for delivery reports
dlr_provider_id = 1
override_dlr_donedate = true
; transport level timeouts in milliseconds
send_timeout = 1000 ; in ms
connect_timeout = 5000 ; in ms
[sender]
debug = true
smpp_debug = true
; transport level timeouts in milliseconds
send_timeout = 500 ; in ms
recv_timeout = 50000 ; in ms
connect_timeout = 5000 ; in ms
[queue]
host = localhost
port = 6379
connect_timeout = 20
queuekey = smsc.smpp ; redis prefix
use_igbinary = false ; requires igbinary from https://github.com/dynamoid/igbinary if enabled
dlr_queue = nimtastatusqueue ; key for redis list which holds final delivery reports
use_igbinary_for_dlr = false
retention = 50 ; in hours
index = 1 ; redis index
[queuemanager]
debug = true
retries = 3
retry_interval = 600 ; in seconds