<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
because *1 is allready inuse<br>
check dialplan/default.xml extension: local_extension<br>
try *5 and see if work<br>
because 1|2|3|4 is allready used<br>
Le 05/11/2010 16:47, Mike van Lammeren a écrit :
<blockquote
cite="mid:AANLkTi==-QXJZJ+6gNooxyeSLPJHOzS6iiMuxEiLaLE1@mail.gmail.com"
type="cite">Hello!
<div><br>
</div>
<div>I want *1 to trigger a Lua script, so I configured my dialplan
with a call to bind_meta_app like this:</div>
<div><br>
</div>
<div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span><extension
name="my_bridge_call"></div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span><condition
field="destination_number" expression="^11"></div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span><action
application="bind_meta_app" data="1 b b lua::my_trigger.lua"/></div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span><action
application="lua" data="my_bridge_call.lua"/></div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span></condition></div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span></extension></div>
<div><br>
</div>
</div>
<div>With the configuration above, whenever I press *1 on the b leg,
the my_trigger.lua script is launched. That part works great!</div>
<div><br>
</div>
<div>However, it seems like something else is also listening for the
*1, since notice a few oddities every time I trigger the script:</div>
<div>1. I see this error in the console:</div>
<div><br>
</div>
<div>
<div>2010-11-05 11:38:53.875766 [ERR] switch_core_file.c:122 Invalid
file format [local_stream] for [moh]!</div>
</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>3. After triggering the script, no audio is transferred for
about 5 seconds.</div>
<div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>Thanks!</div>
<div><br>
</div>
<div>Mike van Lammeren</div>
<div><br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Meftah Tayeb
inum: +883510001288000
Phone: +13602276297
Fax: +12538020313</pre>
</body>
</html>