Event socket access to conversation audio
Hi, I'm wondering if the FreeSwitch ESL (or DPtools for that matter) provide any mechanism to directly access the audio channels in a conversation? For instance, instead of just recording to a file, I'd like to pass the channel to python, which will perform some realtime processing on the raw audio, before writing it somewhere else. Is this possible, or do I need to modify the core? Thanks!
you can send the audio to some real-time, non-blocking channel -- the easiest way is to have the RTP stream to a UDP port on the same machine. see the Endpoints section at https://freeswitch.org/confluence/display/FREESWITCH/Modules On Tue, Jan 26, 2016 at 5:13 PM, . <joes.mailing.lists@gmail.com> wrote:
Hi,
I'm wondering if the FreeSwitch ESL (or DPtools for that matter) provide any mechanism to directly access the audio channels in a conversation?
For instance, instead of just recording to a file, I'd like to pass the channel to python, which will perform some realtime processing on the raw audio, before writing it somewhere else.
Is this possible, or do I need to modify the core?
Thanks!
_________________________________________________________________________ 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
Thanks Stanislav, this was just the hint/keyword I guess I needed. Best, Joe On Wed, Jan 27, 2016 at 8:30 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
you can send the audio to some real-time, non-blocking channel -- the easiest way is to have the RTP stream to a UDP port on the same machine.
see the Endpoints section at https://freeswitch.org/confluence/display/FREESWITCH/Modules
On Tue, Jan 26, 2016 at 5:13 PM, . <joes.mailing.lists@gmail.com> wrote:
Hi,
I'm wondering if the FreeSwitch ESL (or DPtools for that matter) provide any mechanism to directly access the audio channels in a conversation?
For instance, instead of just recording to a file, I'd like to pass the channel to python, which will perform some realtime processing on the raw audio, before writing it somewhere else.
Is this possible, or do I need to modify the core?
Thanks!
_________________________________________________________________________ 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
_________________________________________________________________________ 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
see *scripts/c/socket2me/*socket2me.c Its how we would feed spandsp prior to the license change. On Wed, Jan 27, 2016 at 3:17 PM, . <joes.mailing.lists@gmail.com> wrote:
Thanks Stanislav, this was just the hint/keyword I guess I needed. Best, Joe
On Wed, Jan 27, 2016 at 8:30 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
you can send the audio to some real-time, non-blocking channel -- the easiest way is to have the RTP stream to a UDP port on the same machine.
see the Endpoints section at https://freeswitch.org/confluence/display/FREESWITCH/Modules
On Tue, Jan 26, 2016 at 5:13 PM, . <joes.mailing.lists@gmail.com> wrote:
Hi,
I'm wondering if the FreeSwitch ESL (or DPtools for that matter) provide any mechanism to directly access the audio channels in a conversation?
For instance, instead of just recording to a file, I'd like to pass the channel to python, which will perform some realtime processing on the raw audio, before writing it somewhere else.
Is this possible, or do I need to modify the core?
Thanks!
_________________________________________________________________________
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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
participants (3)
-
.
-
Brian West
-
Stanislav Sinyagin