From 30ac636c8368069cac1b9ee3fc4987ca9eba14f7 Mon Sep 17 00:00:00 2001 From: Adhidarma Hadiwinoto <me@adhisimon.org> Date: Wed, 24 Jul 2019 19:43:18 +0700 Subject: [PATCH] Config file example --- config.sample.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 config.sample.json diff --git a/config.sample.json b/config.sample.json new file mode 100644 index 0000000..a0b3b3c --- /dev/null +++ b/config.sample.json @@ -0,0 +1,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" +} \ No newline at end of file -- 1.9.0