FreePBX inestable


(Rubén) #1

Hola,

Desde hace tres semanas que la centralita se cae sin previo aviso, igual se cae fuera de horario de oficina que se cae mientras se realiza una llamada y al caerse, las llamadas entrantes escuchan tono cuando debería saltar el IVR, en cambio se pueden realizar llamadas salientes. Cada vez que pasa esto lo soluciono lanzando el comando "fwconsole restart" y todo vuelve a funcionar. Esto me obliga a estar pendiente constantemente de que siga funcionando y me gustaría darle una solución definitiva.

¿alguna sugerencia?

Muchas gracias.


(Dave Burgess) #2

The ‘asterisk’ program is crashing.

There are logs available which may be able to help. The first is /var/log/messages to see if it relates to some other hardware failure. The second is /var/log/asterisk/full to see if it’s something in a settings.

If the server was failing, the system would just reboot and you’d (probably) be back on line in a short time. It doesn’t sound like that is the case here. Since it’s an asterisk ‘abend’, you’ll need to look deeper.

I’ve had this happen to me once in the past, and the issue was a bad RAM stick causing all sorts of random disconnects and aborts. I’m not saying that’s your culprit, just reminding you that the cause may be something unusual.


(Rubén) #3

Thanks for your time,

The log of / var / log / messages is free of errors, while in the log of / var / log / asterisk / full errors appear at the time of the crash:

[2020-05-12 09:57:20] VERBOSE[936] translate.c: Registered translator ‘opustolin’ from codec opus to slin, table cost, 900000, computational cost 999999

[2020-05-12 09:57:20] VERBOSE[936] loader.c: codec_opus.so => (OPUS Coder/Decoder)

[2020-05-12 09:57:20] VERBOSE[936] loader.c: Loading res_pjproject.so.

[2020-05-12 09:57:20] ERROR[936] res_sorcery_config.c: Unable to load config file ‘pjproject.conf’

[2020-05-12 09:57:20] VERBOSE[936] loader.c: res_pjproject.so => (PJPROJECT Log and Utility Support)

[2020-05-12 09:57:20] VERBOSE[936] loader.c: Loading res_pjsip.so.

[2020-05-12 09:57:20] VERBOSE[936] res_pjsip.c: Local IPv4 address determined to be: 192.168.0.253

[2020-05-12 09:57:52] VERBOSE[936] res_pjsip.c: Local IPv6 address determined to be: fe80::d250:99ff:fe05:8368

[2020-05-12 09:57:52] VERBOSE[936] manager.c: Manager registered action PJSIPShowEndpoints

[2020-05-12 09:57:52] VERBOSE[936] manager.c: Manager registered action PJSIPShowEndpoint

[2020-05-12 09:57:52] ERROR[936] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’

[2020-05-12 09:57:52] ERROR[936] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’

[2020-05-12 09:57:52] WARNING[936] res_pjsip/config_transport.c: TOS and COS values ignored for websocket transport

[2020-05-12 09:57:52] WARNING[936] res_pjsip/config_transport.c: TOS and COS values ignored for websocket transport

[2020-05-12 09:57:52] ERROR[936] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’

[2020-05-12 09:57:52] VERBOSE[936] manager.c: Manager registered action PJSIPQualify

[2020-05-12 09:57:52] VERBOSE[936] loader.c: res_pjsip.so => (Basic SIP resource)

[2020-05-12 09:57:52] VERBOSE[936] loader.c: Loading res_smdi.so.

[2020-05-12 09:57:52] NOTICE[936] res_smdi.c: Unable to load config smdi.conf: SMDI disabled

[2020-05-12 09:57:52] NOTICE[936] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.

[2020-05-12 09:57:20] VERBOSE[936] manager.c: Manager registered action SorceryMemoryCacheExpire

[2020-05-12 09:57:20] VERBOSE[936] manager.c: Manager registered action SorceryMemoryCacheStaleObject

