]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ast_coredumper: add Asterisk information dump
authorKevin Harwell <kharwell@digium.com>
Tue, 17 Mar 2020 20:54:25 +0000 (15:54 -0500)
committerJoshua Colp <jcolp@sangoma.com>
Thu, 26 Mar 2020 13:28:28 +0000 (08:28 -0500)
commitebddff34531552a151d7d167723178463fc386a4
tree0233edd5393f69a680b4dab1adc7a7fb4e10d921
parentff0e685eea77d595ab7003f955197781b29bc267
ast_coredumper: add Asterisk information dump

This patch makes it so ast_coredumper now outputs the following information to
a *-info.txt file when processing a core file:

  asterisk version and "built by" string
  BUILD_OPTS
  system start, and last reloaded date/time
  taskprocessor list
  equivalent of "bridge show all"
  equivalent of "core show channels verbose"

Also a slight modification was made when trying to obtain the pid(s) of a
running Asterisk. If it fails to retrieve any it now reports an error.

Change-Id: I54f35c19ab69b8f8dc78cc933c3fb7c99cef346b
contrib/scripts/ast_coredumper