[Freeswitch-users] Problem with bind_meta_app

Mike van Lammeren mike at van.lammeren.net
Fri Nov 5 08:47:22 PDT 2010


Hello!

I want *1 to trigger a Lua script, so I configured my dialplan with a call
to bind_meta_app like this:

<extension name="my_bridge_call">
<condition field="destination_number" expression="^11">
<action application="bind_meta_app" data="1 b b lua::my_trigger.lua"/>
<action application="lua" data="my_bridge_call.lua"/>
</condition>
</extension>

With the configuration above, whenever I press *1 on the b leg, the
my_trigger.lua script is launched. That part works great!

However, it seems like something else is also listening for the *1, since
notice a few oddities every time I trigger the script:
1. I see this error in the console:

2010-11-05 11:38:53.875766 [ERR] switch_core_file.c:122 Invalid file format
[local_stream] for [moh]!

2. On the a leg, I can hear a noise when dialing *1 on the b leg. I don't
quite hear the touch tones, but the noise is definitely associated with
them.

3. After triggering the script, no audio is transferred for about 5 seconds.

It looks to me like FreeSWITCH is trying to transfer the calls to
music-on-hold, then gets an error, times out, and goes back to the original
call. There are no other calls to bind_meta_app, so what else is reacting to
the *1?

Thanks!

Mike van Lammeren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101105/1f93a50a/attachment.html 


More information about the FreeSWITCH-users mailing list