[2020-05-12 09:57:20] VERBOSE[936] manager.c: Manager registered action SorceryMemoryCacheStale

[2020-05-12 09:57:20] VERBOSE[936] manager.c: Manager registered action SorceryMemoryCachePopulate

[2020-05-12 09:57:20] VERBOSE[936] loader.c: res_sorcery_memory_cache.so => (Sorcery Memory Cache Object Wizard)

[2020-05-12 09:57:20] VERBOSE[936] loader.c: Loading res_sorcery_realtime.so.

[2020-05-12 09:57:20] VERBOSE[936] sorcery.c: Sorcery registered wizard ‘realtime’

[2020-05-12 09:57:20] VERBOSE[936] loader.c: res_sorcery_realtime.so => (Sorcery Realtime Object Wizard)

[2020-05-12 09:57:20] VERBOSE[936] loader.c: Loading codec_opus.so.

[2020-05-12 09:57:20] VERBOSE[936] format_cache.c: Updated cached format with name ‘opus’

[2020-05-12 09:57:20] ERROR[936] res_sorcery_config.c: Unable to load config file ‘codecs.conf’

[2020-05-12 09:57:20] VERBOSE[936] translate.c: Registered translator ‘lintoopus’ from codec slin to opus, table cost, 600000, computational cost 999999

[2020-05-12 09:57:20] VERBOSE[936] translate.c: Registered translator ‘opustolin’ from codec opus to slin, table cost, 900000, computational cost 999999

[2020-05-12 09:57:20] VERBOSE[936] loader.c: codec_opus.so => (OPUS Coder/Decoder)

[2020-05-12 09:57:20] VERBOSE[936] loader.c: Loading res_pjproject.so.

[2020-05-12 09:57:20] ERROR[936] res_sorcery_config.c: Unable to load config file ‘pjproject.conf’

[2020-05-12 09:57:20] VERBOSE[936] loader.c: res_pjproject.so => (PJPROJECT Log and Utility Support)

[2020-05-12 09:57:20] VERBOSE[936] loader.c: Loading res_pjsip.so.

[2020-05-12 09:57:20] VERBOSE[936] res_pjsip.c: Local IPv4 address determined to be: 192.168.0.253

[2020-05-12 09:57:52] VERBOSE[936] res_pjsip.c: Local IPv6 address determined to be: fe80::d250:99ff:fe05:8368

[2020-05-12 09:57:52] VERBOSE[936] manager.c: Manager registered action PJSIPShowEndpoints

[2020-05-12 09:57:52] VERBOSE[936] manager.c: Manager registered action PJSIPShowEndpoint

[2020-05-12 09:57:52] ERROR[936] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’

[2020-05-12 09:57:52] ERROR[936] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’

[2020-05-12 09:57:52] WARNING[936] res_pjsip/config_transport.c: TOS and COS values ignored for websocket transport

[2020-05-12 09:57:52] WARNING[936] res_pjsip/config_transport.c: TOS and COS values ignored for websocket transport

[2020-05-12 09:57:52] ERROR[936] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’

[2020-05-12 09:57:52] VERBOSE[936] manager.c: Manager registered action PJSIPQualify

[2020-05-12 09:57:52] VERBOSE[936] loader.c: res_pjsip.so => (Basic SIP resource)

[2020-05-12 09:57:52] VERBOSE[936] loader.c: Loading res_smdi.so.

[2020-05-12 09:57:52] NOTICE[936] res_smdi.c: Unable to load config smdi.conf: SMDI disabled

[2020-05-12 09:57:52] NOTICE[936] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.

on the other hand I’m going to check the RAM.

Thank you very much for the information


(Dave Burgess) #4

Those are the ‘reboot’ warnings when the system is coming up. You’re too far ahead - the problem (if it’s in this log) is older than that.


(Rubén) #5

I found these others, but they happened 20 minutes before the crash.

