Recording Lenny

Status
Not open for further replies.

ChrisLab

Member
Aug 9, 2023
32
2
8
38
Hi All.

I followed Adrian's instructions here to get Lenny up and running, and it works like a charm.
My question is, how would one record the incoming call when the call hits Lenny?

My inbound rule looks like this:
condition > destination_number > ^(myDIDnumber)$
action > set > effective_caller_id_number=incoming_caller_id_number${caller_id_number}
action > lua > /etc/freeswitch/scripts/lenny.lua

I tried putting a action > record in there, but I'm obviously missing something somewhere.

Thanks!
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,505
420
83
You can use any of the following depending on your requirements:
mod_dptools record https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Modules/mod-dptools/6587041
mod_dptools record_session https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Modules/mod-dptools/6587110/
mod_commands uuid_record https://developer.signalwire.com/fr...ined/Modules/mod_commands_1966741#uuid_record

Whatever method you choose, pay attention to the various associated channel variables, that help you to configure the recording.
 

ChrisLab

Member
Aug 9, 2023
32
2
8
38
Hi all,

I got it to work with mod_dptools record_session.
It unfortunately doesn't show up under call detail records, or call recordings, but the .wav file is there.

Thanks for the help!
 

whut

Active Member
Dec 23, 2022
246
27
28
What are your plans for identifying inbound calls to be sent to Lenny? Do you have any spam score data?

Are you planning on turning Lenny into a destination so you can push calls to it as part of the call block treatment?
 

ChrisLab

Member
Aug 9, 2023
32
2
8
38
What are your plans for identifying inbound calls to be sent to Lenny? Do you have any spam score data?

Are you planning on turning Lenny into a destination so you can push calls to it as part of the call block treatment?
Hi. I currently don't have any advanced plans for identifying spam. At the moment I have a couple of DID's thats setup manually to go to the lenny script.
 
Status
Not open for further replies.