Try this instead:<div><a href="http://wiki.freeswitch.org/wiki/Channel_Variables#bridge_pre_execute_bleg_app">http://wiki.freeswitch.org/wiki/Channel_Variables#bridge_pre_execute_bleg_app</a></div><div>and</div><div><a href="http://wiki.freeswitch.org/wiki/Channel_Variables#bridge_pre_execute_bleg_data">http://wiki.freeswitch.org/wiki/Channel_Variables#bridge_pre_execute_bleg_data</a></div>
<div><br></div><div>-MC<br><br><div class="gmail_quote">On Thu, Mar 31, 2011 at 1:32 AM, mayamatakeshi <span dir="ltr">&lt;<a href="mailto:mayamatakeshi@gmail.com">mayamatakeshi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I am setting channel variable execute_on_answer in my call to application bridge. Like this:<br><br>&lt;action application=&#39;bridge&#39; data=&#39;{execute_on_answer=record_session $${base_dir}/storage/recorded_sessions/${uuid}_${strftime(%Y%m%d-%H%M%S)}.wav}sofia/external/<a href="mailto:DestinationNumber@192.168.2.2" target="_blank">DestinationNumber@192.168.2.2</a>&#39; /&gt;<br>

<br>The above works, and the application record_session is executed on the leg b. However, the uuid it gets is from leg a, and the timestamp is from the time bridge was executed, which as I understand, is happening because the variable interpolation is performed at the moment the application bridge is executed.<br>

So, is there a way to delay variable interpolation to the instant the b leg app is executed?<br><br>br,<br>takeshi<br>
<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></div>