bar top left
bar top right
left curve
right curve
Bienvenido, Invitado
Abajo
Publicar respuesta
Publicar nuevo tema
Página: 1
TEMA: Random Elastix Crashes
#47772
Random Elastix Crashes hace 1 Año, 11 Meses Karma: 1
Every one to three days phones will stop ringing for incoming calls which are routed to a queue. The queue has about 20 phones in it and incoming calls come in through a sip trunk. I have looked through the log and don't see anything unusual and the only way to fix is by restarting the server.

I don't know if this is related but the only thing I see the messages log every minute is "elastix last message repeated 22592 times" where the repeated number ranges from 1000 to 90000. And I think the last message being referred to is

elastix php: /var/lib/asterisk/agi-bin/phpagi.php[1658]: Undefined index: phpagi

Any help would be appreciated.

Thank You

(Running Elastix 1.4, Asterisk 1.4.29, FreePBX 2.5.2.2)
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
garfield81
Fresh Boarder
Mensajes: 49
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Reply Quote
 
#47911
Re:Random Elastix Crashes hace 1 Año, 10 Meses Karma: 11
When it does that, what happens if you route it through to the likes of a Ring Group instead of a queue?

Is it worth updating your system, just-in-case?
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
Chilling_Silence
Senior Boarder
Mensajes: 489
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Sexo: Hombre Localización: New Zealand Cumpleaños: 01/27
Before you ask a question, or before you get upset by a response, see here:
Enlaces ocultos para usuarios no registrados. Inicie sesión o regístrese Aquí
It will help you to know what to ask, how to ask, and what to expect as a response
Reply Quote
 
#47929
Re:Random Elastix Crashes hace 1 Año, 10 Meses Karma: 1
Chilling_Silence: Thanks for your reply. I haven't tried routing through a ring group but I will try the next time it crashes. Regarding the update do you mean a software or hardware update. The software has been updated using yum and as per hardware it's running on a quad core xeon processor with 4GB ram.

Thanks
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
garfield81
Fresh Boarder
Mensajes: 49
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Reply Quote
 
#48204
Re:Random Elastix Crashes hace 1 Año, 10 Meses Karma: 1
Upon digging deeper I realized that the phones de-register themselves. The server is configured for FOP2 and whenever the phones stop ringing I log into FOP2 and see all the users have the "unavailable/invalid" sign.

So then I have to goto FreePBX and go to any extension and click submit and then click apply changes (basically a reload of FreePBX) and all the phones come back up and start accepting incoming calls and ringing. I also updated to asterisk 1.4.30-2 last night and that didn't help either. Any help would be appreciated.

Thanks
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
garfield81
Fresh Boarder
Mensajes: 49
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Reply Quote
 
#48206
Re:Random Elastix Crashes hace 1 Año, 10 Meses Karma: 1
More Findings

Logging into the terminal I do a "top" and the top three processes are dialparties.agi all with 99.9% CPU and TIME+ greater than 70:24.87

Is that normal?
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
garfield81
Fresh Boarder
Mensajes: 49
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Reply Quote
 
#48239
Re:Random Elastix Crashes hace 1 Año, 10 Meses Karma: 104
Hi garfield81, that's not normal.
Have a look at this thread, maybe it can help:

www.freepbx.org/forum/freepbx/users/dial...-and-crashing-server
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
ramoncio
Gold Boarder
Mensajes: 1674
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Reply Quote
 
#66721
Re:Random Elastix Crashes hace 1 Año, 1 Mes Karma: 1
Hi;
Have you found any solution for this issue?
I have similar problem. Server work unstable. In log I have message:
php: /var/lib/asterisk/agi-bin/phpagi.php[1658]: Undefined index

repeated many many times.

This message is related to phpagi code - table definition. If this problems appears on many systems maybe some developer (or somebody who knows good php) could check it and report to phpagi team as a bug?
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
witekprytek
Senior Boarder
Mensajes: 123
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Reply Quote
 
Arriba
Publicar respuesta
Publicar nuevo tema
Página: 1
Moderadores: rafael, Bob, jgutierrez