<!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><FONT face=Arial size=2><SPAN
class=201105318-29012009>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=201105318-29012009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=201105318-29012009>I am trying to
playing back a wav file a few times, and on receiving a dtmf event, it stops
playing the file. The command I sent is:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=201105318-29012009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=201105318-29012009>sendmsg<BR>call-command: execute<BR>execute-app-name:
playback<BR>execute-app-arg: <the wav file><BR>loops:
4</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=201105318-29012009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=201105318-29012009>On receiving a dtmf
event, I send a break command:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=201105318-29012009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=201105318-29012009>sendmsg</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=201105318-29012009>call-command:
execute<BR>execute-app-name: break<BR></DIV>
<DIV></SPAN></FONT><FONT face=Arial size=2><SPAN
class=201105318-29012009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=201105318-29012009>However, that only
breaks one loop of the playback. And I have to press a dtmf for 4 times to stop
the file.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=201105318-29012009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=201105318-29012009>I tried sending 4
break commands all at once. But it didn't work. And even worse, my program stops
receiving dtmfs anymore. My guess is that the first break stops the first loop,
but before the second loop starts, the following 3 breaks stop something else
that I don't know what they are.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=201105318-29012009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=201105318-29012009>Any help is
appreciated.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=201105318-29012009><FONT face=Arial
size=2>Thanks.</FONT></SPAN></DIV>
<DIV align=left><FONT face="Century Gothic" size=2>Daniel Liang</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>