[Freeswitch-users] Can I use mod_shout in a macro?

Michael Collins msc at freeswitch.org
Tue Nov 13 01:29:17 MSK 2012


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 at 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 at freeswitch.org>wrote:
>
>>
>> On Tue, Nov 6, 2012 at 2:27 PM, JP <jaykris at 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 at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121112/0bbffa95/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list