Making Changes to Lenny

Tags: #<Tag:0x00007f7020f642c0>

(Lynx Geek Nyc) #1


Now sure if anyone heard of Lenny. The recording thingie that makes telemarketers think that they’re talking to a human but they’re not. In any case, I have this in the context:

exten => talk,1,Set(i=${IF($[“0${i}”=“016”]?7:$[0${i}+1])})
same => n,ExecIf($[${i}=1]?MixMonitor(LENNY-${CALLERID(number)}-${CALLERID(name)}.wav))
same => n,Playback(Lenny/Lenny${i})
same => n,BackgroundDetect(Lenny/backgroundnoise,1500)

I’ve tried every variation possible to get it to send DTMF 1 so it would press 1 when someone calls him. I need him to do that because a lot of times, I get Robo dialers with recordings that ask to press 1 if u wanna talk to an actual person so would be great if that would actually work…

I tried inserting SendDTMF(1) every way possible. Any advice to get to actually work? Thanks!


You could add an ‘incall’ featuremap to a application mad that would transfer the call to the Lenny context