I do use call_timeout, see below. I want to use moh twice in the ringback with an intervening message. So this means the first moh must be limited to a specific time. Here is what the caller hears for the ringback now:
1. Custom greeting to caller.
2. Ring for 45 seconds <--- I want to replace this with music instead, but limit moh duration to 45 seconds just here.
3. Custom 2nd greeting telling caller to please wait while call is forwarded.
4. moh for 20 seconds (csall_timeout completes if no answer)
call times out
5. Custom please leave a message
This has been working fine using the ringback below (I use LUA to build the customized greetings based on caller ID), it would just be nice to replace #2 with music but it needs to end so the ringback sequence can continue.
Mario G
On Feb 7, 2013, at 3:42 PM, Michael Collins wrote:
The ringback will play until the call is answered or until the call_timeout value is met and the call moves on in the dialplan. You can probably just use call_timeout to tell the call to move on after x number of seconds.
-MC
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.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