Re: [asterisk-users] How to exit from console?
Try safe_asterisk , for an easy way to start asterisk in background, and then connect with asterisk process running asterisk -rx Now you can use exit, and by the way you may look on wiki diferent ways to run asterisk. On 1/23/07, Rudolf Ladyzhenskii [EMAIL PROTECTED] wrote: Hi, all Stupid question, but how do you exit asterisk console without stopping the asterisk? Tried quit and exit: *CLI exit No such command 'exit' (type 'help' for help) *CLI quit No such command 'quit' (type 'help' for help) *CLI Any other ideas? I started asterisk with -cg option. Same problem if use asterisk -r to connect. Can not exit. Any ideas? Thanks, Rudolf ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to exit from console?
Am 23.01.2007 um 12:36 schrieb Rudolf Ladyzhenskii: Stupid question, but how do you exit asterisk console without stopping the asterisk? Tried quit and exit: *CLI exit No such command 'exit' (type 'help' for help) *CLI quit No such command 'quit' (type 'help' for help) *CLI Any other ideas? I started asterisk with -cg option. Same problem if use asterisk -r to connect. Can not exit. If you startet with -c Asterisk doesn't allow you to exit. You have to stop now: ---cut--- *CLI exit No such command 'exit' (type 'help' for help) *CLI stop now debian:~# ---cut--- Any ideas? Start Asterisk normal with a simple asterisk and than log into the CLI with asterisk -r THAN you can use exit. Stefan -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? - http://www.das-asterisk-buch.de ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to exit from console?
On Tue, 23 Jan 2007 22:36:12 +1100 Rudolf Ladyzhenskii [EMAIL PROTECTED] wrote: Hi, all Stupid question, but how do you exit asterisk console without stopping the asterisk? Tried qui Any other ideas? I started asterisk with -cg option. Same problem if use asterisk -r to connect. Can not exit. Run asterisk just by typing 'asterisk'. Using the -c option will cause the behaviour you are experiencing. Then when you connect with 'asterisk -r', you can use 'exit' (or just ctrl-c) to disconnect, but leave Asterisk running in the background. On the console, you can get the - behaviour with 'set verbose 4' Cheers, Gavin. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to exit from console?
Stop now Em Terça 23 Janeiro 2007 09:41, Marco Mouta escreveu: Try safe_asterisk , for an easy way to start asterisk in background, and then connect with asterisk process running asterisk -rx Now you can use exit, and by the way you may look on wiki diferent ways to run asterisk. On 1/23/07, Rudolf Ladyzhenskii [EMAIL PROTECTED] wrote: Hi, all Stupid question, but how do you exit asterisk console without stopping the asterisk? Tried quit and exit: *CLI exit No such command 'exit' (type 'help' for help) *CLI quit No such command 'quit' (type 'help' for help) *CLI Any other ideas? I started asterisk with -cg option. Same problem if use asterisk -r to connect. Can not exit. Any ideas? Thanks, Rudolf ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Did you know that for the price of a 280-Z you can buy two Z-80's? -- P. J. Plauger ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to exit from console?
Rudolf Ladyzhenskii wrote: Hi, all Stupid question, but how do you exit asterisk console without stopping the asterisk? If you start Asterisk without any options: asterisk And then reconnect to it via the -r option asterisk -r Then typing exit on the console will exit without stopping Asterisk. Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to exit from console?
Thanks to all. All OK now. I thought that -c option is equivalent to starting an asterisk daemon and connecting to it. Obviously I was wrong. Thanks again, Rudolf On 1/23/07, Doug Lytle [EMAIL PROTECTED] wrote: Rudolf Ladyzhenskii wrote: Hi, all Stupid question, but how do you exit asterisk console without stopping the asterisk? If you start Asterisk without any options: asterisk And then reconnect to it via the -r option asterisk -r Then typing exit on the console will exit without stopping Asterisk. Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to exit from console?
On Tue, Jan 23, 2007 at 11:41:23AM +, Marco Mouta wrote: Try safe_asterisk , for an easy way to start asterisk in background, a plain 'asterisk' is even better and safer. asterisk -U asterisk . is better. /etc/init.d/asterisk start is similar. and then connect with asterisk process running asterisk -rx 'asterisk -r' Now you can use exit, And the difference is that 'asterisk -r' just opens a remote terminal to the Asterisk process. Thus you can exit from it. You can't simply exit from the main Asterisk process: you have to shut it down (shut down your PBX). -- Tzafrir Cohen icq#16849755jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to exit from console?
Rudolf Ladyzhenskii wrote: Hi, all Stupid question, but how do you exit asterisk console without stopping the asterisk? Tried quit and exit: *CLI exit No such command 'exit' (type 'help' for help) *CLI quit No such command 'quit' (type 'help' for help) *CLI Any other ideas? I started asterisk with -cg option. Same problem if use asterisk -r to connect. Can not exit. Any ideas? Thanks, Rudolf ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ctrl-c :-) signature.asc Description: OpenPGP digital signature ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to exit from console?
I personally run asterisk in a screen session. Gets rid of this problem and makes things a lot easier. - Original Message - From: Marco Mouta To: [EMAIL PROTECTED] ; Asterisk Users Mailing List - Non-Commercial Discussion Sent: Tuesday, January 23, 2007 1:41 PM Subject: Re: [asterisk-users] How to exit from console? Try safe_asterisk , for an easy way to start asterisk in background, and then connect with asterisk process running asterisk -rx Now you can use exit, and by the way you may look on wiki diferent ways to run asterisk. On 1/23/07, Rudolf Ladyzhenskii [EMAIL PROTECTED] wrote: Hi, all Stupid question, but how do you exit asterisk console without stopping the asterisk? Tried quit and exit: *CLI exit No such command 'exit' (type 'help' for help) *CLI quit No such command 'quit' (type 'help' for help) *CLI Any other ideas? I started asterisk with -cg option. Same problem if use asterisk -r to connect. Can not exit. Any ideas? Thanks, Rudolf ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] How to exit from console?
you have to start it with no options in order to -r into and quit out of it _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dovid B Sent: Tuesday, January 23, 2007 10:46 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] How to exit from console? I personally run asterisk in a screen session. Gets rid of this problem and makes things a lot easier. - Original Message - From: Marco mailto:[EMAIL PROTECTED] Mouta To: [EMAIL PROTECTED] ; Asterisk Users Mailing List - mailto:asterisk-users@lists.digium.com Non-Commercial Discussion Sent: Tuesday, January 23, 2007 1:41 PM Subject: Re: [asterisk-users] How to exit from console? Try safe_asterisk , for an easy way to start asterisk in background, and then connect with asterisk process running asterisk -rx Now you can use exit, and by the way you may look on wiki diferent ways to run asterisk. On 1/23/07, Rudolf Ladyzhenskii [EMAIL PROTECTED] wrote: Hi, all Stupid question, but how do you exit asterisk console without stopping the asterisk? Tried quit and exit: *CLI exit No such command 'exit' (type 'help' for help) *CLI quit No such command 'quit' (type 'help' for help) *CLI Any other ideas? I started asterisk with -cg option. Same problem if use asterisk -r to connect. Can not exit. Any ideas? Thanks, Rudolf ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _ ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to exit from console?
Rudolf Ladyzhenskii wrote: Hi, all Stupid question, but how do you exit asterisk console without stopping the asterisk? Tried quit and exit: *CLI exit No such command 'exit' (type 'help' for help) *CLI quit No such command 'quit' (type 'help' for help) *CLI Any other ideas? I started asterisk with -cg option. Same problem if use asterisk -r to connect. Can not exit. Many unix programs you can exit with ctrl d - asterisk console does also. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to exit from console?
On Tue, Jan 23, 2007 at 10:55:12AM -0600, Tim Litwiller wrote: Rudolf Ladyzhenskii wrote: Hi, all Stupid question, but how do you exit asterisk console without stopping the asterisk? Tried quit and exit: *CLI exit No such command 'exit' (type 'help' for help) *CLI quit No such command 'quit' (type 'help' for help) *CLI Any other ideas? I started asterisk with -cg option. Same problem if use asterisk -r to connect. Can not exit. Many unix programs you can exit with ctrl d - asterisk console does also. The main asterisk process, when not daemonized, behaves that way, I guess. However asterisk -r does not respect ctrl-d as a hint for end of file (end of standard input) . BTW: there is another way in which asterisk -c is not a standard process: start a xterm/putty window, connect as root and run a new asterisk -c in another terminal run asterisk -rv . Now, what happens there when you close that xterm window without stopping asterisk first: will asterisk exit like any proper interactive program does when it loses its controlling terminal? no. -- Tzafrir Cohen icq#16849755jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to exit from console?
! Paul Hales Technical Manager AsteriskIT On Tue, 2007-01-23 at 22:36 +1100, Rudolf Ladyzhenskii wrote: Hi, all Stupid question, but how do you exit asterisk console without stopping the asterisk? Tried quit and exit: *CLI exit No such command 'exit' (type 'help' for help) *CLI quit No such command 'quit' (type 'help' for help) *CLI Any other ideas? I started asterisk with -cg option. Same problem if use asterisk -r to connect. Can not exit. Any ideas? Thanks, Rudolf ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: Re: [asterisk-users] How to exit from console?
Derek Whitten,hello! *CLI stop now You can input help to see all the commands. Like this: *CLI help === 2007-01-23 23:10:12 === Rudolf Ladyzhenskii wrote: Hi, all Stupid question, but how do you exit asterisk console without stopping the asterisk? Tried quit and exit: *CLI exit No such command 'exit' (type 'help' for help) *CLI quit No such command 'quit' (type 'help' for help) *CLI Any other ideas? I started asterisk with -cg option. Same problem if use asterisk -r to connect. Can not exit. Any ideas? Thanks, Rudolf ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ctrl-c :-) ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users = = = = = = = = = = = = = = = = = = = = 致 礼! 李君 [EMAIL PROTECTED] 2007-01-24 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] How to exit from console?
Easily Press Ctrl + c -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Wintermeyer Sent: Tuesday, January 23, 2007 1:44 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] How to exit from console? Am 23.01.2007 um 12:36 schrieb Rudolf Ladyzhenskii: Stupid question, but how do you exit asterisk console without stopping the asterisk? Tried quit and exit: *CLI exit No such command 'exit' (type 'help' for help) *CLI quit No such command 'quit' (type 'help' for help) *CLI Any other ideas? I started asterisk with -cg option. Same problem if use asterisk -r to connect. Can not exit. If you startet with -c Asterisk doesn't allow you to exit. You have to stop now: ---cut--- *CLI exit No such command 'exit' (type 'help' for help) *CLI stop now debian:~# ---cut--- Any ideas? Start Asterisk normal with a simple asterisk and than log into the CLI with asterisk -r THAN you can use exit. Stefan -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? - http://www.das-asterisk-buch.de ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users * No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates. This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium. If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person. Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects. * ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to exit from console?
On Thu, Jan 25, 2007 at 08:39:00AM +0200, Khaled wrote: Am 23.01.2007 um 12:36 schrieb Rudolf Ladyzhenskii: Stupid question, but how do you exit asterisk console without stopping the asterisk? Easily Press Ctrl + c And loose your command-line history. -- Tzafrir Cohen icq#16849755jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to exit from console?
On Wed, Jan 24, 2007 at 10:35:50AM +1100, Paul Hales wrote: ! This only works from a remote asterisk shell (asterisk -r). It will not exit: it will spawn a subshell. Once you exit the subshell, you get back to the original remote asterisk shell. -- Tzafrir Cohen icq#16849755jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users