Doesn&#39;t your subject line say it all?<br>If it&#39;s already answered, how is it going to wait for it to be answered before it starts recording?<br><br>Indeed, the variable applies only to the one session you set it on.  Remember, a call is a combination of 2 legs and each leg has its own independent settings.<br>
<br>I am not sure what getting it to stop has to do with the file being created so I think your attempt to make it work on the b-leg in your case was the right direction but you must have done something wrong because the file is created instantly when you start recording and will stop when the call hangs up.<br>
<br><br><div class="gmail_quote">On Tue, Apr 13, 2010 at 11:52 AM, Fraser Redmond <span dir="ltr">&lt;<a href="mailto:fraserredmond@gmail.com">fraserredmond@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
If you have a dialplan which answers the incoming call, runs through some IVR&#39;s/javascript/etc, then bridges a call to another ext, the variable media_bug_answer_req is ignored.<br><br>media_bug_answer_req  stops the ringtone from being included in a session recording, specifically it tells the recording to not start until after it is answered - but it is basing that on either leg being answered (or at least the current leg), rather than on both legs (or the b-leg) being answered.<br>


<br>Is that something I should log in Jira, or is there something I&#39;m missing?<br><br>(I tried running the record_session on the b-leg via execute_on_answer, but then I couldn&#39;t find a way to get it to stop recording, so the audio file was never created.)<br>


<br clear="all">Cheers,<br><font color="#888888">Fraser<br><br><br>
</font><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>