I am hoping an asterisk expert can help solve this problem.
I have a working freepbx/asterisk system. I need to be able to playback announcements to a caller and have the two way conversation recorded along with the announcements. It seems easy to record a conversation and easy to payback a wav file when a dtmf key combination is pressed (I worked out how to do this).. but is seem very tricky to do both. I have tried monitor and mix monitor. The problem is either the announcement will be silence in the recording or it will not play at all to either party once recording has been initiated first.
Here is the two parts of the macro I have so far
;record a call
exten => s,1,Set(CALLFILENAME=${ARG1}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)})
exten => s,n,MixMonitor(/var/spool/asterisk/monitor/Contract/${CALLFILENAME}.wav,W(3))
;play an announcement.
exten => s,1,Playback(custom/lc2)
I am hoping someone has done this before and can help me get through this problem.
If someone can suggest some solutions I can try them at my end.
I have developed many project using asterisk like ivrs, autodialer, recording/voicemail system, conference system and more.
Can we discuss on your project requirement? I does not get properly idea.
Announcement and Recording with DTMF keys with human (Human say HELLO) or machine (like any playback)?
Hello
I am an expert who has worked for Asterisk for 3 years on Linux servers!
I have already created several dial plans and I made several integrations of asterisk with other systems for big companies of my country!
I have the solution to your problem, since I have been through the same problem in the past during an installation of asterisk
I believe that I am the right person to help you!
Contact me to talk about your project details