Hi,

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.

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.

<action application="set" data="hangup_after_bridge=false"/>
<action application="set" data="continue_on_fail=true"/>
<action application="set" data="call_timeout=20"/>
<action application="set" data="storageName=${dialed_extension}_${strftime(%Y%m%d_%H%M)}"/>
<action application="set" data="storagePath=/opt/files/${strftime(%Y%m)}"/>
<action application="set" data="call_timeout=20"/>
<action application="export" data="nolocal:execute_on_answer=javascript BridgeConnected.js"/>
<action application="javascript" data="BridgeBefore.js"/>

<action application="set" data="media_bug_answer_req=true"/>
<action application="record_session" data="${storagePath}/${storageName}.wav"/>
<action application="bridge" data="user/${dialed_extension}@${domain_name}"/>


I'm on v1.0.5 (rev16966) so I shouldn't be using the old variable (RECORD_ANSWER_REQ )

Cheers,
Fraser