<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>I don’t think there’s an API that you can use to tap on the RTP stream. You can always record your call in stereo and post-process the file, if that’s valid for what you’re trying to do.</div>
<div><br>
</div>
<div>If not, check the MRCP protocol. I guess you can write an MRCP server (or use an existing one), and stream the audio from FS using mod_unimrcp. That’s how you integrate 3rd party ASR systems (e.g. Nuance’s Recognizer) with FreeSWITCH.</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span><<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>> on behalf of Prashant Choudhary <<a href="mailto:get.prashant.007@gmail.com">get.prashant.007@gmail.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>"<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>" <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
<span style="font-weight:bold">Date: </span>Sunday, July 19, 2015 at 4:24 PM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>" <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Freeswitch-users] mod_managed vs eventsocket<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">Hello,<br>
Now I have even managed to do outbound calls. I have a real problem now.<br>
How can I get the audio stream from the person on the other end. I want the audio stream to be sent to my API in real time. I want to detect silence as well, but we can do that by experiment. Only thing is that I am unable to get the audio stream. And this
stream should only have the voice of person being called, not mine(i.e. the incoming audio). Is it possible??
<div>Please help</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Jul 18, 2015 at 2:57 PM, Prashant Choudhary <span dir="ltr">
<<a href="mailto:get.prashant.007@gmail.com" target="_blank">get.prashant.007@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Sorry for my last mail, which was a little more generic. Thing is, I am able to receive and manage Inbound calls. But I am unable to figure out, how to make outbound calls through mod_managed. I was able to do the same through event socket API.
One benefit of event socket was that I could run it as separate console application , but I am not sure whether it is possible through mod managed as well.
<div>SO again my question remains the same. But it is more towards outbound calling.</div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Jul 18, 2015 at 1:11 AM, Prashant Choudhary <span dir="ltr">
<<a href="mailto:get.prashant.007@gmail.com" target="_blank">get.prashant.007@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello All,<br>
<br>
I have worked with LUA and freeswitch. Now I want to migrate to .Net API as I want to experiment with machine learning using sample calls. I am trying to control around some 2-300 calls directly through my API. This may require the call audio stream to be
forwarded in real time to .NET
<div> I a few questions that might be very silly.<br>
<br>
1. Which one is better to achieve this, mod_managed or ESL.</div>
<div>2. I was able to find some examples related to eventsocket, but same for mod_Managed was rare. Can you suggest me any doc(of-course except the wiki link) or any email chain which explains this or anything else. This will be really a big help for me. As
currently I am stuck. And I still find the LUA way easier.<br>
<br>
Thanks</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</span>
</body>
</html>