here is the code produced by cm_dnc.agi
[Jun 28 20:16:37] -- Executing [7026371447@trunkinbound:1] AGI("SIP/Vitelity-000049e3", "agi-DID_route.agi") in new stack
[Jun 28 20:16:37] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
[Jun 28 20:16:37] -- AGI Script agi-DID_route.agi completed, returning 0
[Jun 28 20:16:37] -- Executing [s@FTC_Abandon:1] Answer("SIP/Vitelity-000049e3", "") in new stack
[Jun 28 20:16:37] -- Executing [s@FTC_Abandon:2] AGI("SIP/Vitelity-000049e3", "agi-VDAD_inbound_calltime_check.agi|SALESLINE-----YES-----FTC_Abandon-------------------------NO") in new stack
[Jun 28 20:16:37] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_inbound_calltime_check.agi
[Jun 28 20:16:37] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Jun 28 20:16:37] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Jun 28 20:16:37] -- AGI Script agi-VDAD_inbound_calltime_check.agi completed, returning 0
[Jun 28 20:16:37] -- Executing [s@FTC_Abandon:3] Set("SIP/Vitelity-000049e3", "INVCOUNT=0") in new stack
[Jun 28 20:16:37] -- Executing [s@FTC_Abandon:4] BackGround("SIP/Vitelity-000049e3", "ViciTEST3") in new stack
[Jun 28 20:16:37] -- <SIP/Vitelity-000049e3> Playing 'ViciTEST3' (language 'en')
[Jun 28 20:16:44] -- Executing [s@FTC_Abandon:5] WaitExten("SIP/Vitelity-000049e3", "10") in new stack
[Jun 28 20:16:44] DTMF[19112]: channel.c:2536 __ast_read: DTMF begin '2' received on SIP/Vitelity-000049e3
[Jun 28 20:16:44] DTMF[19112]: channel.c:2540 __ast_read: DTMF begin ignored '2' on SIP/Vitelity-000049e3
[Jun 28 20:16:44] DTMF[19112]: channel.c:2455 __ast_read: DTMF end '2' received on SIP/Vitelity-000049e3, duration 180 ms
[Jun 28 20:16:44] DTMF[19112]: channel.c:2521 __ast_read: DTMF end passthrough '2' on SIP/Vitelity-000049e3
[Jun 28 20:16:44] == CDR updated on SIP/Vitelity-000049e3
[Jun 28 20:16:44] -- Executing [2@FTC_Abandon:1] AGI("SIP/Vitelity-000049e3", "cm.agi|SALESLINE-----2-----NONE") in new stack
[Jun 28 20:16:44] -- Launched AGI Script /var/lib/asterisk/agi-bin/cm.agi
[Jun 28 20:16:44] -- AGI Script cm.agi completed, returning 0
[Jun 28 20:16:44] -- Executing [2@FTC_Abandon:2] AGI("SIP/Vitelity-000049e3", "cm_dnc.agi|DNC---YES---FinalX---B---SYS") in new stack
[Jun 28 20:16:44] -- Launched AGI Script /var/lib/asterisk/agi-bin/cm_dnc.agi
[Jun 28 20:16:44] -- AGI Script cm_dnc.agi completed, returning 0
[Jun 28 20:16:44] -- Sent into invalid extension 'B' in context 'FTC_Abandon' on SIP/Vitelity-000049e3
[Jun 28 20:16:44] -- Executing [i@FTC_Abandon:1] Playback("SIP/Vitelity-000049e3", "NotValidOpt") in new stack
[Jun 28 20:16:44] -- <SIP/Vitelity-000049e3> Playing 'NotValidOpt' (language 'en')
[Jun 28 20:16:48] -- Executing [i@FTC_Abandon:2] Goto("SIP/Vitelity-000049e3", "s|4") in new stack
[Jun 28 20:16:48] -- Goto (FTC_Abandon,s,4)
[Jun 28 20:16:48] -- Executing [s@FTC_Abandon:4] BackGround("SIP/Vitelity-000049e3", "ViciTEST3") in new stack
[Jun 28 20:16:48] -- <SIP/Vitelity-000049e3> Playing 'ViciTEST3' (language 'en')
[Jun 28 20:16:49] == Spawn extension (FTC_Abandon, s, 4) exited non-zero on 'SIP/Vitelity-000049e3'
[Jun 28 20:16:49] -- Executing [h@FTC_Abandon:1] DeadAGI("SIP/Vitelity-000049e3", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Jun 28 20:16:49] -- AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
vicibox1*CLI>