<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">Hi All,<br><br><br><br>I have been searching the wiki for a good way to insert a beep every 10 seconds into a call that is being recorded (I plan on recording all calls to Comcast from here on out). This is my dialplan:<br><br><extension name="CallCentric.18002662278" ><br> <condition field="destination_number" expression="<a href="tel:18002662278" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="0">18002662278</a>" ><br> <action application="set" data="sip_h_X-accountcode=${accountcode}" /><br> <action application="set" data="sip_h_X-Tag=" /><br> <action application="set" data="call_direction=outbound" /><br> <action application="set" data="hangup_after_bridge=true" /><br> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}" /><br> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}" /><br> <action application="set" data="inherit_codec=true" /><br> <action application="set" data="RECORD_TITLE=Recording ${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d %H:%M)}" /><br> <action application="set" data="RECORD_COPYRIGHT=(c) 2012" /><br> <action application="set" data="RECORD_ARTIST=FreeSwitch" /><br> <action application="set" data="RECORD_COMMENT=FreeSwitch" /><br> <action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d %H:%M)}" /><br> <action application="set" data="RECORD_STEREO=true" /><br> <action application="displace_session" data="tone_stream://%(100,15000,800);loops=-1" /><br> <action application="record_session" data="$${base_dir}/recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav" /><br> <action application="bridge" data="sofia/gateway/CallCentric/18002662278" /><br><br> </condition><br></extension><br><br>I would also like to playback a tone so they know I'm recording them (for legal reasons). Per the wiki, the displace_session does indeed play back a tone every 15 seconds. But I'm afraid it never bridges the call.. It's probably something stupid, but what am I doing wrong here? I hear the intial beep after dialing the number but no early media with dead air on the line. What is the best way to insert a tone every x seconds while both legs of the call are in progress and so that each party hears the tone?<br><br><br>Also, when testing this without tone_stream, the recording works (horaah) but the recording itself is really ssssssssllllooowwwwww. I am still working on that one, its probably in the wiki, i'm looking now, but if anyone has a suggestion let me know.<br><br><br></span><br><span style="-webkit-text-size-adjust: auto;">Best regards,</span><div style="-webkit-text-size-adjust: auto; "><br></div><div style="-webkit-text-size-adjust: auto; ">Robert Stevens</div></div></body></html>