Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration property "drachtio" is not defined #25

Open
imdrpn opened this issue Dec 16, 2019 · 1 comment
Open

Configuration property "drachtio" is not defined #25

imdrpn opened this issue Dec 16, 2019 · 1 comment

Comments

@imdrpn
Copy link

imdrpn commented Dec 16, 2019

$ node app
WARNING: No configurations found in configuration directory:/opt/drachtio-siprec-recording-server/config
WARNING: To disable this warning set SUPPRESS_NO_CONFIG_WARNING in the environment.
/opt/drachtio-siprec-recording-server/node_modules/config/lib/config.js:202
throw new Error('Configuration property "' + property + '" is not defined');
^

Error: Configuration property "drachtio" is not defined
at Config.get (/opt/drachtio-siprec-recording-server/node_modules/config/lib/config.js:202:11)
at Object. (/opt/drachtio-siprec-recording-server/app.js:17:22)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)

@davehorton
Copy link
Collaborator

Right, I provide example configs in the config/ directory - see default.json.example-freeswitch and default.json.example-rtpengine.

You need to copy one of them to config/default.json, edit if appropriate, before running the app.

Did you do that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants