Hello, I have a following scenario: 1) A call comes into freeswitch and gets parked with a park timeout of 25 seconds. 2) It is expected that another call will come and intercept into this UUID to start a conversation. 3) But if that doesn't happen, I need to answer this call from freeswitch and take into somebody's voicemail box. Is this possible?? Generally freeswitch just hangs up after the park timeout. I also tried doing this: 1) A call comes in, I call ring_ready application and sleep for 25 seconds. 2) After this I answer the call from freeswitch and take to voicemail. 3) But here when another call intercepts this UUID, the call gets established but the media from A-Leg starts only after 25 seconds since the channel on A-Leg is asked to sleep. So for this to work, I need some application to wake up the channel from sleep forcefully. I don't see how this can be done either. I would really appreciate if someone has done anything similar or point me to some relevant direction to start looking at. Thanks, --- Jayesh
You could answer the call, uuid_park it, then do a sched_api of uuid_transfer at +25 sec. When someone swings in and grabs that parked call just do sched_del and remove the scheduled uuid_transfer. -MC On Fri, Sep 13, 2013 at 6:38 AM, Jayesh Nambiar <jayesh1017@gmail.com>wrote:
Hello, I have a following scenario: 1) A call comes into freeswitch and gets parked with a park timeout of 25 seconds. 2) It is expected that another call will come and intercept into this UUID to start a conversation. 3) But if that doesn't happen, I need to answer this call from freeswitch and take into somebody's voicemail box. Is this possible?? Generally freeswitch just hangs up after the park timeout.
I also tried doing this: 1) A call comes in, I call ring_ready application and sleep for 25 seconds. 2) After this I answer the call from freeswitch and take to voicemail. 3) But here when another call intercepts this UUID, the call gets established but the media from A-Leg starts only after 25 seconds since the channel on A-Leg is asked to sleep. So for this to work, I need some application to wake up the channel from sleep forcefully. I don't see how this can be done either.
I would really appreciate if someone has done anything similar or point me to some relevant direction to start looking at.
Thanks,
--- Jayesh
_________________________________________________________________________ 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
Hello Micheal, Thanks for the directions. I will try this out and post back with results. --- Jayesh On Sat, Sep 14, 2013 at 3:52 AM, Michael Collins <msc@freeswitch.org> wrote:
You could answer the call, uuid_park it, then do a sched_api of uuid_transfer at +25 sec. When someone swings in and grabs that parked call just do sched_del and remove the scheduled uuid_transfer.
-MC
On Fri, Sep 13, 2013 at 6:38 AM, Jayesh Nambiar <jayesh1017@gmail.com>wrote:
Hello, I have a following scenario: 1) A call comes into freeswitch and gets parked with a park timeout of 25 seconds. 2) It is expected that another call will come and intercept into this UUID to start a conversation. 3) But if that doesn't happen, I need to answer this call from freeswitch and take into somebody's voicemail box. Is this possible?? Generally freeswitch just hangs up after the park timeout.
I also tried doing this: 1) A call comes in, I call ring_ready application and sleep for 25 seconds. 2) After this I answer the call from freeswitch and take to voicemail. 3) But here when another call intercepts this UUID, the call gets established but the media from A-Leg starts only after 25 seconds since the channel on A-Leg is asked to sleep. So for this to work, I need some application to wake up the channel from sleep forcefully. I don't see how this can be done either.
I would really appreciate if someone has done anything similar or point me to some relevant direction to start looking at.
Thanks,
--- Jayesh
_________________________________________________________________________ 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
_________________________________________________________________________ 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
participants (2)
-
Jayesh Nambiar
-
Michael Collins