Recording Freeswitch Conference Using ESL - recording

I'm trying to initiate the recording of a conference over an ESL connection, but it doesn't seem to work the way I'm trying to do it, but I can't figure out what the right way is.
I'm sending the following command over the wire
call-command: execute
execute-app-name: conference
execute-app-arg: 01444b76-c08d-5990-b65c-000100620005 recording start /tmp/conference-01444b76-c08d-5990-b65c-000100620005.ulaw
Event-UUID: 9423a931-8cb7-4010-aad8-3cfb83db4b35
However instead of starting to record a conference it creates a conference with then name "01444b76-c08d-5990-b65c-000100620005 recording start /tmp/conference-01444b76-c08d-5990-b65c-000100620005.ulaw". I've also tried sending
call-command: execute
execute-app-name: conference 01444b76-c08d-5990-b65c-000100620005 recording start
execute-app-arg: /tmp/conference-01444b76-c08d-5990-b65c-000100620005.ulaw
Event-UUID: 9423a931-8cb7-4010-aad8-3cfb83db4b35
Which results in errors as the command "conference 01444b76-c08d-5990-b65c-000100620005 recording start"
And sending this
call-command: execute
execute-app-name: conference
execute-app-arg: 01444b76-c08d-5990-b65c-000100620005, recording, start, /tmp/conference-01444b76-c08d-5990-b65c-000100620005.ulaw
Event-UUID: 9423a931-8cb7-4010-aad8-3cfb83db4b35
Which simply results in a conference named "01444b76-c08d-5990-b65c-000100620005, recording, start, /tmp/conference-01444b76-c08d-5990-b65c-000100620005.ulaw"

execute runs a dialplan application, which is exactly that -- creating a conference. I think you need api or bgapi to start the recording.
I assume 01444b76-c08d-5990-b65c-000100620005 is the name of an existing conference which is already started by the dialplan application, right?

Related

Recording with beep overlay in FreeSWITCH

We are experimenting with Freeswitch recording for outbound dialling. Currently stuck with two issues after reading many posts and issue lists:
Not able to play the beep tone to the receiver
If I use only the beep tone is heard for the receiving party.
If I use the beep tone is not heard to the receiving party but present in recording.
In the case of call transfer 2 recording files are generated. Is there anyway to ask freeswitch to merge them into one file?
Can RECORD_APPEND or Post Processing Recordings in the Dialplan will be an option to try out?

Windows Universal Platform: Background task to check email

I want to develop an app that has a background task that checks email servers (POP, IMAP, etc) for new email.
From what I can tell of background task, it is only allowed to run for a short time, and can be started only every 15 minutes if it is a timertrigger.
Since I want this app to run on all Windows devices, what is that proper approach to having a background task that can do this? It doesn't seem possible at this point.
But since Windows devices are able to check email in the background, there must be a way. Does anyone have any insights?
What you wish to achieve is a near real time notification of user about a mail he received . You are right that Windows doesn't allow a background task to run at intervals lesser than 15 minutes . What you are looking for is Windows Push Notification Service which can be used to send notifications from your own cloud service onto the device
It is not possible to use a background task working all time to get in real time the new emails in your case.
You must implement another approach may be using your own backend to implement push notifications to send a new notification when a new email is received.
If your provider has an API you can use it.

Recording Call streams separately in FreeSWITCH

I am running a FreeSWITCH server that will function as a call-in radio show. What I want to do is create a platform that will enable the user to edit the show in post-production, which includes creating a custom show/object using the recorded audio.
How I want to do this is record each leg of the call separately, so that way I can record the host separately to the listener calling in. Is this recording action available in FreeSWITCH?
This Question on SO is related:
Call Recording in Freeswitch
and one of the answers mentions the
which according to the official wiki "is used for recording messages, like in a voicemail system".
The question is, Am I able to invoke this record action on both legs of the call? Or any equivalents that exist within FreeSWITCH?
if you set the variable RECORD_STEREO=true and use a FILENAME.wav file as recording destination, the resulting file will have two audio channels, for receiving and sending sides respectively. Then later you can split the channels by your favorite audio editing tool and do what is needed.

Automatic Conference Freeswitch calling to multiple callers depending on caller

I am new to Freeswitch. Is it possible that a specific user calls on a number, which results to a conference call. And system adds multiple people to this conference call automatically. e.g.
User "A" calls at 5656. And whenever user A calls at this no, then the dial plan will begin a conference. And User B,C and D will automatically added to this conference. How will the dial plan look like.
Is it possible to mute all except the caller automatically. Can somebody share Dial plan for both of these things?
Thanks
Check mod_conference conference_set_auto_outcall
http://wiki.freeswitch.org/wiki/Conference_set_auto_outcall
The conference is anyway started by an extension, if you use dial plans. When conference_set_auto_outcall can call some predefined numbers.
you need to issue an originate command after your conference is established. Then it will make outgoing calls and join them into the bridge. See mod_conference documentation on FreeSWITCH wiki.
I think the easiest way to do so is to write a Lua script and execute it from your dialplan.
As far as I know, there's no ready-made piece of configuration, you either need to learn it yourself or pay someone to implement it.

Ntp synchronization video WP7

I guys:)
I am doing an windows phone application that presents videos, but presents when syncronized with an ntp server. I already have a variable with the time but i donĀ“t know now what to do. I try search in google but i dont find anything.. I want to make an application to present the same video at the same time in different phones..
Any help? Examples?
The simplest way to get multiple devices doing something in sync is to define a time at which they should all start (do this on a central server) and then have each device request the amount of time to wait until the start. Each device should then start playback when that period has elapsed.
If you need to have different devices join in at specific ppoints when some are already playing the video your central point will need to send the point to start playing as well as the amount of time to wait until playback shoudl begin.
Due to the latency of the network communication you won't be able to get perfect sync though.

Resources