I’m working on an app that calls people, plays a message (with questions) and records the users answers along with the questions in one sound file. Don’t worry - not a telemarketer, just a student working on a project. I’ve got asterisk calling out and playing the message, but it doesn’t seem to be recording.
interesting solution. I don’t have the answer of your question but I just wonder how do you make the configuration for this ?
I understand that you add the given lines to exten.conf but what aout starting the call ?
when ? on which condtion ?
I can get recording to occur on its own with the code below:
[quote=“meral82”]i am isuing in this way:
exten => 1,1 ,record(/tmp/test:wav)[/quote]
However, I’d like to record simultaneously with playback of a prerecorded message. I tried using Background() instead of Playback() but it didn’t work. It seems like i can’t have two applications, in this case Background()/Playback() and Record(), running at the same time. Does anyone have any ideas how i can achieve this?
I would think you’d need to give a break in the playback for the recoding to take place. split the questions into separate files, and playback(), record(),playback(), record() etc… ?