AMD help please?

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

AMD help please?

Postby Nortelguy » Sat Oct 11, 2008 10:35 am

I have the following lines for AMD in my Survey style campaign

; VICIDIAL SURVEY transfer script AMD with Load Balanced:
exten => 8373,1,Playback(sip-silence)
exten => 8373,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8373,3,AMD(2500|1500|300|4000|120|50|5|256)
exten => 8373,4,AGI(VD_amd.agi,${EXTEN})
exten => 8373,5,AGI(agi-VDAD_ALL_outbound.agi,SURVEYCAMP-----LB)
exten => 8373,6,AGI(agi-VDAD_ALL_outbound.agi,SURVEYCAMP-----LB)
exten => 8373,7,Hangup

Answering machines still seem to be slipping by here and there. I am on a PRI, anyway I can make it detect better ?
Nortelguy
 
Posts: 120
Joined: Wed Sep 24, 2008 9:06 pm

Re: AMD help please?

Postby Nortelguy » Sat Oct 11, 2008 12:44 pm

Nortelguy wrote:I have the following lines for AMD in my Survey style campaign

; VICIDIAL SURVEY transfer script AMD with Load Balanced:
exten => 8373,1,Playback(sip-silence)
exten => 8373,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8373,3,AMD(2500|1500|300|4000|120|50|5|256)
exten => 8373,4,AGI(VD_amd.agi,${EXTEN})
exten => 8373,5,AGI(agi-VDAD_ALL_outbound.agi,SURVEYCAMP-----LB)
exten => 8373,6,AGI(agi-VDAD_ALL_outbound.agi,SURVEYCAMP-----LB)
exten => 8373,7,Hangup

Answering machines still seem to be slipping by here and there. I am on a PRI, anyway I can make it detect better ?


Ok reduced the amt of words from 5 to 3 .. Lets see what happens now.
Nortelguy
 
Posts: 120
Joined: Wed Sep 24, 2008 9:06 pm

Postby Nortelguy » Sat Oct 11, 2008 5:12 pm

***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 ?
Nortelguy
 
Posts: 120
Joined: Wed Sep 24, 2008 9:06 pm

Postby Nortelguy » Sat Oct 11, 2008 9:44 pm

my god .. i figured it out .. hahah you gotta be kidding . ok read this the verbage is funny and that is why I messed the option up.

Survey No-Response Action - This is where you define what will happen if there is no response to the survey question. OPTIN will only send the call on to the Survey Method if the customer presses a dtmf digit. OPTOUT will send the customer on to the Survey Method even if they do not press a dtmf digit.


OPTIN Will ONLY send the person presses a button ... OPTOUT will send it if you didn't press any buttons. I read it to fast figuring OPTOUT means "HANGUP" .. UGH! Oh well its fixed now :D :roll: I guess they should bold or stress the ONLY part in OPTIN :wink:
Nortelguy
 
Posts: 120
Joined: Wed Sep 24, 2008 9:06 pm

Postby mflorell » Sun Oct 12, 2008 2:14 pm

It was confusing when I was writing it as well :)
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 431 guests