summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2016-01-12 14:25:09 -0600
committerRichard Mudgett <rmudgett@digium.com>2016-01-12 20:27:47 -0600
commit1fffe71f77ddcae415f47131fc629a914c1fdde0 (patch)
treebd9bd9ba637507e6c404ed23199f667ca470887c /contrib
parent9a13df1b3c2c924dc4016a14eeadc254e5a7504b (diff)
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
Diffstat (limited to 'contrib')
-rwxr-xr-x[-rw-r--r--]contrib/scripts/autosupport12
1 files changed, 7 insertions, 5 deletions
diff --git a/contrib/scripts/autosupport b/contrib/scripts/autosupport
index e41215f40..3e0213afe 100644..100755
--- 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;