<div dir="ltr"><div>Recommend you pastebin a full debug log of a call that exhibits this behavior.<br></div>-MC<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 23, 2015 at 8:52 PM, John Nash <span dir="ltr">&lt;<a href="mailto:john.nash778@gmail.com" target="_blank">john.nash778@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"><div dir="ltr">I am trying to play some native files (Pre encoded) using lua script just after call is setup using Bridge (But before any answer). I need to use &quot;Proxy_Media&quot; (Want media to go through freeswitch but no codec translation). I tried using <br>&quot;bridge_pre_execute_aleg_app&quot; but I do not hear sound files being played (Do not see any error message also). I have already tested lua script in some other test extension and it works fine.<br><br>&lt;extension name=&quot;main_route&quot;&gt;<br>        &lt;condition field=&quot;destination_number&quot; expression=&quot;^rb-(.+)$&quot;&gt;<br>                &lt;action application=&quot;log&quot; data=&quot;INFO progressing call...&quot;/&gt;<br>                &lt;action application=&quot;set&quot; data=&quot;proxy_media=true&quot;/&gt;<br>                &lt;action application=&quot;set&quot; data=&quot;bridge_pre_execute_aleg_app=lua&quot;/&gt;<br>                &lt;action application=&quot;set&quot; data=&quot;bridge_pre_execute_aleg_data=tt.lua ${credit_time}&quot;/&gt;<br>                &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;<br>                &lt;action application=&quot;set&quot; data=&quot;execute_on_answer=sched_hangup +${credit_time}&quot; /&gt;<br>                 &lt;action application=&quot;bridge&quot; data=&quot;sofia/$${domain}/${regex(${sip_req_uri}|^kb-(.+)$|%1)};fs_path=sip:${sip_received_ip}:${sip_received_port}&quot;/&gt;<br>        &lt;/condition&gt;<br>&lt;/extension&gt;<br><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></blockquote></div><br></div>