Hello all! Im running asterisk 1.4.23 and sometimes it crashes. Because I need to look for what asterisk crashes I run asterisk with option '-g' for debugging purpose. When I search for core files in filesystem nothing happend and I have not generated core files. Which is the way to know if asterisk are generating core dump files? And Which is the directory where it saves them? Is necessary to recompile asterisk with some extra option? Thanks for any idea. Cheers! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090727/feb3dbe9/attachment.htm
Never having actually rolled an Asterisk (Trixbox in my case) system into production. I was wondering if in most peoples opinion if given the choice would rather have a straight VOIP/SIP system or would rather have a system with normal POTS/analog types lines and something like a digium card? As far as reliability etc. Thoughts? -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3752 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20090728/fd8d2db7/attachment.bin
On Tue, Jul 28, 2009 at 8:18 PM, John F. Ervin <jervin at jervin.com> wrote:> Never having actually rolled an Asterisk (Trixbox in my case) system into > production. I was wondering if in most peoples opinion if given the choice > would rather have a straight VOIP/SIP system or would rather have a system > with normal POTS/analog types lines and something like a digium card? As > far as reliability etc. Thoughts? > >POTS is generally going to be more "reliable" but you may have to wrestle with echo and gain settings to get it working acceptably. SIP has really grown on me, obviously the provider, your bandwidth and management will have a huge impact on quality. If you are going to attempt to receive faxes then you want POTS, although I am not so sure about the status of t38 as of late. I have seen various threads about it being supported now. If a customer insists on a real fax then I recommend a separate POTS line, not attached to Asterisk at all. No headaches... -- Thanks, Steve Totaro +12409381212 (Cell) +12024369784 (Skype) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090728/f28a2f0f/attachment.htm
On Mon, Jul 27, 2009 at 01:28:59PM -0300, Gustavo A Gonzalez wrote:> Hello all! Im running asterisk 1.4.23 and sometimes it crashes. Because I > need to look for what asterisk crashes I run asterisk with option '-g' for > debugging purpose. When I search for core files in filesystem nothing > happend and I have not generated core files. Which is the way to know if > asterisk are generating core dump files? And Which is the directory where it > saves them? Is necessary to recompile asterisk with some extra option? > Thanks for any idea.IIRC it tries to dump them in the directory it was run from. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Thanks Tzafrir for your answer. Because I had some problems running safe_asterisk script to restart asterisk automatically in our callcenter , I've developed a simple script that runs from a schedule task and check if asterisk is running each minute. This is not the best solution yet but it works properly when asterisk shutdown. However it not let asterisk generate core dumps files. Is there an error in this script or what I have to change to get core dumps files from this script. #!/bin/sh # #Script para levantar el asterisk automaticamente #programado por WL echo "Checking if asterisk is running" a=`pidof asterisk` if [ "$a" != "" ]; then echo "Everything is OK, Asterisk is UP and running"; else echo "Asterisk Error: NOT RUNNING trying to restart it in 5 attempts!!!"; for ((i=1; i<=5; i+=1)); do /usr/sbin/asterisk -g b=`pidof asterisk` if [ "$b" != "" ]; then exit fi done fi G.A.G. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090730/95f723e5/attachment.htm
hi, the -g option is right. make sure that the system allows core files (ulimit -a). Regards -- Marcus ________________________________ De: Gustavo A Gonzalez <ggonzalez at despegar.com> Para: asterisk-users at lists.digium.com Enviadas: Quinta-feira, 30 de Julho de 2009 11:17:50 Assunto: Re: [asterisk-users] Asterisk core dumps files Thanks Tzafrir for your answer. Because I had some problems running safe_asterisk script to restart asterisk automatically in our callcenter , I?ve developed a simple script that runs from a schedule task and check if asterisk is running each minute. This is not the best solution yet but it works properly when asterisk shutdown. However it not let asterisk generate core dumps files. Is there an error in this script or what I have to change to get core dumps files from this script. #!/bin/sh # #Script para levantar el asterisk automaticamente #programado por WL echo ?Checking if asterisk is running? a=`pidof asterisk` if [ "$a" != "" ]; then echo "Everything is OK, Asterisk is UP and running"; else echo "Asterisk Error: NOT RUNNING trying to restart it in 5 attempts!!!"; for ((i=1; i<=5; i+=1)); do /usr/sbin/asterisk -g b=`pidof asterisk` if [ "$b" != "" ]; then exit fi done fi G.A.G. ____________________________________________________________________________________ Veja quais s?o os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090730/c3063366/attachment.htm