-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
59 lines (48 loc) · 1.94 KB
/
config.js
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
/**
* Created by min on 4/12/16.
*/
var config = {
//DEV
CM: 'PROLOG', //or 'PROLOG'
//CM:'MQ', //or 'MQ'
CM_URL: 'http://192.168.254.196:18011/ntelagent-chat-web-mobile/HttpService',
CM_PROLOG: 'http://192.168.254.116:3030/cm',
//mongodb && redis
mongodb: 'mongodb://localhost/co_engage',
redis_host: 'localhost',
redis_port: 6379,
redis_db: 1,
redis_expire: 168 * 60 * 60, // four hours
pollInterval: 1000,
//houndify setting
houndy_clientid: '5Tp0jrUv3EK0LXNGLt_u4A==',
houndy_clientkey: 'vUMKM3lR6J-uGnUfDI4ENeLvNyvyJ56PQwppZqtjU4ETuO6UrozYz0rZ24M94N82w3RPC2WB9fgQhlYi5IVSzg==',
Hound_Request_Info: '{"ClientID":"5Tp0jrUv3EK0LXNGLt_u4A==","PartialTranscriptsDesired":true,"Latitude":33.9253,"Longitude":-84.3857}',
houndy_headers: {
'Hound-Request-Authentication': 'houndify_try_api_user;231e20f0-0b38-11e6-bf95-b9c00c2f1f38',
'Hound-Client-Authentication': 'uI1km2cRUlcLU2Nuq3MJiw==;1461624641;tMqTAXWLVZ0VcJ9p3X6uqwwnwAsmzkSv7-ZAjY6Jqng=',
'Hound-Request-Info': '{"ClientID":"uI1km2cRUlcLU2Nuq3MJiw==","PartialTranscriptsDesired":true,"Latitude":33.9253,"Longitude":-84.3857}'
},
houndy_url: 'https://api.houndify.com/v1/text?query=',
//app id in the agent group
APPLIST: ['wgwwqx5ei789fngx86osp6bzmo', 'gqupp5deapyy9q1gitmxzu1aho'],
//websocket
jwtSecret: 'cyber engagement',
//redis queue
IVRAPP: 'app.ivr',
IVRCHANNEL: 'ivr',
CMAPP: 'workflow',
CMCHANNEL: 'app.cm',
//Dev
debug: true,
MODE_ENV: 'DEV',
LOAD_TEST: false
};
process.env.MATTERMOST_HOST = 'http://192.168.0.55:8065';
process.env.MATTERMOST_GROUP = 'cyber';
process.env.MATTERMOST_USER = '[email protected]';
process.env.MATTERMOST_PASSWORD = '123456';
process.env.PORT = 4012;
process.env.MATTERMOST_INVITETOKEN = 'ikfb5ynuhfrtjpfi1u9hi948ur';
process.env.MATTERMOST_AGENT_GROUP = 'hcfstbeietrbik88xhtfp5pkur';
module.exports = config;