diff options
author | Richard Mudgett <rmudgett@digium.com> | 2016-01-12 14:25:09 -0600 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2016-01-12 20:24:15 -0600 |
commit | 5586abc95728996ce9e36c54a1ee8f6d8de9c525 (patch) | |
tree | c8b42e8cce2690fc798a28e4c6d5c65b1bebfad8 /contrib/scripts | |
parent | 092c0db4936d6418fbd1b2e9e1d9a8d34d7e1c8e (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/scripts')
-rwxr-xr-x[-rw-r--r--] | contrib/scripts/autosupport | 12 |
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; |