<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"><<a href="mailto:john.nash778@gmail.com" target="_blank">john.nash778@gmail.com</a>></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 "Proxy_Media" (Want media to go through freeswitch but no codec translation). I tried using <br>"bridge_pre_execute_aleg_app" 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><extension name="main_route"><br> <condition field="destination_number" expression="^rb-(.+)$"><br> <action application="log" data="INFO progressing call..."/><br> <action application="set" data="proxy_media=true"/><br> <action application="set" data="bridge_pre_execute_aleg_app=lua"/><br> <action application="set" data="bridge_pre_execute_aleg_data=tt.lua ${credit_time}"/><br> <action application="set" data="hangup_after_bridge=true"/><br> <action application="set" data="execute_on_answer=sched_hangup +${credit_time}" /><br> <action application="bridge" data="sofia/$${domain}/${regex(${sip_req_uri}|^kb-(.+)$|%1)};fs_path=sip:${sip_received_ip}:${sip_received_port}"/><br> </condition><br></extension><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>