<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Could be because the variable is&nbsp;RECORD_ANSWER_REQ<div><br></div><div>/b</div><div><br><div><div>On Mar 29, 2010, at 1:34 PM, Fraser Redmond wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi,<br><br>Has anyone used&nbsp; 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>&lt;action application="set" data="hangup_after_bridge=false"/&gt;<br>&lt;action application="set" data="continue_on_fail=true"/&gt;<br>&lt;action application="set" data="call_timeout=20"/&gt;<br>

&lt;action application="set" data="storageName=${dialed_extension}_${strftime(%Y%m%d_%H%M)}"/&gt;<br>&lt;action application="set" data="storagePath=/opt/files/${strftime(%Y%m)}"/&gt;<br>

&lt;action application="set" data="call_timeout=20"/&gt;<br>&lt;action application="export" data="nolocal:execute_on_answer=javascript BridgeConnected.js"/&gt;<br>&lt;action application="javascript" data="BridgeBefore.js"/&gt;<br>

<br>
&lt;action application="set" data="<b>media_bug_answer_req</b>=true"/&gt;<br>
&lt;action application="record_session" 
data="${storagePath}/${storageName}.wav"/&gt;<br>&lt;action application="bridge" data="user/${dialed_extension}@${domain_name}"/&gt;<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>
_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>