[asterisk-users] benefits of asterisk 1.8

Benny Amorsen benny+usenet at amorsen.dk
Fri Jun 3 11:01:19 CDT 2011


Paul Belanger <pabelanger at digium.com> writes:

> Sounds like asterisk was not told to generate a coredump, add the
> following, then you can generate a backtrace[1]:
>
> asterisk.conf
> [options]
> dumpcore = yes

The challenge with Asterisk and core dumps is that the Asterisk user
often does not have permissions to write to the directory it has as
current directory. By default, that is where the kernel writes the core
dump. You can change the directory by changing the kernel.core_pattern
sysctl, but make sure that you pick something which does not present a
security threat.

It would be very convenient if Asterisk could be told to keep a specific
directory as current directory.


/Benny




More information about the asterisk-users mailing list