We let the conference host play a file to the conference and want to give them a control to "pause" such a file, and then resume it. Has anyone found a way to do this? Would someone create something like that for a modest bounty? We could incorp in the code we use, as well as submit to the project overall. -Dale
if you need this level of granularity, I suggest instead of the conference play stuff that is built in, that you use the originate command to call a new channel into the conference to play the file then use the uuid_fileman api command to manipulate the playback. On Sat, Apr 16, 2011 at 1:33 PM, Dale Trub <daletrub@gmail.com> wrote:
We let the conference host play a file to the conference and want to give them a control to "pause" such a file, and then resume it. Has anyone found a way to do this? Would someone create something like that for a modest bounty? We could incorp in the code we use, as well as submit to the project overall. -Dale _______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
On Mon, Apr 18, 2011 at 9:30 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
if you need this level of granularity, I suggest instead of the conference play stuff that is built in, that you use the originate command to call a new channel into the conference to play the file then use the uuid_fileman api command to manipulate the playback.
FYI, I just added the basic uuid_fileman stuff to the wiki: http://wiki.freeswitch.org/wiki/Mod_commands#uuid_fileman I don't have actual examples yet - I just combed through the source code to pull out the various commands that are available. For those who like to dig into the source code: uuid_fileman in mod_commands.c is essentially a wrapper/helper that calls switch_ivr_process_fh() from switch_ivr.c in the core. The commands are all in that function. I was able to deduce most of the args and their meanings by looking at the source code. If you have used these functions and can contribute some simple examples that would be very helpful. Many thanks, MC
Wow that's fantastic.
seek:<+[samples]>|<-[samples]>
What are the parameters for samples?
Many thanks, MC
Thanks to you and and Anthony! (And fine: Brian too ... :-) -Dale On Mon, Apr 18, 2011 at 1:04 PM, Michael Collins <msc@freeswitch.org> wrote:
On Mon, Apr 18, 2011 at 9:30 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
if you need this level of granularity, I suggest instead of the conference play stuff that is built in, that you use the originate command to call a new channel into the conference to play the file then use the uuid_fileman api command to manipulate the playback.
FYI, I just added the basic uuid_fileman stuff to the wiki: http://wiki.freeswitch.org/wiki/Mod_commands#uuid_fileman
I don't have actual examples yet - I just combed through the source code to pull out the various commands that are available. For those who like to dig into the source code: uuid_fileman in mod_commands.c is essentially a wrapper/helper that calls switch_ivr_process_fh() from switch_ivr.c in the core. The commands are all in that function. I was able to deduce most of the args and their meanings by looking at the source code. If you have used these functions and can contribute some simple examples that would be very helpful.
Many thanks, MC
_______________________________________________ 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
ps. I'll update the wiki with your answer ... On Tue, Apr 19, 2011 at 6:24 PM, Dale Trub <daletrub@gmail.com> wrote:
Wow that's fantastic.
seek:<+[samples]>|<-[samples]>
What are the parameters for samples?
Many thanks, MC
Thanks to you and and Anthony! (And fine: Brian too ... :-)
-Dale
On Mon, Apr 18, 2011 at 1:04 PM, Michael Collins <msc@freeswitch.org>wrote:
On Mon, Apr 18, 2011 at 9:30 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
if you need this level of granularity, I suggest instead of the conference play stuff that is built in, that you use the originate command to call a new channel into the conference to play the file then use the uuid_fileman api command to manipulate the playback.
FYI, I just added the basic uuid_fileman stuff to the wiki: http://wiki.freeswitch.org/wiki/Mod_commands#uuid_fileman
I don't have actual examples yet - I just combed through the source code to pull out the various commands that are available. For those who like to dig into the source code: uuid_fileman in mod_commands.c is essentially a wrapper/helper that calls switch_ivr_process_fh() from switch_ivr.c in the core. The commands are all in that function. I was able to deduce most of the args and their meanings by looking at the source code. If you have used these functions and can contribute some simple examples that would be very helpful.
Many thanks, MC
_______________________________________________ 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
On Tue, Apr 19, 2011 at 6:24 PM, Dale Trub <daletrub@gmail.com> wrote:
Wow that's fantastic.
seek:<+[samples]>|<-[samples]>
What are the parameters for samples?
Samples are the literally the number of samples in the file to jump forward or backward. In an 8kHz file, 8000 samples would represent one second, in a 16kHz file 16000 samples would be one second, etc. -MC
participants (3)
-
Anthony Minessale
-
Dale Trub
-
Michael Collins