[Asterisk-Users] Re: Forcing Marker bit

Andrew Furey andrew.furey at gmail.com
Thu Jun 1 02:18:54 MST 2006


On 6/1/06, Tony Mountifield <tony at softins.clara.co.uk> wrote:
> # script /tmp/output.txt
> Script started, file is /tmp/output.txt
> # exec asterisk -rvvvvv
> ... do asterisky stuff ...
> host*CLI> exit
> Script done, file is /tmp/output.txt
> #

Actually you need another exit in there:

# script /tmp/output.txt
Script started, file is /tmp/output.txt
# exec asterisk -rvvvvv
... do asterisky stuff ...
host*CLI> exit
Executing last minute cleanups
# exit
Script done, file is /tmp/output.txt
#

Andrew

-- 
Linux supports the notion of a command line or a shell for the same
reason that only children read books with only pictures in them.
Language, be it English or something else, is the only tool flexible
enough to accomplish a sufficiently broad range of tasks.
                          -- Bill Garrett



More information about the asterisk-users mailing list