Displaying 1 result from an estimated 1 matches for "salesqueue_entered".
2012 Dec 21
0
CDR written before hangup extension
...ptive_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 the survey if we were connected to a call
same =>n,Playback(custom/queue-sales-no-operators)
same =>n,Hangup()
same =>n(...