***UPDATE UPDATE UPDATE***
oK actually it turns out that I had a few things wrong.
1st. The initial silence had to be set to 3000, I tested with 2500 with a call to my cell phone and it was to quick. Said I was an answering machine right when I answered. With it set to 3000 I can even pickup pause for a second and say hello and it works fine now. I tried saying hello many different ways and I was unable to fool it. I think I will try calling a land line tomorrow just to be sure its ok .. Anyways on to the good stuff
2nd problem is if something or someone on the line says hello or whatever and never presses a button for my Survey I have it set to automatically OPTOUT. For whatever reason its not disconnecting after not choosing anything on the menu "NO RESPONSE". Instead it transfers the call to a live agent... Argh. Here is the CLI output from that instance.
-- Executing AGI("Local/91**********@default-049c,2", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/91************@default-049c,2", "Zap/g1/*************||To") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/3057815757
-- Zap/1-1 is proceeding passing it to Local/***********@default-049c,2
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
-- Zap/1-1 is ringing
-- Zap/1-1 answered Local/************@default-049c,2
> Channel Local/913057815757@default-049c,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/************@default-049c,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
== Spawn extension (default, ************, 2) exited non-zero on 'Local/************@default-049c,2'
-- Executing DeadAGI("Local/************@default-049c,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----9-----0") in new stack
-- Executing AGI("Zap/1-1", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ---9-----0 completed, returning 0
-- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AMD("Zap/1-1", "2500|1500|300|4000|120|50|3|256") in new stack
-- AMD: Zap/1-1 ************ (null) (Fmt: 64)
-- AMD: initialSilence [2500] greeting [1500] afterGreetingSilence [300] totalAnalysisTime [4000] minimumWordLength [120] betweenWordsSilence [50] maximumNumberOfWords [3] silenceThreshold [256]
-- AMD: Word detected. iWordsCount:1
-- AMD: Changed state to STATE_IN_SILENCE
-- AMD: HUMAN: silenceDuration:300 afterGreetingSilence:300
-- Executing AGI("Zap/1-1", "VD_amd.agi|8373") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_amd.agi
-- AGI Script VD_amd.agi completed, returning 0
-- Executing AGI("Zap/1-1", "agi-VDAD_ALL_outbound.agi|SURVEYCAMP-----LB") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
== Manager 'sendcron' logged off from 127.0.0.1
-- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
-- Executing Goto("Zap/1-1", "default|2627|1") in new stack
-- Goto (default,2627,1)
-- Executing Dial("Zap/1-1", "SIP/nortel/2627||To") in new stack
-- Called nortel/2627
-- SIP/nortel-082a3d60 is ringing
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
-- Channel 0/1, span 1 got hangup request, cause 16
== Spawn extension (default, 2627, 1) exited non-zero on 'Zap/1-1'
-- Executing DeadAGI("Zap/1-1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----CANCEL----------") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
-- Hungup 'Zap/1-1'
Is the OPTOUT feature broken in the Survey ?