It works. Thank you.

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of
Anthony Minessale
Sent: January 29, 2009 1:54 PM
To: [email protected]
Subject: Re: [Freeswitch-users] How to break a playback with loops


The break function with the all app is better for this

api break <uuid> all

This lets you still break even if the playback is in event lock

I did add to trunk a patch so you can do it with the app
you can now add "all" as the app args to break completely.



On Thu, Jan 29, 2009 at 3:34 PM, Michael Collins <[email protected]>
wrote:


        Could you please file a bug report on this? jira.freeswitch.org.
Also,
        follow the bug reporting guidelines here:
        http://wiki.freeswitch.org/wiki/Reporting_Bugs
        
        Thanks,
        MC
        

        On Thu, Jan 29, 2009 at 11:05 AM, Daniel Liang
<[email protected]> wrote:
        > Hi,
        >
        > 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:
        >
        > sendmsg
        > call-command: execute
        > execute-app-name: playback
        > execute-app-arg: <the wav file>
        > loops: 4
        >
        > On receiving a dtmf event, I send a break command:
        >
        > sendmsg
        > call-command: execute
        > execute-app-name: break
        >
        > However, that only breaks one loop of the playback. And I have
to press a
        > dtmf for 4 times to stop the file.
        >
        > 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.
        >
        > Any help is appreciated.
        >
        > Thanks.
        > Daniel Liang
        >
        
        > _______________________________________________
        > Freeswitch-users mailing list
        > [email protected]
        > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
        >
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
        > http://www.freeswitch.org
        >
        >
        
        _______________________________________________
        Freeswitch-users mailing list
        [email protected]
        http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
        
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
        http://www.freeswitch.org
        




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:[email protected]
<mailto:msn%[email protected]> 
GTALK/JABBER/PAYPAL:[email protected]
<mailto:paypal%[email protected]> 
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[email protected]
<mailto:sip%[email protected]> 
iax:[email protected]/888
googletalk:[email protected]
<mailto:googletalk%3aconf%[email protected]> 
pstn:213-799-1400

_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to