Abraham WEI
2005-Apr-11 01:30 UTC
[Asterisk-Users] Can I exit from asterisk console without stopping asterisk?
If the answer is yes: a) how can I do that? b) how can I restart an asterisk console? Best regards, Abe -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050411/4e6269ef/attachment.htm
Bill Ford
2005-Apr-11 03:22 UTC
[Asterisk-Users] Can I exit from asterisk console without stopping asterisk?
To exit from the console type "quit" To restart the console: type "asterisk -vvvvvcr" (that's several "v's" in front of the "cr". The more "v's you put, the greater ther verbosity. I think the max is 10) On Apr 11, 2005 3:30 AM, Abraham WEI <abraham.wei@gmail.com> wrote:> If the answer is yes: > a) how can I do that? > b) how can I restart an asterisk console? > > Best regards, > Abe > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > >
Henry Devito
2005-Apr-11 06:13 UTC
[Asterisk-Users] Can I exit from asterisk console without stoppingasterisk?
exit and asterisk -r ----- Original Message ----- From: Abraham WEI To: Asterisk Users Mailing List - Non-Commercial Discussion Sent: Monday, April 11, 2005 3:30 AM Subject: [Asterisk-Users] Can I exit from asterisk console without stoppingasterisk? If the answer is yes: a) how can I do that? b) how can I restart an asterisk console? Best regards, Abe ------------------------------------------------------------------------------ _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050411/a1e38a88/attachment.htm
Leif Madsen - Certified Asterisk Consultant
2005-Apr-11 11:14 UTC
[Asterisk-Users] Can I exit from asterisk console without stopping asterisk?
On Apr 11, 2005 4:30 AM, Abraham WEI <abraham.wei@gmail.com> wrote:> If the answer is yes: > a) how can I do that? > b) how can I restart an asterisk console?The error you are getting is probably because you are starting Asterisk like so: /usr/sbin/asterisk -c If you do that, then when you exit, it will kill the application, which apparently you don't want to happen. What you will need to do is start Asterisk without jumping directly into the console (thats what the -c means) like so: /usr/sbin/asterisk or, if you're using a RedHat based system and typed 'make config' after install, you can run the script to start Asterisk: /etc/rc.d/init.d/asterisk start After Asterisk is running, you can then re-attach and detach from the console at will: /usr/sbin/asterisk -r Add multiple v's for verbosity: /usr/sbin/asterisk -rvvvvvvvvv Alternatively, attach to the Asterisk console and control the verbosity from there: set verbose 10 Hope that helps, Leif Madsen http://www.leifmadsen.com