[Freeswitch-users] Send RTP to external server

Mundkowsky, Robert rmundkowsky at ets.org
Wed Feb 28 19:17:01 UTC 2018


It is actually fairly common to want to stream audio/video to somewhere to process the data in real time, rather than waiting until recording is finished.

For example, if want to convert audio to text (ASR) then you do not want to wait until the conference is over before you start the ASR.  Imagine, your ASR takes 1 minute to convert 1 minute of audio then if a conference is 30 minutes long, you would have to wait another 30 minutes for the ASR to finish before you could do something with the text.

I believe you can use gstreamer (https://gstreamer.freedesktop.org/) to handle receiving the RTP from a FreeSWITCH conference.  I think it allows you to sample frames if you want to get frames from video granted I think you are only interested in audio, but I think you still have to develop a daemon that understand SIP/RTP in order to talk to FreeSWITCH.  Another approach might be to create a plugin for the Unimrcp (MRCPv2 server http://www.unimrcp.org/ ) and talk to the FreeSWITCH using their mrcp module and tight that to the conference call.  You might be able to hack the Kaldi plugin for Unimrcp to do what you want.

Robert

From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Tihomir Culjaga
Sent: Wednesday, February 28, 2018 1:47 PM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Send RTP to external server

why do you want to stream... isn't it enough just to rsync the file once the call is finished ?

On 28 February 2018 at 16:16, Mickael Hubert <mickael at winlux.fr<mailto:mickael at winlux.fr>> wrote:
Hi
thanks a lot for your answer.
But I want to send stream to external server, not record in audio file. i can use record to "capture" the voice, but to stream it, it's more complicated ;)
thanks in advance

2018-02-21 0:50 GMT+01:00 Brian West <brian at freeswitch.com<mailto:brian at freeswitch.com>>:
you can already do this without SIPREC in freeswitch. By setting the RECORD_READ_ONLY or RECORD_WRITE_ONLY variables.

/b


On Fri, Feb 16, 2018 at 10:33 AM, Mickael Hubert <mickael at winlux.fr<mailto:mickael at winlux.fr>> wrote:
Hi list,
I want to record each call through freeswitch. But i want record only caller (SSRC 1) OR callee (SSRC 2) voice (not both).

I read about SIPREC, Jack, etc ... not interesting

Do you have a idea for me please ?

Thanks in advance

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitchsolutions.com&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=6wPzLzP8i%2FDBCXxEyl%2F7xIPJ2hYQy9C2NNGXSiRvfKc%3D&reserved=0>

Official FreeSWITCH Sites
http://www.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitch.org&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=36oG%2FMWaCRXZ%2BfGlz79y3Uv80cWbJvOvf3UtJrUZgKU%3D&reserved=0>
http://confluence.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fconfluence.freeswitch.org&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=Fvt9Vq6L9eMPg6cfmpWZURJdemUPRGBOTkXsCKDC5yk%3D&reserved=0>
http://www.cluecon.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.cluecon.com&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=Qe%2F2MQhf1lJmX1SfvyqVqxdnaxIdYzffbuf7eNPrSr0%3D&reserved=0>

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<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Flistinfo%2Ffreeswitch-users&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=mdeOaiFaQ3UDDrIaOowtRBUXi4QcX5qlplMJAEP6eHM%3D&reserved=0>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Foptions%2Ffreeswitch-users&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=KqGoGGxqpgJFj494jDK%2FcI3kEsImyIWHdBZnnRW7FX4%3D&reserved=0>
http://www.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitch.org&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=36oG%2FMWaCRXZ%2BfGlz79y3Uv80cWbJvOvf3UtJrUZgKU%3D&reserved=0>



--
[https://docs.google.com/uc?export=download&id=1xswZRZyVDo0WQhaemK47pU266yzDRmi0&revid=0B2xnT7i45ngrMTVKM1dpSHZIN28zU0QzbW9xeVF6RXFyRHhBPQ]

Brian West | Co-founder and Developer

Need Commercial support? email sales at freeswitch.com<mailto:sales at freeswitch.com>

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmaps.google.com%2F%3Fq%3D17345%2BCivic%2BDrive%2B%25232531%2BBrookfield%2C%2BWI%2B53045%26entry%3Dgmail%26source%3Dg&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=nCSm%2Bs80cyaROgBIPx16xnSicG4Sblr1FrHsg4Xp81E%3D&reserved=0>

Email: brian at freeswitch.com<mailto:brian at freeswitch.com>

Mobile: 918-424-9378<tel:(918)%20424-9378>

Website: https://www.FreeSWITCH.com<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.freeswitch.com%2F&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=RUnlgnj30m5rtQ8L9WTlOK0ziwiFDsrfSuCvBh%2BKwMs%3D&reserved=0>

[color-facebook-96.png]<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2Ffreeswitch%2F&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=R8q2ro40M8R34Hj6hP95trc2vjXUGi2hlkJz5Ygnw7s%3D&reserved=0>[color-twitter-96.png]<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Ffreeswitch%3Fref_src%3Dtwsrc%255Egoogle%257Ctwcamp%255Eserp%257Ctwgr%255Eauthor&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=oGzH9Gmdql7RH5OpCL%2BrD%2FVTNIOYTeA4B28bkU2frtM%3D&reserved=0>

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitchsolutions.com&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=6wPzLzP8i%2FDBCXxEyl%2F7xIPJ2hYQy9C2NNGXSiRvfKc%3D&reserved=0>

Official FreeSWITCH Sites
http://www.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitch.org&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=36oG%2FMWaCRXZ%2BfGlz79y3Uv80cWbJvOvf3UtJrUZgKU%3D&reserved=0>
http://confluence.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fconfluence.freeswitch.org&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=Fvt9Vq6L9eMPg6cfmpWZURJdemUPRGBOTkXsCKDC5yk%3D&reserved=0>
http://www.cluecon.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.cluecon.com&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=Qe%2F2MQhf1lJmX1SfvyqVqxdnaxIdYzffbuf7eNPrSr0%3D&reserved=0>

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<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Flistinfo%2Ffreeswitch-users&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=mdeOaiFaQ3UDDrIaOowtRBUXi4QcX5qlplMJAEP6eHM%3D&reserved=0>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Foptions%2Ffreeswitch-users&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=KqGoGGxqpgJFj494jDK%2FcI3kEsImyIWHdBZnnRW7FX4%3D&reserved=0>
http://www.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitch.org&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=36oG%2FMWaCRXZ%2BfGlz79y3Uv80cWbJvOvf3UtJrUZgKU%3D&reserved=0>


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitchsolutions.com&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=6wPzLzP8i%2FDBCXxEyl%2F7xIPJ2hYQy9C2NNGXSiRvfKc%3D&reserved=0>

Official FreeSWITCH Sites
http://www.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitch.org&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=36oG%2FMWaCRXZ%2BfGlz79y3Uv80cWbJvOvf3UtJrUZgKU%3D&reserved=0>
http://confluence.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fconfluence.freeswitch.org&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=Fvt9Vq6L9eMPg6cfmpWZURJdemUPRGBOTkXsCKDC5yk%3D&reserved=0>
http://www.cluecon.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.cluecon.com&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=Qe%2F2MQhf1lJmX1SfvyqVqxdnaxIdYzffbuf7eNPrSr0%3D&reserved=0>

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<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Flistinfo%2Ffreeswitch-users&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=mdeOaiFaQ3UDDrIaOowtRBUXi4QcX5qlplMJAEP6eHM%3D&reserved=0>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Foptions%2Ffreeswitch-users&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=KqGoGGxqpgJFj494jDK%2FcI3kEsImyIWHdBZnnRW7FX4%3D&reserved=0>
http://www.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitch.org&data=02%7C01%7Crmundkowsky%40ets.org%7C4f0c6786eb0f40725f8a08d57edbe173%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636554405236219602&sdata=36oG%2FMWaCRXZ%2BfGlz79y3Uv80cWbJvOvf3UtJrUZgKU%3D&reserved=0>


________________________________

This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited.


Thank you for your compliance.

________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180228/9a3d4030/attachment-0001.html>


More information about the FreeSWITCH-users mailing list