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?
Asked
Active
Viewed 964 times
0

Allen Zhang
- 2,432
- 2
- 20
- 31
1 Answers
1
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 ...

miconda
- 1,754
- 11
- 14
-
It's right in the core cookbook. I'm surprised google didn't find it for me. Thanks. – Allen Zhang Mar 24 '14 at 21:01