[2020-05-12 09:27:38] VERBOSE[30782][C-00000003] pbx.c: Executing [s@macro-exten-vm:10] ExecIf(“SIP/104-00000006”, “0?ChanSpy(SIP/101,q)”) in new stack
[2020-05-12 09:27:38] VERBOSE[30782][C-00000003] pbx.c: Executing [s@macro-exten-vm:11] ExecIf(“SIP/104-00000006”, “0?MacroExit()”) in new stack
[2020-05-12 09:27:38] ERROR[30782][C-00000003] res_pjsip_header_funcs.c: This function requires a PJSIP channel.
[2020-05-12 09:27:38] VERBOSE[30782][C-00000003] pbx.c: Executing [s@macro-exten-vm:12] ExecIf(“SIP/104-00000006”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack
[2020-05-12 09:27:38] ERROR[30782][C-00000003] res_pjsip_header_funcs.c: This function requires a PJSIP channel.
[2020-05-12 09:27:38] ERROR[30782][C-00000003] res_pjsip_header_funcs.c: This function requires a PJSIP channel.
[2020-05-12 09:27:38] VERBOSE[30782][C-00000003] pbx.c: Executing [s@macro-exten-vm:13] ExecIf(“SIP/104-00000006”, “0?MacroExit()”) in new stack
[2020-05-12 09:27:38] ERROR[30782][C-00000003] res_pjsip_header_funcs.c: This function requires a PJSIP channel.
[2020-05-12 09:27:38] ERROR[30782][C-00000003] res_pjsip_header_funcs.c: This function requires a PJSIP channel.
[2020-05-12 09:27:38] VERBOSE[30782][C-00000003] pbx.c: Executing [s@macro-exten-vm:14] ExecIf(“SIP/104-00000006”, “0?Gosub(ext-intercom,*80101,1())”) in new stack
[2020-05-12 09:27:38] ERROR[30782][C-00000003] res_pjsip_header_funcs.c: This function requires a PJSIP channel.
[2020-05-12 09:27:38] ERROR[30782][C-00000003] res_pjsip_header_funcs.c: This function requires a PJSIP channel.
[2020-05-12 09:27:38] VERBOSE[30782][C-00000003] pbx.c: Executing [s@macro-exten-vm:15] ExecIf(“SIP/104-00000006”, “0?MacroExit()”) in new stack
[2020-05-12 09:27:38] ERROR[30782][C-00000003] res_pjsip_header_funcs.c: This function requires a PJSIP channel.
[2020-05-12 09:27:38] ERROR[30782][C-00000003] res_pjsip_header_funcs.c: This function requires a PJSIP channel.
[2020-05-12 09:27:38] VERBOSE[30782][C-00000003] pbx.c: Executing [s@macro-exten-vm:16] ExecIf(“SIP/104-00000006”, “0?ChanSpy(SIP/101,q)”) in new stack
[2020-05-12 09:27:38] ERROR[30782][C-00000003] res_pjsip_header_funcs.c: This function requires a PJSIP channel.
[2020-05-12 09:27:38] ERROR[30782][C-00000003] res_pjsip_header_funcs.c: This function requires a PJSIP channel.
[2020-05-12 09:27:38] VERBOSE[30782][C-00000003] pbx.c: Executing [s@macro-exten-vm:17] ExecIf(“SIP/104-00000006”, “0?MacroExit()”) in new stack
[2020-05-12 09:27:38] ERROR[30782][C-00000003] res_pjsip_header_funcs.c: This function requires a PJSIP channel.
[2020-05-12 09:27:38] VERBOSE[30782][C-00000003] pbx.c: Executing [s@macro-exten-vm:18] Gosub(“SIP/104-00000006”, “sub-record-check,s,1(exten,101,dontcare)”) in new stack
[2020-05-12 09:27:38] VERBOSE[30782][C-00000003] pbx.c: Executing [s@sub-record-check:1] GotoIf(“SIP/104-00000006”, “0?initialized”) in new stack


(Dave Burgess) #6

Look for when this “jumps”. That’s your indication that asterisk is rebooting. What happens right before the time jump.

These are normal.