<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=247341701-31012009><FONT face=Arial 
color=#0000ff size=2>It works. Thank you.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> 
freeswitch-users-bounces@lists.freeswitch.org 
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <B>On Behalf Of 
</B>Anthony Minessale<BR><B>Sent:</B> January 29, 2009 1:54 PM<BR><B>To:</B> 
freeswitch-users@lists.freeswitch.org<BR><B>Subject:</B> Re: [Freeswitch-users] 
How to break a playback with loops<BR></FONT><BR></DIV>
<DIV></DIV>The break function with the all app is better for this<BR><BR>api 
break &lt;uuid&gt; all<BR><BR>This lets you still break even if the playback is 
in event lock<BR><BR>I did add to trunk a patch so you can do it with the 
app<BR>you can now add "all" as the app args to break completely.<BR><BR><BR>
<DIV class=gmail_quote>On Thu, Jan 29, 2009 at 3:34 PM, Michael Collins <SPAN 
dir=ltr>&lt;<A 
href="mailto:msc@freeswitch.org">msc@freeswitch.org</A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Could 
  you please file a bug report on this? <A href="http://jira.freeswitch.org" 
  target=_blank>jira.freeswitch.org</A>. Also,<BR>follow the bug reporting 
  guidelines here:<BR><A href="http://wiki.freeswitch.org/wiki/Reporting_Bugs" 
  target=_blank>http://wiki.freeswitch.org/wiki/Reporting_Bugs</A><BR><BR>Thanks,<BR>MC<BR>
  <DIV>
  <DIV></DIV>
  <DIV class=Wj3C7c><BR>On Thu, Jan 29, 2009 at 11:05 AM, Daniel Liang &lt;<A 
  href="mailto:Daniell@airg.com">Daniell@airg.com</A>&gt; wrote:<BR>&gt; 
  Hi,<BR>&gt;<BR>&gt; I am trying to playing back a wav file a few times, and on 
  receiving a dtmf<BR>&gt; event, it stops playing the file. The command I sent 
  is:<BR>&gt;<BR>&gt; sendmsg<BR>&gt; call-command: execute<BR>&gt; 
  execute-app-name: playback<BR>&gt; execute-app-arg: &lt;the wav 
  file&gt;<BR>&gt; loops: 4<BR>&gt;<BR>&gt; On receiving a dtmf event, I send a 
  break command:<BR>&gt;<BR>&gt; sendmsg<BR>&gt; call-command: execute<BR>&gt; 
  execute-app-name: break<BR>&gt;<BR>&gt; However, that only breaks one loop of 
  the playback. And I have to press a<BR>&gt; dtmf for 4 times to stop the 
  file.<BR>&gt;<BR>&gt; I tried sending 4 break commands all at once. But it 
  didn't work. And even<BR>&gt; worse, my program stops receiving dtmfs anymore. 
  My guess is that the first<BR>&gt; break stops the first loop, but before the 
  second loop starts, the following<BR>&gt; 3 breaks stop something else that I 
  don't know what they are.<BR>&gt;<BR>&gt; Any help is 
  appreciated.<BR>&gt;<BR>&gt; Thanks.<BR>&gt; Daniel 
  Liang<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>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><BR 
clear=all><BR>-- <BR>Anthony Minessale II<BR><BR>FreeSWITCH <A 
href="http://www.freeswitch.org/">http://www.freeswitch.org/</A><BR>ClueCon <A 
href="http://www.cluecon.com/">http://www.cluecon.com/</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">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="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</A><BR><A 
href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</A><BR>pstn:213-799-1400<BR></BODY></HTML>