[Freeswitch-dev] Implicit Recording Pause
All, I thought I would try again. This question has been pending for the past 22 days on both the dev and users forums. If I am not understanding the process for asking questions please inform me. I was thinking since there is no direct functionality for the person being recorded to pause the recording could this be done indirectly. For example when using the functionality to record only when voice is present could the audio stream be preprocessed to evaluate the dtmf where if a specific key was pressed the audio stream would no longer be passed or passed as blank to the recording functionality so an implicit pause would be created since it would detect the absence of voice and cease recording. And when the person recording wished to continue pressing a key would signal FS to pass the true audio again therefore reestablishing recording to the same file? Bob
already answered once i guess you missed it. in the C code there is a pause flag you can set on the filehandle that lets you pause recording when you pass your own filehandle SWITCH_FILE_PAUSE this is exposed into the script lang callback by returning "pause" to toggle in both playback and record. On Thu, Dec 25, 2008 at 4:54 AM, Robert Clayton <rjcajax@gmail.com> wrote:
All,
I thought I would try again. This question has been pending for the past 22 days on both the dev and users forums.
If I am not understanding the process for asking questions please inform me.
I was thinking since there is no direct functionality for the person being recorded to pause the recording could this be done indirectly. For example when using the functionality to record only when voice is present could the audio stream be preprocessed to evaluate the dtmf where if a specific key was pressed the audio stream would no longer be passed or passed as blank to the recording functionality so an implicit pause would be created since it would detect the absence of voice and cease recording. And when the person recording wished to continue pressing a key would signal FS to pass the true audio again therefore reestablishing recording to the same file?
Bob
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Thank you On Fri, Dec 26, 2008 at 11:18 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
already answered once i guess you missed it.
in the C code there is a pause flag you can set on the filehandle that lets you pause recording when you pass your own filehandle SWITCH_FILE_PAUSE
this is exposed into the script lang callback by returning "pause" to toggle in both playback and record.
On Thu, Dec 25, 2008 at 4:54 AM, Robert Clayton <rjcajax@gmail.com> wrote:
All,
I thought I would try again. This question has been pending for the past 22 days on both the dev and users forums.
If I am not understanding the process for asking questions please inform me.
I was thinking since there is no direct functionality for the person being recorded to pause the recording could this be done indirectly. For example when using the functionality to record only when voice is present could the audio stream be preprocessed to evaluate the dtmf where if a specific key was pressed the audio stream would no longer be passed or passed as blank to the recording functionality so an implicit pause would be created since it would detect the absence of voice and cease recording. And when the person recording wished to continue pressing a key would signal FS to pass the true audio again therefore reestablishing recording to the same file?
Bob
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (2)
-
Anthony Minessale
-
Robert Clayton