I'm trying to implement a feature that allows a user to selectively pause and resume a call recording via FreeSWITCH's event socket interface. The audio file should contain filler music for the duration of each pause operation. Is there any simple straight forward way to accomplish this? I would prefer avoiding the overhead incurred by using the conferencing module for this if possible. Thanks -JP
Why do you need filler music? Why don't you stop the recording and append when it is enabled again? You could also record the "not recording" times in a meta file and then use sox to fill in music for those times. Regards, Ali Pey On Wed, Feb 5, 2014 at 7:42 PM, JP <jaykris@gmail.com> wrote:
I'm trying to implement a feature that allows a user to selectively pause and resume a call recording via FreeSWITCH's event socket interface. The audio file should contain filler music for the duration of each pause operation. Is there any simple straight forward way to accomplish this? I would prefer avoiding the overhead incurred by using the conferencing module for this if possible.
Thanks
-JP
_________________________________________________________________________ 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
Thanks all for the responses. I think I will try what Ali Pey suggests. That seems to be the best route for now. -JP On Thu, Feb 6, 2014 at 4:57 AM, Ali Pey <alipey@gmail.com> wrote:
Why do you need filler music? Why don't you stop the recording and append when it is enabled again?
You could also record the "not recording" times in a meta file and then use sox to fill in music for those times.
Regards, Ali Pey
On Wed, Feb 5, 2014 at 7:42 PM, JP <jaykris@gmail.com> wrote:
I'm trying to implement a feature that allows a user to selectively pause and resume a call recording via FreeSWITCH's event socket interface. The audio file should contain filler music for the duration of each pause operation. Is there any simple straight forward way to accomplish this? I would prefer avoiding the overhead incurred by using the conferencing module for this if possible.
Thanks
-JP
_________________________________________________________________________ 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
You would have to make a media bug similar to the one for record session, that has additional api commands to target the session by uuid that changes a flag in a private struct of weather the recording is paused or not, and then inside the callback for the recording, trigger different behavior when its paused. As there is no audio being muxed, there is no reason at all to use mod_conference. On Feb 5, 2014, at 7:42 PM, JP <jaykris@gmail.com> wrote:
I'm trying to implement a feature that allows a user to selectively pause and resume a call recording via FreeSWITCH's event socket interface. The audio file should contain filler music for the duration of each pause operation. Is there any simple straight forward way to accomplish this? I would prefer avoiding the overhead incurred by using the conferencing module for this if possible.
participants (3)
-
Ali Pey
-
JP
-
Michael Jerris