IVR is setup at the moment to go to 2 voicemails, normal telephone calls work fine and the hangup detection seams to be working.
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:1] NoCDR(“Local/[email protected];2”, “”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:2] Set(“Local/[email protected];2”, “TCMAINT=RETURN”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:3] Gosub(“Local/[email protected];2”, “timeconditions,1,1()”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:1] Set(“Local/[email protected];2”, “DB(TC/1/INUSESTATE)=INUSE”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:2] Set(“Local/[email protected];2”, “DB(TC/1/NOT_INUSESTATE)=NOT_INUSE”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:3] GotoIfTime(“Local/[email protected];2”, “09:00-16:30,mon-fri,,?truestate”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:4] GotoIf(“Local/[email protected];2”, “0?truegoto”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:5] ExecIf(“Local/[email protected];2”, “0?Set(DB(TC/1)=)”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:6] Set(“Local/[email protected];2”, “DEVICE_STATE(Custom:TC1)=INUSE”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:7] ExecIf(“Local/[email protected];2”, “0?Set(NOT_INUSE)”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:8] GotoIf(“Local/[email protected];2”, “0?app-blackhole,hangup,1”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:9] Set(“Local/[email protected];2”, “TCSTATE=false”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:10] Return(“Local/[email protected];2”, “”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:4] Gosub(“Local/[email protected];2”, “timeconditions,2,1()”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:1] Set(“Local/[email protected];2”, “DB(TC/2/INUSESTATE)=INUSE”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:2] Set(“Local/[email protected];2”, “DB(TC/2/NOT_INUSESTATE)=NOT_INUSE”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:3] GotoIfTime(“Local/[email protected];2”, “08:30-17:30,mon-fri,,?truestate”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:4] GotoIf(“Local/[email protected];2”, “0?truegoto”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:5] ExecIf(“Local/[email protected];2”, “0?Set(DB(TC/2)=)”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:6] Set(“Local/[email protected];2”, “DEVICE_STATE(Custom:TC2)=INUSE”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:7] ExecIf(“Local/[email protected];2”, “0?Set(NOT_INUSE)”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:8] GotoIf(“Local/[email protected];2”, “0?timeconditions,3,1”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:9] Set(“Local/[email protected];2”, “TCSTATE=false”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:10] Return(“Local/[email protected];2”, “”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:5] Gosub(“Local/[email protected];2”, “timeconditions,3,1()”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:1] Set(“Local/[email protected];2”, “DB(TC/3/INUSESTATE)=INUSE”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:2] Set(“Local/[email protected];2”, “DB(TC/3/NOT_INUSESTATE)=NOT_INUSE”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:3] GotoIfTime(“Local/[email protected];2”, “08:30-12:00,sat,,?truestate”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:4] GotoIf(“Local/[email protected];2”, “0?truegoto”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:5] ExecIf(“Local/[email protected];2”, “0?Set(DB(TC/3)=)”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:6] Set(“Local/[email protected];2”, “DEVICE_STATE(Custom:TC3)=INUSE”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:7] ExecIf(“Local/[email protected];2”, “0?Set(NOT_INUSE)”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:8] GotoIf(“Local/[email protected];2”, “0?ivr-1,s,1”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:9] Set(“Local/[email protected];2”, “TCSTATE=false”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:10] Return(“Local/[email protected];2”, “”) in new stack
[2015-01-24 17:53:00] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:6] System(“Local/[email protected];2”, “/var/lib/asterisk/bin/schedtc.php 60 /var/spool/asterisk/outgoing 0”) in new stack
[2015-01-24 17:53:01] VERBOSE[31855][C-000019de] pbx.c: – Executing [[email protected]:7] Answer(“Local/[email protected];2”, “”) in new stack
[2015-01-24 17:53:01] VERBOSE[31855][C-000019de] pbx.c: == Spawn extension (tc-maint, s, 7) exited non-zero on ‘Local/[email protected];2’
[2015-01-24 17:53:01] NOTICE[31854] pbx_spool.c: Call completed to Local/[email protected]
[2015-01-24 17:53:05] VERBOSE[31649][C-000019d7] app.c: – User hung up
[2015-01-24 17:53:05] VERBOSE[31649][C-000019d7] config.c: == Parsing ‘/var/spool/asterisk/voicemail/default/204/INBOX/msg0000.txt’: Found
[2015-01-24 17:53:06] VERBOSE[31649][C-000019d7] app_macro.c: == Spawn extension (macro-vm, s-BUSY, 3) exited non-zero on ‘DAHDI/1-1’ in macro ‘vm’
[2015-01-24 17:53:06] VERBOSE[31649][C-000019d7] pbx.c: == Spawn extension (ext-local, vmb204, 1) exited non-zero on ‘DAHDI/1-1’
[2015-01-24 17:53:06] VERBOSE[31649][C-000019d7] pbx.c: – Executing [[email protected]:1] Macro(“DAHDI/1-1”, “hangupcall,”) in new stack
[2015-01-24 17:53:06] VERBOSE[31649][C-000019d7] pbx.c: – Executing [[email protected]:1] GotoIf(“DAHDI/1-1”, “1?theend”) in new stack
[2015-01-24 17:53:06] VERBOSE[31649][C-000019d7] pbx.c: – Goto (macro-hangupcall,s,3)
[2015-01-24 17:53:06] VERBOSE[31649][C-000019d7] pbx.c: – Executing [[email protected]:3] ExecIf(“DAHDI/1-1”, “0?Set(CDR(recordingfile)=)”) in new stack
[2015-01-24 17:53:06] VERBOSE[31649][C-000019d7] pbx.c: – Executing [[email protected]:4] Hangup(“DAHDI/1-1”, “”) in new stack
[2015-01-24 17:53:06] VERBOSE[31649][C-000019d7] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘DAHDI/1-1’ in macro ‘hangupcall’
[2015-01-24 17:53:06] VERBOSE[31649][C-000019d7] pbx.c: == Spawn extension (ext-local, h, 1) exited non-zero on ‘DAHDI/1-1’
[2015-01-24 17:53:06] VERBOSE[31649][C-000019d7] sig_analog.c: – Hanging up on ‘DAHDI/1-1’
[2015-01-24 17:53:06] VERBOSE[31649][C-000019d7] chan_dahdi.c: – Hungup ‘DAHDI/1-1’
[2015-01-24 17:53:06] VERBOSE[31650][C-000019d7] app_mixmonitor.c: == MixMonitor close filestream (mixed)
[2015-01-24 17:53:06] VERBOSE[31650][C-000019d7] app_mixmonitor.c: == End MixMonitor Recording DAHDI/1-1