Blame view

config.sample.json 634 Bytes
30ac636c8   Adhidarma Hadiwinoto   Config file example
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
  {
      "# messaging_url": "messaging service url",
      "messaging_url": "http://localhost:32979/",
      
      "# listen_port": "HTTP port untuk mendapat perintah dari CORE",
      "listen_port": 16480,
  
      "handler_callback_server": {
          "# listen_port": "HTTP port untuk mendapat pesan masuk dari modem handler",
          "listen_port": 16481,
          "apikey": "PLEASE_CHANGE_ME"
      },
  
      "number_suffix": "@phonenumber",
  
      "modems": {
          "SMS0": {
              "url": "http://localhost:2110/sms",
              "apikey": "PLEASE_CHANGE_ME"
          }
      },
  
      "do_not_trim_long_sms": false,
  
      "default_modem": "SMS0"
  }