Making Changes to Lenny

Hello,

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:

[Lenny]
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

http://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/AdditionalConfig_id256654.html

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.