oops, still great but not perfect 'break' will only interrupt current playback and skip to next action in the script so, it will make a http request only if playback action is the last one in the script, otherwise the script will continue R On Fri, Sep 20, 2013 at 4:10 PM, Rafal Gwizdala <rafal.gwizdala@gmail.com>wrote:
Guys, this is incredible the instruction that does what I want exists and is called 'break'! All you need to do is break [UUID] and current audio playback is interrupted, then mod_httapi makes a new http request to get next script, without dropping the connection Hope this solves my problem FS is a wonderful box of chocolates R
On Thu, Sep 19, 2013 at 3:35 PM, Cal Leeming [Simplicity Media Ltd] < cal.leeming@simplicitymedialtd.co.uk> wrote:
I understand more about your problem now, but I cannot think of an immediate solution without playing around in FS first.
Try messing around and see what you can come up with, or wait for others to submit their thoughts/ideas.
Sorry I couldn't be of much more help
Cal
On Thu, Sep 19, 2013 at 8:33 AM, Rafal Gwizdala <rafal.gwizdala@gmail.com
wrote:
Gabe, i'm already using ES for receiving the 'beep' event, i've described it in another post here. The problem is that even if my application receives that event, i don't know any way to tell FS to interrupt current mod_httapi script and return for new instructions to my application. But i think I can live with that, just have to make mod_httapi scripts contact the application more often. Thanks RG
On Thu, Sep 19, 2013 at 6:36 AM, Gabriel Gunderson <gabe@gundy.org>wrote:
On Wed, Sep 18, 2013 at 12:42 PM, Rafal Gwizdala <rafal.gwizdala@gmail.com> wrote:
Cal, my main need is to immediately interrupt whatever is currently playing when a voicemail beep is detected and play a different message, dedicated for voicemail recording.
You might be looking for an outbound Event Socket connection. I don't know what it is off the top of my head, but there is an event the fires when it detects that tone.
Best, Gabe
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org