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="'courier new', monospace">        </font></span><font class="Apple-style-span" face="'courier new', monospace"><extension name="my_bridge_call"></font></div>
<div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="'courier new', monospace">                </font></span><font class="Apple-style-span" face="'courier new', monospace"><condition field="destination_number" expression="^11"></font></div>
<div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="'courier new', monospace">                        </font></span><font class="Apple-style-span" face="'courier new', monospace"><action application="set" data="hold_music=silence" /></font></div>
<div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="'courier new', monospace">                        </font></span><font class="Apple-style-span" face="'courier new', monospace"><action application="bind_meta_app" data="1 b b lua::my_other_script.lua"/></font></div>
<div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="'courier new', monospace">                        </font></span><font class="Apple-style-span" face="'courier new', monospace"><action application="lua" data="my_bridge_call.lua"/></font></div>
<div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="'courier new', monospace">                </font></span><font class="Apple-style-span" face="'courier new', monospace"></condition></font></div>
<div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="'courier new', monospace">        </font></span><font class="Apple-style-span" face="'courier new', monospace"></extension></font></div>
<div><br></div><br><div class="gmail_quote">On Fri, Nov 5, 2010 at 12:06 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
It'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 "silence" 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>
<<a href="mailto:mike@van.lammeren.net">mike@van.lammeren.net</a>> wrote:<br>
> Hello!<br>
> I want *1 to trigger a Lua script, so I configured my dialplan with a call<br>
> to bind_meta_app like this:<br>
> <extension name="my_bridge_call"><br>
> <condition field="destination_number" expression="^11"><br>
> <action application="bind_meta_app" data="1 b b lua::my_trigger.lua"/><br>
> <action application="lua" data="my_bridge_call.lua"/><br>
> </condition><br>
> </extension><br>
> With the configuration above, whenever I press *1 on the b leg, the<br>
> my_trigger.lua script is launched. That part works great!<br>
> However, it seems like something else is also listening for the *1, since<br>
> notice a few oddities every time I trigger the script:<br>
> 1. I see this error in the console:<br>
> 2010-11-05 11:38:53.875766 [ERR] switch_core_file.c:122 Invalid file format<br>
> [local_stream] for [moh]!<br>
> 2. On the a leg, I can hear a noise when dialing *1 on the b leg. I don't<br>
> quite hear the touch tones, but the noise is definitely associated with<br>
> them.<br>
> 3. After triggering the script, no audio is transferred for about 5 seconds.<br>
> It looks to me like FreeSWITCH is trying to transfer the calls to<br>
> music-on-hold, then gets an error, times out, and goes back to the original<br>
> call. There are no other calls to bind_meta_app, so what else is reacting to<br>
> the *1?<br>
> Thanks!<br>
> Mike van Lammeren<br>
><br>
</div></div>> _______________________________________________<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>
><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>