sched_api +5 <confname> conference <confname> play /tmp/test.wav


On Wed, Jan 13, 2016 at 9:29 AM, Bote Man <bote_radio@botecomm.com> wrote:

It might be informative to set the CLI to /log 7 for maximum debug detail and set up a test conference.

 

My first guess is that FS can’t find your audio file due to looking in a different path, so specify an absolute path for testing to it to be sure. But if it plays for one conferee then that might not be the trouble.

 

Then again, per

https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+sched+broadcast

 

it looks like you must append ‘aleg’, ‘bleg’, or ‘both’ to that command to tell it where the audio should be sent. You should test these to discover which one works for the conference module since it says ‘bleg’ really means “the other leg” so experimentation is in order.

 

Also, I think you need a plus sign in front of the 5 in your example to mean “5 seconds from now”.

 

Hope this helps.

 

Bote

 

 

From: Matt Broad
Sent: Wednesday, 13 January, 2016 08:50
Subject: [Freeswitch-users] schedule Broadcast into a conference

 

Hi,

 

 

I am wondering if there is an API command that will allow me to schedule a broadcast into a conference?

 

I have tried the following:

sched_broadcast 5 UUID playback::tmp/test.wav

 

I have tried replacing the UUID with the conference UUID and no file plays (though the broadcast shows as being scheduled).  

I have also tried replacing UUID with one of the caller's UUID, the file does play but only to that one caller and not all callers.

 

 

 

many thanks

Matt


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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



--
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

ClueCon Weekly Development Call 
☎ sip:888@conference.freeswitch.org  ☎ +19193869900