Displaying 1 result from an estimated 1 matches for "asksurvey".
2012 Dec 21
0
CDR written before hangup extension
...plan logic? In particular, I want to be
able to store the results of the post call survey in the CDR. I'm using
cdr_adaptive_odbc.
[queues]
; this runs on the caller's channel
exten =>sales,1,Verbose(2,${CALLERID(all)} entering the sales queue)
same =>n,Answer()
same =>n(asksurvey),Read(MMSURVEY,custom/survey-ask,1,,,5)
same =>n,MixMonitor(${CHANNEL(uniqueid)}.wav,b)
same =>n,Set(CDR(salesqueue_entered)=1)
same =>n,Queue(sales,tc,,,,,,sub-QueueConnected)
same =>n,GotoIf($["${QUEUESTATUS}" = "CONTINUE"]?checksurvey) ; only
go to th...