Can I use mod_shout in a macro?
Is there a way that I can use mod_shout from a phrase macro? Thanks JP
I want to use mod_shout with google Translate for doing TTS. So I thought of embedding this in a macro so that I can send the text I wanted translated as an argument to the macro and reuse the same macro from different points in my dialplan. Is there a better way do this? Thanks, JP On Mon, Nov 12, 2012 at 9:20 AM, Michael Collins <msc@freeswitch.org> wrote:
On Tue, Nov 6, 2012 at 2:27 PM, JP <jaykris@gmail.com> wrote:
Is there a way that I can use mod_shout from a phrase macro?
Thanks JP
Just curious - what are you trying to do? -MC
_________________________________________________________________________ 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
As far as I can tell this should work if you have the correct URL for the shout stream. Inside your macro it would just be a simple playback call: <action function="execute" data="playback(shout://<URL_here>)"/> Give it a try and let us know what happens. -MC On Mon, Nov 12, 2012 at 10:15 AM, JP <jaykris@gmail.com> wrote:
I want to use mod_shout with google Translate for doing TTS. So I thought of embedding this in a macro so that I can send the text I wanted translated as an argument to the macro and reuse the same macro from different points in my dialplan. Is there a better way do this? Thanks,
JP
On Mon, Nov 12, 2012 at 9:20 AM, Michael Collins <msc@freeswitch.org>wrote:
On Tue, Nov 6, 2012 at 2:27 PM, JP <jaykris@gmail.com> wrote:
Is there a way that I can use mod_shout from a phrase macro?
Thanks JP
Just curious - what are you trying to do? -MC
_________________________________________________________________________ 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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
participants (2)
-
JP
-
Michael Collins