سؤال

By default, the core file is dumped in '/' directory. But this isn't ideal in our set up.
How do I configure the path of the core file generated? Can it be done in kamailio.cfg?

هل كانت مفيدة؟

المحلول

You can set the path to the directory via workdir global parameter in kamailio.cfg or via -w command line parameter to kamailio.

workdir=/tmp/kamailio

or

/usr/sbin/kamailio -w /tmp/kamailio ...
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top