Hi,<br><br>Has anyone used media_bug_answer_req=true? Is there some trick to using it? My recordings are happening fine, except that the ringtone is included at the start.<br><br>This is the relevant parts of the dialplan - I've stripped out a bunch of other things, and just included the things that could be relevant.<br>
<br><action application="set" data="hangup_after_bridge=false"/><br><action application="set" data="continue_on_fail=true"/><br><action application="set" data="call_timeout=20"/><br>
<action application="set" data="storageName=${dialed_extension}_${strftime(%Y%m%d_%H%M)}"/><br><action application="set" data="storagePath=/opt/files/${strftime(%Y%m)}"/><br>
<action application="set" data="call_timeout=20"/><br><action application="export" data="nolocal:execute_on_answer=javascript BridgeConnected.js"/><br><action application="javascript" data="BridgeBefore.js"/><br>
<br>
<action application="set" data="<b>media_bug_answer_req</b>=true"/><br>
<action application="record_session"
data="${storagePath}/${storageName}.wav"/><br><action application="bridge" data="user/${dialed_extension}@${domain_name}"/><br><br><br>
I'm on v1.0.5 (rev16966) so I shouldn't be using the old variable
(RECORD_ANSWER_REQ )<br><br clear="all">Cheers,<br>Fraser<br><br><br>