Awesome! That works perfectly now.<div><br></div><div>Thanks!</div><div><br></div><div>For the benefit of newbies, (like me,) here is my dialplan entry now:</div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">        </font></span><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">&lt;extension name=&quot;my_bridge_call&quot;&gt;</font></div>
<div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">                </font></span><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">&lt;condition field=&quot;destination_number&quot; expression=&quot;^11&quot;&gt;</font></div>
<div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">                        </font></span><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">&lt;action application=&quot;set&quot; data=&quot;hold_music=silence&quot; /&gt;</font></div>
<div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">                        </font></span><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">&lt;action application=&quot;bind_meta_app&quot; data=&quot;1 b b lua::my_other_script.lua&quot;/&gt;</font></div>
<div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">                        </font></span><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">&lt;action application=&quot;lua&quot; data=&quot;my_bridge_call.lua&quot;/&gt;</font></div>
<div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">                </font></span><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">&lt;/condition&gt;</font></div>
<div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">        </font></span><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">&lt;/extension&gt;</font></div>
<div><br></div><br><div class="gmail_quote">On Fri, Nov 5, 2010 at 12:06 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@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;">
It&#39;s trying to put the one leg on hold while your app runs.<br>
you can either install the music files or you can set the hold_music<br>
variable to &quot;silence&quot; on all legs<br>
<div><div></div><div class="h5"><br>
<br>
On Fri, Nov 5, 2010 at 10:47 AM, Mike van Lammeren<br>
&lt;<a href="mailto:mike@van.lammeren.net">mike@van.lammeren.net</a>&gt; wrote:<br>
&gt; Hello!<br>
&gt; I want *1 to trigger a Lua script, so I configured my dialplan with a call<br>
&gt; to bind_meta_app like this:<br>
&gt; &lt;extension name=&quot;my_bridge_call&quot;&gt;<br>
&gt; &lt;condition field=&quot;destination_number&quot; expression=&quot;^11&quot;&gt;<br>
&gt; &lt;action application=&quot;bind_meta_app&quot; data=&quot;1 b b lua::my_trigger.lua&quot;/&gt;<br>
&gt; &lt;action application=&quot;lua&quot; data=&quot;my_bridge_call.lua&quot;/&gt;<br>
&gt; &lt;/condition&gt;<br>
&gt; &lt;/extension&gt;<br>
&gt; With the configuration above, whenever I press *1 on the b leg, the<br>
&gt; my_trigger.lua script is launched. That part works great!<br>
&gt; However, it seems like something else is also listening for the *1, since<br>
&gt; notice a few oddities every time I trigger the script:<br>
&gt; 1. I see this error in the console:<br>
&gt; 2010-11-05 11:38:53.875766 [ERR] switch_core_file.c:122 Invalid file format<br>
&gt; [local_stream] for [moh]!<br>
&gt; 2. On the a leg, I can hear a noise when dialing *1 on the b leg. I don&#39;t<br>
&gt; quite hear the touch tones, but the noise is definitely associated with<br>
&gt; them.<br>
&gt; 3. After triggering the script, no audio is transferred for about 5 seconds.<br>
&gt; It looks to me like FreeSWITCH is trying to transfer the calls to<br>
&gt; music-on-hold, then gets an error, times out, and goes back to the original<br>
&gt; call. There are no other calls to bind_meta_app, so what else is reacting to<br>
&gt; the *1?<br>
&gt; Thanks!<br>
&gt; Mike van Lammeren<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">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" target="_blank">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>
<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>