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
This commit is contained in:
mikec
2009-05-06 18:46:00 +00:00
parent a144ff534f
commit 8d7763e5d6
+6 -5
View File
@@ -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";
}