Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. /**
  2. * FreeSWITCH Config.
  3. * @file: freeswitch-listener/config/config.js
  4. */
  5.  
  6. const configParams = {
  7. freeswitch: {
  8. ip: 'FREESWITCH_IP_HERE',
  9. port: FREESWITCH_PORT_HERE,
  10. password: 'FREESWITCH_PASSWORD_HERE',
  11. },
  12. };
  13.  
  14. const getConfig = module => (configParams[module] !== undefined) ? configParams[module] : {};
  15.  
  16. exports.getConfig = getConfig;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement