For #2 use transfer_ringback channel variable and set it to MOH and it should work the same way, i.e. instead of ringing the caller will hear music.

-MC

On Fri, Feb 8, 2013 at 8:55 AM, Mario G <mario_fs@mgtech.com> wrote:
I looked into chime-ins, but it only chimes in at fixed intervals, and it was not flexible enough for true customization. I could not find anything else on the wiki that would play moh (or any other file) for a specific time. See my previous post for a details of how it works and what I wanted to do. Thanks.
Mario G

On Feb 8, 2013, at 5:48 AM, Vik Killa wrote:

> I don't quite understand what you are trying to do here.
> mod_local_stream plays audio in a loop constantly with chime-ins
> (announcements) set to play periodically. If you need something to
> play from the beginning for a certain amount of time, you need to use
> something other than mod_local_stream.
>
>
>> On Wed, Feb 6, 2013 at 9:04 AM, Mario G <mario_fs@mgtech.com> wrote:
>>>
>>> Could not find anything in the wiki and this may not be possible but... I
>>> have early media with instructions, is has voice, ring, voice, music. I want
>>> to change the ring to music but I could not find a way to limit the time the
>>> music plays. See the second example, I would like to limit the first moh to
>>> a maximum time. If not possible, is this a "bounty" enhancement? Thanks for
>>> any help.
>>> Mario G
>>>
>>>
>>> Currently:
>>> <action application="set"
>>> data="ringback=file_string://${lua_ring1}!tone_stream://${us-ring};loops=3!file_string://${lua_ring2}!local_stream://moh"/>
>>>
>>> Would Like (add something to limit the first moh):
>>> <action application="set"
>>> data="ringback=file_string://${lua_ring1}!local_stream://moh!file_string://${lua_ring2}!local_stream://moh"/>
>>>
>>>
>>> ______________________________________________________________________
>
> _________________________________________________________________________
> 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