This is what the log shows around the disconnect
[Sep 20 09:49:36] VERBOSE[19480] logger.c: == Manager 'admin' logged on from 127.0.0.1
[Sep 20 09:49:36] VERBOSE[19476] logger.c: dialparties.agi: Caller ID name is 'unknown' number is 'unknown'
[Sep 20 09:49:36] VERBOSE[19476] logger.c: dialparties.agi: Methodology of ring is 'none'
[Sep 20 09:49:36] VERBOSE[19476] logger.c: -- dialparties.agi: Added extension 1004 to extension map
[Sep 20 09:49:36] VERBOSE[19476] logger.c: -- dialparties.agi: Extension 1004 cf is disabled
[Sep 20 09:49:36] VERBOSE[19476] logger.c: -- dialparties.agi: Extension 1004 do not disturb is disabled
[Sep 20 09:49:36] VERBOSE[19476] logger.c: -- dialparties.agi: DbDel CALLTRACE/1004 - Caller ID is not defined
[Sep 20 09:49:36] VERBOSE[19476] logger.c: -- dialparties.agi: Filtered ARG3: 1004
[Sep 20 09:49:36] VERBOSE[19476] logger.c: -- AGI Script dialparties.agi completed, returning 0
[Sep 20 09:49:36] DEBUG[19476] app_macro.c: Executed application: AGI
[Sep 20 09:49:36] VERBOSE[19476] logger.c: -- Executing [s@macro-dial:7] Dial("Zap/1-1", "ZAP/2|20|tr") in new stack
[Sep 20 09:49:36] VERBOSE[19476] logger.c: -- Called 2
[Sep 20 09:49:36] VERBOSE[19480] logger.c: == Manager 'admin' logged off from 127.0.0.1
[Sep 20 09:49:36] VERBOSE[19476] logger.c: -- Zap/2-1 is ringing
[Sep 20 09:49:38] VERBOSE[19476] logger.c: -- Zap/2-1 is ringing
[Sep 20 09:49:44] VERBOSE[19476] logger.c: -- Zap/2-1 is ringing
[Sep 20 09:49:50] VERBOSE[19476] logger.c: -- Zap/2-1 is ringing
[Sep 20 09:49:56] VERBOSE[19476] logger.c: -- Zap/2-1 is ringing
[Sep 20 09:49:57] DEBUG[19476] chan_zap.c: Engaged echo training on channel 2
[Sep 20 09:49:57] DEBUG[19476] chan_zap.c: channel 2 answered
[Sep 20 09:49:57] VERBOSE[19476] logger.c: -- Zap/2-1 answered Zap/1-1
[Sep 20 09:51:22] DEBUG[19476] chan_zap.c: Started VLDTMF digit 'A'
[Sep 20 09:51:22] DEBUG[19476] chan_zap.c: Ending VLDTMF digit 'A'
[Sep 20 09:55:01] DEBUG[19476] chan_zap.c: Started VLDTMF digit '1'
[Sep 20 09:55:01] DEBUG[19476] chan_zap.c: Ending VLDTMF digit '1'
[Sep 20 09:55:42] VERBOSE[19476] logger.c: -- Hungup 'Zap/2-1'
[Sep 20 09:55:42] VERBOSE[19476] logger.c: == Spawn extension (macro-dial, s, 7) exited non-zero on 'Zap/1-1' in macro 'dial'
[Sep 20 09:55:42] VERBOSE[19476] logger.c: == Spawn extension (macro-dial, s, 7) exited non-zero on 'Zap/1-1' in macro 'exten-vm'
[Sep 20 09:55:42] VERBOSE[19476] logger.c: == Spawn extension (macro-dial, s, 7) exited non-zero on 'Zap/1-1'
[Sep 20 09:55:42] VERBOSE[19476] logger.c: -- Executing [h@macro-dial:1] Macro("Zap/1-1", "hangupcall") in new stack
[Sep 20 09:55:42] VERBOSE[19476] logger.c: -- Executing [s@macro-hangupcall:1] ResetCDR("Zap/1-1", "w") in new stack
[Sep 20 09:55:42] DEBUG[19476] app_macro.c: Executed application: ResetCDR
[Sep 20 09:55:42] VERBOSE[19476] logger.c: -- Executing [s@macro-hangupcall:2] NoCDR("Zap/1-1", "") in new stack
[Sep 20 09:55:42] DEBUG[19476] app_macro.c: Executed application: NoCDR
[Sep 20 09:55:42] VERBOSE[19476] logger.c: -- Executing [s@macro-hangupcall:3] GotoIf("Zap/1-1", "1?skiprg") in new stack
[Sep 20 09:55:42] VERBOSE[19476] logger.c: -- Goto (macro-hangupcall,s,6)
[Sep 20 09:55:42] DEBUG[19476] app_macro.c: Executed application: GotoIf
[Sep 20 09:55:42] VERBOSE[19476] logger.c: -- Executing [s@macro-hangupcall:6] GotoIf("Zap/1-1", "1?skipblkvm") in new stack
[Sep 20 09:55:42] VERBOSE[19476] logger.c: -- Goto (macro-hangupcall,s,9)
[Sep 20 09:55:42] DEBUG[19476] app_macro.c: Executed application: GotoIf
[Sep 20 09:55:42] VERBOSE[19476] logger.c: -- Executing [s@macro-hangupcall:9] GotoIf("Zap/1-1", "1?theend") in new stack
[Sep 20 09:55:42] VERBOSE[19476] logger.c: -- Goto (macro-hangupcall,s,11)
[Sep 20 09:55:42] DEBUG[19476] app_macro.c: Executed application: GotoIf
[Sep 20 09:55:42] VERBOSE[19476] logger.c: -- Executing [s@macro-hangupcall:11] Hangup("Zap/1-1", "") in new stack
[Sep 20 09:55:42] VERBOSE[19476] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Zap/1-1' in macro 'hangupcall'
[Sep 20 09:55:42] VERBOSE[19476] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Zap/1-1'
[Sep 20 09:55:42] VERBOSE[19476] logger.c: -- Hungup 'Zap/1-1'
[Sep 20 09:55:54] VERBOSE[19491] logger.c: -- Starting simple switch on 'Zap/2-1'
[Sep 20 09:56:05] VERBOSE[19491] logger.c: -- Executing [18313323239@from-internal:1] Macro("Zap/2-1", "user-callerid|SKIPTTL|") in new stack
[Sep 20 09:56:05] VERBOSE[19491] logger.c: -- Executing [s@macro-user-callerid:1] NoOp("Zap/2-1", "user-callerid: device 1004") in new stack
[Sep 20 09:56:05] DEBUG[19491] app_macro.c: Executed application: Noop
[Sep 20 09:56:05] VERBOSE[19491] logger.c: -- Executing [s@macro-user-callerid:2] Set("Zap/2-1", "AMPUSER=1004") in new stack
[Sep 20 09:56:05] DEBUG[19491] app_macro.c: Executed application: Set
[Sep 20 09:56:05] VERBOSE[19491] logger.c: -- Executing [s@macro-user-callerid:3] GotoIf("Zap/2-1", "0?report") in new stack
[Sep 20 09:56:05] DEBUG[19491] app_macro.c: Executed application: GotoIf