It already includes a script that does this - safe_asterisk -d At 11:16 PM 5/3/2003 -0400, you wrote:>How can I have, may be a daemon, running so if asterisk goes down, it >would bring it up again right away? >Uriel-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030503/8dbdf3da/attachment.htm
How can I have, may be a daemon, running so if asterisk goes down, it would bring it up again right away? Uriel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030503/88b9a6a2/attachment.htm
I must be doing something wrong. I took /asterisk/init.asterisk to /etc/rc.d/init.d/asterisk and in my /etc/rc.d/rc.local I issue "asterisk start". It works and it runs safe_asterisk. However, I had an instance today on which asterisk came down and never came up again. I have also noticed that if I issue "asterisk stop", then "asterisk status", it shows one lingering task. Then I cannot restart, start or stop. So I end up going back to /asterisk/ ./asterisk > .... to recover without rebooting. Thank you for your help. Regards, Uriel -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of denon Sent: Saturday, May 03, 2003 10:48 PM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Monitor Asterisk It already includes a script that does this - safe_asterisk -d At 11:16 PM 5/3/2003 -0400, you wrote: How can I have, may be a daemon, running so if asterisk goes down, it would bring it up again right away? Uriel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030503/b7e82c3d/attachment.htm
Personally I recommend using daemontools by DJB to run asterisk. It does a very good job of keeping the service alive. What you then do instead of restart is do a stop, either now or gracefully and daemontools will restart it immediately. Bill Uriel Carrasquilla wrote:> I must be doing something wrong. I took /asterisk/init.asterisk to > /etc/rc.d/init.d/asterisk and in my /etc/rc.d/rc.local I issue "asterisk > start". It works and it runs safe_asterisk. However, I had an instance > today on which asterisk came down and never came up again. > I have also noticed that if I issue "asterisk stop", then "asterisk > status", it shows one lingering task. Then I cannot restart, start or > stop. So I end up going back to /asterisk/ ./asterisk > .... to > recover without rebooting. > Thank you for your help. > > Regards, > Uriel > > -----Original Message----- > *From:* asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com]*On Behalf Of *denon > *Sent:* Saturday, May 03, 2003 10:48 PM > *To:* asterisk-users@lists.digium.com > *Subject:* Re: [Asterisk-Users] Monitor Asterisk > > It already includes a script that does this - safe_asterisk > > -d > > At 11:16 PM 5/3/2003 -0400, you wrote: > >> How can I have, may be a daemon, running so if asterisk goes down, >> it would bring it up again right away? >> Uriel
Dan Fernandez
2003-May-05 13:33 UTC
[Asterisk-Users] Has anyone gotten SIP_CODEC= to work?
Basically, since I?d like to use g723 for sip communication between endpoints and * does not support it, I need to change codecs when a user wants to check voicemail, use a zap channel, etc. I have configured sip.conf and extensions.conf as below but when I try it I keep getting the following: chan_sip.c ...(sip_answer):Changing codec to GSM for this call because of ${SIP_CODEC} variable channel.c ..(ast_set_write_format): Unable to find a path from 2 to 1. Any ideas? sip.conf disallow=all allow=g723.1 allow=gsm extensions.conf exten => 1000,1,SetVar,SIP_CODEC=gsm exten => 1000,2,VoiceMailMain
Greetings, Dees * support SMDR or is that something that the boards the * box is using deals with? Thanks you Cris
Thank you so much. I will look it up in Google unless you have a handy URL. -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of asterisk@billheckel.com Sent: Monday, May 05, 2003 3:01 PM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Monitor Asterisk Personally I recommend using daemontools by DJB to run asterisk. It does a very good job of keeping the service alive. What you then do instead of restart is do a stop, either now or gracefully and daemontools will restart it immediately. Bill Uriel Carrasquilla wrote:> I must be doing something wrong. I took /asterisk/init.asterisk to > /etc/rc.d/init.d/asterisk and in my /etc/rc.d/rc.local I issue "asterisk > start". It works and it runs safe_asterisk. However, I had an instance > today on which asterisk came down and never came up again. > I have also noticed that if I issue "asterisk stop", then "asterisk > status", it shows one lingering task. Then I cannot restart, start or > stop. So I end up going back to /asterisk/ ./asterisk > .... to > recover without rebooting. > Thank you for your help. > > Regards, > Uriel > > -----Original Message----- > *From:* asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com]*On Behalf Of *denon > *Sent:* Saturday, May 03, 2003 10:48 PM > *To:* asterisk-users@lists.digium.com > *Subject:* Re: [Asterisk-Users] Monitor Asterisk > > It already includes a script that does this - safe_asterisk > > -d > > At 11:16 PM 5/3/2003 -0400, you wrote: > >> How can I have, may be a daemon, running so if asterisk goes down, >> it would bring it up again right away? >> Uriel_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users