mobiusnz
New Member
- Joined
- May 30, 2013
- Messages
- 4
- Reaction score
- 0
We've got a phone system that occasionally seems to drop calls. When this happens, it turns out that asterisk has crashed.
Incoming calls in this system go into a queue, and it seems to crash occasionally when the call is picked up by a local extension.
I wasn't able to get much information from the core dump as it doesn't look like the debug packages were included in the install, but I see this:
There's nothing obvious in the logs, just a 4 second break until asterisk starts back up again. Here's the last 50 lines before such a crash:
What's the best way out of this? I'm thinking it's probably easiest to upgrade or downgrade Asterisk (currently 11.7.0) but I'm not sure what is the best "PIAF way".
Thanks, Al
Incoming calls in this system go into a queue, and it seems to crash occasionally when the call is picked up by a local extension.
I wasn't able to get much information from the core dump as it doesn't look like the debug packages were included in the install, but I see this:
Code:
Core was generated by `/usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c'.
Program terminated with signal 6, Aborted.
#0 0x0000003766a32625 in raise () from /lib64/libc.so.6
There's nothing obvious in the logs, just a 4 second break until asterisk starts back up again. Here's the last 50 lines before such a crash:
Code:
[2015-02-26 14:06:47] VERBOSE[17722][C-00000005] app_dial.c: -- SIP/101-0000000c answered Local/101@from-queue-00000000;2
[2015-02-26 14:06:47] VERBOSE[17722][C-00000005] pbx.c: -- Executing [s@macro-auto-blkvm:1] Set("SIP/101-0000000c", "__MACRO_RESULT=") in new stack
[2015-02-26 14:06:47] VERBOSE[17722][C-00000005] pbx.c: -- Executing [s@macro-auto-blkvm:2] Set("SIP/101-0000000c", "CFIGNORE=") in new stack
[2015-02-26 14:06:47] VERBOSE[17722][C-00000005] pbx.c: -- Executing [s@macro-auto-blkvm:3] Set("SIP/101-0000000c", "MASTER_CHANNEL(CFIGNORE)=") in new stack
[2015-02-26 14:06:47] VERBOSE[17722][C-00000005] pbx.c: -- Executing [s@macro-auto-blkvm:4] Set("SIP/101-0000000c", "FORWARD_CONTEXT=from-internal") in new stack
[2015-02-26 14:06:47] VERBOSE[17722][C-00000005] pbx.c: -- Executing [s@macro-auto-blkvm:5] Set("SIP/101-0000000c", "MASTER_CHANNEL(FORWARD_CONTEXT)=from-internal") in new stack
[2015-02-26 14:06:47] VERBOSE[17722][C-00000005] pbx.c: -- Executing [s@macro-auto-blkvm:6] Macro("SIP/101-0000000c", "blkvm-clr,") in new stack
[2015-02-26 14:06:47] VERBOSE[17722][C-00000005] pbx.c: -- Executing [s@macro-blkvm-clr:1] Set("SIP/101-0000000c", "SHARED(BLKVM,SIP/0800100771-0000000a)=") in new stack
[2015-02-26 14:06:47] VERBOSE[17722][C-00000005] pbx.c: -- Executing [s@macro-blkvm-clr:2] Set("SIP/101-0000000c", "GOSUB_RETVAL=") in new stack
[2015-02-26 14:06:47] VERBOSE[17722][C-00000005] pbx.c: -- Executing [s@macro-blkvm-clr:3] MacroExit("SIP/101-0000000c", "") in new stack
[2015-02-26 14:06:47] VERBOSE[17722][C-00000005] pbx.c: -- Executing [s@macro-auto-blkvm:7] ExecIf("SIP/101-0000000c", "0?Set(MASTER_CHANNEL(CONNECTEDLINE(num))=101)") in new stack
[2015-02-26 14:06:47] VERBOSE[17722][C-00000005] pbx.c: -- Executing [s@macro-auto-blkvm:8] ExecIf("SIP/101-0000000c", "0?Set(MASTER_CHANNEL(CONNECTEDLINE(name))=Kieran)") in new stack
[2015-02-26 14:06:47] VERBOSE[17721][C-00000005] app_queue.c: -- Local/101@from-queue-00000000;1 answered SIP/0800100771-0000000a
[2015-02-26 14:06:47] VERBOSE[17723][C-00000005] app_macro.c: == Spawn extension (macro-dial-one, s, 43) exited non-zero on 'Local/102@from-queue-00000001;2' in macro 'dial-one'
[2015-02-26 14:06:47] VERBOSE[17724][C-00000005] app_macro.c: == Spawn extension (macro-dial-one, s, 43) exited non-zero on 'Local/103@from-queue-00000002;2' in macro 'dial-one'
[2015-02-26 14:06:47] VERBOSE[17724][C-00000005] app_macro.c: == Spawn extension (macro-exten-vm, s, 16) exited non-zero on 'Local/103@from-queue-00000002;2' in macro 'exten-vm'
[2015-02-26 14:06:47] VERBOSE[17724][C-00000005] pbx.c: == Spawn extension (from-internal, 103, 2) exited non-zero on 'Local/103@from-queue-00000002;2'
[2015-02-26 14:06:47] VERBOSE[17724][C-00000005] pbx.c: -- Executing [h@from-internal:1] Hangup("Local/103@from-queue-00000002;2", "") in new stack
[2015-02-26 14:06:47] VERBOSE[17724][C-00000005] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'Local/103@from-queue-00000002;2'
[2015-02-26 14:06:47] VERBOSE[17723][C-00000005] app_macro.c: == Spawn extension (macro-exten-vm, s, 16) exited non-zero on 'Local/102@from-queue-00000001;2' in macro 'exten-vm'
[2015-02-26 14:06:47] VERBOSE[17723][C-00000005] pbx.c: == Spawn extension (from-internal, 102, 2) exited non-zero on 'Local/102@from-queue-00000001;2'
[2015-02-26 14:06:47] VERBOSE[17723][C-00000005] pbx.c: -- Executing [h@from-internal:1] Hangup("Local/102@from-queue-00000001;2", "") in new stack
[2015-02-26 14:06:47] VERBOSE[17723][C-00000005] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'Local/102@from-queue-00000001;2'
[2015-02-26 14:06:47] VERBOSE[17725][C-00000005] app_macro.c: == Spawn extension (macro-dial-one, s, 43) exited non-zero on 'Local/104@from-queue-00000003;2' in macro 'dial-one'
[2015-02-26 14:06:47] VERBOSE[17725][C-00000005] app_macro.c: == Spawn extension (macro-exten-vm, s, 16) exited non-zero on 'Local/104@from-queue-00000003;2' in macro 'exten-vm'
[2015-02-26 14:06:47] VERBOSE[17725][C-00000005] pbx.c: == Spawn extension (from-internal, 104, 2) exited non-zero on 'Local/104@from-queue-00000003;2'
[2015-02-26 14:06:47] VERBOSE[17725][C-00000005] pbx.c: -- Executing [h@from-internal:1] Hangup("Local/104@from-queue-00000003;2", "") in new stack
[2015-02-26 14:06:47] VERBOSE[17725][C-00000005] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'Local/104@from-queue-00000003;2'
[2015-02-26 14:06:47] VERBOSE[17721][C-00000005] res_musiconhold.c: -- Stopped music on hold on SIP/0800100771-0000000a
[2015-02-26 14:12:25] VERBOSE[17614] asterisk.c: -- Remote UNIX connection
[2015-02-26 14:12:25] VERBOSE[18055] asterisk.c: -- Remote UNIX connection disconnected
[2015-02-26 14:12:25] VERBOSE[17614] asterisk.c: -- Remote UNIX connection
[2015-02-26 14:12:25] VERBOSE[18058] asterisk.c: -- Remote UNIX connection disconnected
[2015-02-26 14:17:26] VERBOSE[17722][C-00000005] pbx.c: -- Executing [h@macro-dial-one:1] Macro("Local/101@from-queue-00000000;2", "hangupcall,") in new stack
[2015-02-26 14:17:26] VERBOSE[17722][C-00000005] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("Local/101@from-queue-00000000;2", "1?theend") in new stack
[2015-02-26 14:17:26] VERBOSE[17722][C-00000005] pbx.c: -- Goto (macro-hangupcall,s,3)
[2015-02-26 14:17:26] VERBOSE[17722][C-00000005] pbx.c: -- Executing [s@macro-hangupcall:3] ExecIf("Local/101@from-queue-00000000;2", "0?Set(CDR(recordingfile)=)") in new stack
[2015-02-26 14:17:26] VERBOSE[17722][C-00000005] pbx.c: -- Executing [s@macro-hangupcall:4] Hangup("Local/101@from-queue-00000000;2", "") in new stack
[2015-02-26 14:17:26] VERBOSE[17722][C-00000005] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Local/101@from-queue-00000000;2' in macro 'hangupcall'
[2015-02-26 14:17:26] VERBOSE[17722][C-00000005] pbx.c: == Spawn extension (macro-dial-one, h, 1) exited non-zero on 'Local/101@from-queue-00000000;2'
[2015-02-26 14:17:26] VERBOSE[17721][C-00000005] pbx.c: -- Executing [h@ext-queues:1] Macro("SIP/0800100771-0000000a", "hangupcall,") in new stack
[2015-02-26 14:17:26] VERBOSE[17721][C-00000005] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/0800100771-0000000a", "1?theend") in new stack
[2015-02-26 14:17:26] VERBOSE[17721][C-00000005] pbx.c: -- Goto (macro-hangupcall,s,3)
[2015-02-26 14:17:26] VERBOSE[17721][C-00000005] pbx.c: -- Executing [s@macro-hangupcall:3] ExecIf("SIP/0800100771-0000000a", "0?Set(CDR(recordingfile)=)") in new stack
[2015-02-26 14:17:26] VERBOSE[17721][C-00000005] pbx.c: -- Executing [s@macro-hangupcall:4] Hangup("SIP/0800100771-0000000a", "") in new stack
[2015-02-26 14:17:26] VERBOSE[17721][C-00000005] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/0800100771-0000000a' in macro 'hangupcall'
[2015-02-26 14:17:26] VERBOSE[17721][C-00000005] pbx.c: == Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/0800100771-0000000a'
[2015-02-26 14:17:26] VERBOSE[17722][C-00000005] app_macro.c: == Spawn extension (macro-dial-one, s, 43) exited non-zero on 'Local/101@from-queue-00000000;2' in macro 'dial-one'
[2015-02-26 14:17:26] VERBOSE[17722][C-00000005] app_macro.c: == Spawn extension (macro-exten-vm, s, 16) exited non-zero on 'Local/101@from-queue-00000000;2' in macro 'exten-vm'
[2015-02-26 14:17:26] VERBOSE[17722][C-00000005] pbx.c: == Spawn extension (from-internal, 101, 2) exited non-zero on 'Local/101@from-queue-00000000;2'
[2015-02-26 14:17:30] Asterisk 11.7.0 built by root @ pbx.local on a x86_64 running Linux on 2014-03-05 22:14:28 UTC
What's the best way out of this? I'm thinking it's probably easiest to upgrade or downgrade Asterisk (currently 11.7.0) but I'm not sure what is the best "PIAF way".
Thanks, Al