[Asterisk-Users] detaching console from foreground asterisk

Michiel van Baak
Tue, 09 Aug 2005 12:30:31 -0000

On 22:19, Tue 09 Aug 05, Tzafrir Cohen wrote:
> On Tue, Aug 09, 2005 at 03:06:01PM -0400, James Treleaven wrote:
> > Is it possible to start asterisk in the foreground ("asterisk
-fc") and
> > later detach from the terminal but leave asterisk running?
>
> Start Asterisk in a screen(1) terminal ?
>
> BTW: anybody wants to wrap safe_asterisk to make it possible to use a
> screen terminal instead of a virtual console?
>

Maybe this is too lame but how about you type this in a
screen session:

while (1) {
	asterisk -fc
}

;)
--
Michiel van Baak
http://michiel.vanbaak.info
michiel@vanbaak.info
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D

"Why is it drug addicts and computer afficionados are both called
users?"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature