]> 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 12:43:49 +0000 (07:43 -0500)
commite96e5cc3d41c7d062c4d71dac03b972438accdf4
tree5d05652853357577d7c37252523d41b8b0ae54cb
parent6b2aea9ce2c4ecc0012ed827d16c54f598a0ce2a
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