[Freeswitch-users] Recording each leg of a conference call separately
Stephen Dame
sdame at 207me.com
Tue Mar 1 16:28:49 MSK 2016
Daniel,
We use this in dialplan right before transfering user into conference for testing only. Gives us recording of audio before it goes into mod_conference, and also what the user hears back.
This is mostly for testing stereo spatial audio changes when we debug to see if audio pops are generated prior to going into the conference.
You can just record the “write” and get a file for each member.
<action application="set" data="RECORD_WRITE_ONLY=true"/>
<action application="record_session" data="/opt/freeswitch/recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}_write.wav"/>
<action application="set" data="RECORD_READ_ONLY=true"/>
<action application="record_session" data="/opt/freeswitch/recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}_read.wav"/>
Regards,
Stephen
207 Technology Group Inc. 1-888-229-9756 skype: Stephen_Dame
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Delvin Varghese
Sent: Tuesday, March 01, 2016 4:16 AM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Recording each leg of a conference call separately
I have considered using sox to split the audio, but that is a very last resort i want to consider… Trying to build a quality system where the user can chose which participant(s) to have in the final audio recording… So we don’t want everyone in a conference to be heard in the final audio file..
@Michael, i will try out the RECORD_WRITE_ONLY and READ_ONLY variables to see what i can do with it!
Thanks,
Delvin
On 29 Feb 2016, at 23:29, freeswitch-users-request at lists.freeswitch.org <mailto:freeswitch-users-request at lists.freeswitch.org> wrote:
Send FreeSWITCH-users mailing list submissions to
freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org>
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
or, via email, send a message with subject or body 'help' to
freeswitch-users-request at lists.freeswitch.org <mailto:freeswitch-users-request at lists.freeswitch.org>
You can reach the person managing the list at
freeswitch-users-owner at lists.freeswitch.org <mailto:freeswitch-users-owner at lists.freeswitch.org>
When replying, please edit your Subject line so it is more specific
than "Re: Contents of FreeSWITCH-users digest..."
Today's Topics:
1. Re: Recording each leg of a conference call separately
(Michael Collins)
2. Re: File not found (Michael Collins)
3. Re: originate and valet_park (Michael Collins)
4. Re: originate and valet_park (Gregor Nanger)
From: Michael Collins <msc at freeswitch.org <mailto:msc at freeswitch.org> >
Subject: Re: [Freeswitch-users] Recording each leg of a conference call separately
Date: 29 February 2016 at 22:24:44 GMT
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org> >
Reply-To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org> >
I would test drive this channel var on each leg's dialplan where you do the recording:
https://freeswitch.org/confluence/display/FREESWITCH/Variables#Variables-RECORD_WRITE_ONLY
Don't forget about its counterpart RECORD_READ_ONLY.
Let us know if one of those works for you.
-MC
On Mon, Feb 29, 2016 at 10:46 AM, Delvin Varghese <delvin.friends at gmail.com <mailto:delvin.friends at gmail.com> > wrote:
Hi all,
I am familiar with the record and record_session commands in freeswitch to initiate recordings, and also using ESL.. But is there a way to record ONLY the speech from one device at a time in separate recordings? The way i am envisioning is that if there are 9 different devices involved in a conference call, that at the end of it I would be able to access 9 recordings (each containing only the outbound voice from that device)…
Is this possible? What are people’s thoughts?
Delvin
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org <http://www.freeswitch.org/>
From: Michael Collins <msc at freeswitch.org <mailto:msc at freeswitch.org> >
Subject: Re: [Freeswitch-users] File not found
Date: 29 February 2016 at 23:11:58 GMT
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org> >
Reply-To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org> >
It's unlikely that you're missing a setting. I was not able to duplicate this on latest git. I would get a second system up and running in a lab environment with 1.6.6 (current release). See if you can reproduce the symptoms and take it from there.
-MC
On Sun, Feb 28, 2016 at 8:54 PM, Vishal Sharma <vishal.sharma at knowlarity.com <mailto:vishal.sharma at knowlarity.com> > wrote:
Hi,
I am using FS 1.6.5, when FS tries to play a file (/doesnotexist/srv/sounds/automation/media-sec.mp3) which doesn't exist on file system, it takes 20 seconds for it to respond that file is not present and dead air is played during this time.
On FS 1.4 and 1.2, it used to respond instantly.
Am i missing some setting ...
Regards,
Vishal Sharma
SuperReceptionist is now available on Android mobiles. Track your business on the go with call analytics, recordings, insights and more: Download the app here <https://play.google.com/store/apps/details?id=com.superreceptionist>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org <http://www.freeswitch.org/>
From: Michael Collins <msc at freeswitch.org <mailto:msc at freeswitch.org> >
Subject: Re: [Freeswitch-users] originate and valet_park
Date: 29 February 2016 at 23:19:14 GMT
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org> >
Reply-To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org> >
FWIW, this syntax worked for me:
originate user/1000 &valet_park('mylot 5555')
-MC
On Sat, Feb 27, 2016 at 7:34 AM, Gregor Nanger <gregor at infomedia.si <mailto:gregor at infomedia.si> > wrote:
Is it possible to originate call and after answer park it in valet? I tried something like:
originate user/1000 &valet_park mylot 5555
Extension rings and after pickup call is disconnected.
Please for hint how to correctly format command or how to achive such scenario in different way.
Best regards, Gregor
<http://t.sidekickopen36.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v5dbp0W3MPnzY4XrbSMW8q-f_43LvrVvW59BB4r1k1H6H0?si=5036397111279616&pi=74a0ce65-ba4f-40ba-e1c5-2e4aaf26caa7>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org <http://www.freeswitch.org/>
From: Gregor Nanger <gregor at infomedia.si <mailto:gregor at infomedia.si> >
Subject: Re: [Freeswitch-users] originate and valet_park
Date: 29 February 2016 at 23:28:23 GMT
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org> >
Reply-To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org> >
And the Oscar goes to Michael :-)
Thank you, it works for me too.
<http://t.sidekickopen36.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v5dbp0W3MPnzY4XrbSMW8q-f_43LvrVvW59BB4r1k1H6H0?si=5036397111279616&pi=cfe5e868-5cf9-4404-dbed-9268df1b5fb5>
2016-03-01 0:19 GMT+01:00 Michael Collins <msc at freeswitch.org <mailto:msc at freeswitch.org> >:
FWIW, this syntax worked for me:
originate user/1000 &valet_park('mylot 5555')
-MC
On Sat, Feb 27, 2016 at 7:34 AM, Gregor Nanger <gregor at infomedia.si <mailto:gregor at infomedia.si> > wrote:
Is it possible to originate call and after answer park it in valet? I tried something like:
originate user/1000 &valet_park mylot 5555
Extension rings and after pickup call is disconnected.
Please for hint how to correctly format command or how to achive such scenario in different way.
Best regards, Gregor
<http://t.sidekickopen36.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v5dbp0W3MPnzY4XrbSMW8q-f_43LvrVvW59BB4r1k1H6H0?si=5036397111279616&pi=74a0ce65-ba4f-40ba-e1c5-2e4aaf26caa7>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org <http://www.freeswitch.org/>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org <http://www.freeswitch.org/>
--
Gregor Nanger
CTO
t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485
• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia
• www.infomedia.si <http://www.infomedia.si/>
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/fef973e4/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list