Cal, current state of affairs is above - that's all i was able to find.break command has an addiotional option: break [all], which is expected to break out completely of current dial plan, but it doesn't seem to work with httapi script (still interrupts only current playback and proceeds with next action). It would be nice if break all worked as expected, by exiting current batch, but I think I can work around this limitation.Best regardsROn Thu, Sep 26, 2013 at 5:13 PM, Cal Leeming [Simplicity Media Ltd] <cal.leeming@simplicitymedialtd.co.uk> wrote:
Rafal,
Were you able to find a solution to your problem? It would be interesting to hear what you've come up with, if not then lets see if we can get you some more help - post what you have done so far.Hope this helps
CalOn Fri, Sep 20, 2013 at 3:14 PM, Rafal Gwizdala <rafal.gwizdala@gmail.com> wrote:
oops, still great but not perfect'break' will only interrupt current playback and skip to next action in the scriptso, it will make a http request only if playback action is the last one in the script, otherwise the script will continueROn Fri, Sep 20, 2013 at 4:10 PM, Rafal Gwizdala <rafal.gwizdala@gmail.com> wrote:
Guys, this is incrediblethe instruction that does what I want exists and is called 'break'!All you need to do isbreak [UUID]and current audio playback is interrupted, then mod_httapi makes a new http request to get next script, without dropping the connectionHope this solves my problemFS is a wonderful box of chocolatesROn 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 helpCalOn 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.ThanksRGOn Thu, Sep 19, 2013 at 6:36 AM, Gabriel Gunderson <gabe@gundy.org> wrote:
On Wed, Sep 18, 2013 at 12:42 PM, Rafal GwizdalaYou might be looking for an outbound Event Socket connection. I don't
<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.
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
_________________________________________________________________________
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