From 5586abc95728996ce9e36c54a1ee8f6d8de9c525 Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Tue, 12 Jan 2016 14:25:09 -0600 Subject: res_pjsip_log_forwarder.c: Add CLI "pjsip show buildopts". PJPROJECT has a function available to dump the compile time options used when building the library. * Add CLI "pjsip show buildopts" command. * Update contrib/scripts/autosupport to get pjproject information. Change-Id: Id93a6a916d765b2a2e5a1aeb54caaf83206be748 --- contrib/scripts/autosupport | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) mode change 100644 => 100755 contrib/scripts/autosupport (limited to 'contrib/scripts/autosupport') diff --git a/contrib/scripts/autosupport b/contrib/scripts/autosupport old mode 100644 new mode 100755 index e41215f40..3e0213afe --- a/contrib/scripts/autosupport +++ b/contrib/scripts/autosupport @@ -3,7 +3,7 @@ # Autosupport Version 2.1.0 # Collect support information # -# Copyright (C) 2005-2013, Digium, Inc. +# Copyright (C) 2005-2016, Digium, Inc. # # Written by John Bigelow (support@digium.com) # Charles Moye (cmoye@digium.com) @@ -38,7 +38,7 @@ then -h | --help) echo echo "Digium autosupport script" - echo "Copyright (C) 2005-2013, Digium, Inc." + echo "Copyright (C) 2005-2016, Digium, Inc." echo "Licensed under the terms of the GNU General Public License" echo echo "usage: autosupport [prefix]" @@ -186,7 +186,9 @@ asterisk -V >> $OUTPUT; echo >> $OUTPUT; # Add check to see if asterisk is running. if [ -e /var/run/asterisk.ctl ] || [ -e /var/run/asterisk/asterisk.ctl ]; then - for command in "core show version" "pri show version" "dahdi show version" "core show translation" \ + for command in "core show version" "pri show version" "dahdi show version" \ + "pjsip show version" "pjsip show buildopts" \ + "core show translation" \ "core show uptime" "core show settings" "core show sysinfo" "core show channels" \ "pri show spans" "dahdi show status" "dahdi show channels" "dahdi show channel 1" \ "pjsip show endpoints" "pjsip show registrations" "pjsip list channels" \ @@ -194,9 +196,9 @@ if [ -e /var/run/asterisk.ctl ] || [ -e /var/run/asterisk/asterisk.ctl ]; then "show g729" "g729 show version" "g729 show licenses" "g729 show hostid" \ "digium_phones show version" "digium_phones show alerts" "digium_phones show applications" \ "digium_phones show firmwares" "digium_phones show lines" "digium_phones show networks" \ - "digium_phones show phones" "digium_phones show sessions" "digium_phones show settings" \ + "digium_phones show phones" "digium_phones show sessions" "digium_phones show settings" \ "digium_phones show translations" ; - do + do echo "asterisk -rx \"$command\"" >> $OUTPUT; asterisk -rx "$command" >> $OUTPUT; echo >> $OUTPUT; -- cgit v1.2.3