[Freeswitch-users] Playing announcement file before MOH

Mario G mario_fs at mgtech.com
Fri Oct 11 23:55:20 MSD 2013


I am doing something similar using local_stream to replace the ring the caller hears. In fact I gave Anthony some cash to add a timeout option which I documented in the wiki:
http://wiki.freeswitch.org/wiki/Mod_local_stream#Execution_Parameters

Here is what callers hear (Using timeout I can limit how long music plays between voice, I use LUA to inject the persons name into the message):
1. Hello Jim, please listen to some music while the phones ring.
2. Music.
3. Hold on Jim, while we try our cell phones.
4. Music.
5. Sorry Jim, please leave a message.
Message is then emailed to cell phones.

Hope this helps a little,
Mario G

On Oct 11, 2013, at 6:32 AM, Cal Leeming [Simplicity Media Ltd] <cal.leeming at simplicitymedialtd.co.uk> wrote:

> No problem, glad we could help.
> 
> Once you have managed to achieve what you are trying to do, perhaps you could update this thread and share your approach as it will help others in the future.
> 
> Cal
> 
> 
> On Thu, Oct 10, 2013 at 5:54 AM, Nandy Dagondon <nandy1925 at gmail.com> wrote:
> Hi Cal, The "please_hold" vanilla dialplan in features.xml is what I initially. The tips you shared - someday I can use them. Thanks a lot! /Nandy 
> 
> 
> On Thu, Oct 10, 2013 at 11:46 AM, Cal Leeming [Simplicity Media Ltd] <cal.leeming at simplicitymedialtd.co.uk> wrote:
> Have a look into some of these variables/options below, use google+wiki;
> 
> uuid_displace - allows you to inject audio into a channel
> temp_hold_music - allows you specify music during transfer hold
> campon - places call into parking when on hold (not 100% on this, needs clarification)
> 
> You could also modify the MOH file to play the message you require at the desired intervals. Realistically I think this would be the best way, as this will give you much more control over the quality delivered (fading, volume, etc).
> 
> Hope this helps
> 
> Cal
> 
> 
> 
> On Thu, Oct 10, 2013 at 2:18 AM, Nandy Dagondon <nandy1925 at gmail.com> wrote:
> Hello everyone,
> 
> I like to play an announcement file before playing music-on-hold. Is this possible? Any hint? 
> 
> Tks,
> Nandy
> 
> _________________________________________________________________________
> 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
> 
> 
> 
> _________________________________________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131011/3577771a/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list