From 8d7763e5d6d54d469c4bf6b03a7b52de9bbb1cdb Mon Sep 17 00:00:00 2001 From: mikec Date: Wed, 6 May 2009 18:46:00 +0000 Subject: [PATCH] Added the T option to the asterisk command. This enables timestamping. git-svn-id: svn://192.168.202.10@1110 3d104415-ff17-0410-8863-d5cf3c621b8a --- bin/start_asterisk_boot.pl | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/bin/start_asterisk_boot.pl b/bin/start_asterisk_boot.pl index 7704dc42..bd024c8f 100644 --- a/bin/start_asterisk_boot.pl +++ b/bin/start_asterisk_boot.pl @@ -6,9 +6,10 @@ # # CHANGES # -# 60814-1658 - Added option to start without logging through servers table setting -# 90309-0905 - Added deleting of asterisk command files -# 90325-2238 - Rewrote launching of Asterisk, removed command files +# 60814-1658 - mattf - Added option to start without logging through servers table setting +# 90309-0905 - mattf - Added deleting of asterisk command files +# 90325-2238 - mattf - Rewrote launching of Asterisk, removed command files +# 90506-1443 - mikec - Added the T option to the asterisk command. This enables timestamping. # # default path to astguiclient configuration file: @@ -87,7 +88,7 @@ if ($SYSLOG) print "raised ulimit open files\n"; sleep(1); - `screen -XS asterisk eval 'stuff "/usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc\015"'`; + `screen -XS asterisk eval 'stuff "/usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgcT\015"'`; print "Asterisk started... screen logging on\n"; } else @@ -104,6 +105,6 @@ else print "raised ulimit open files\n"; sleep(1); - `screen -XS asterisk eval 'stuff "/usr/sbin/asterisk -vvvvgc\015"'`; + `screen -XS asterisk eval 'stuff "/usr/sbin/asterisk -vvvvgcT\015"'`; print "Asterisk started... screen logging off\n"; }