<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Arsen,<br>
<br>
Thanks a lot for your quick valuable answer. I will try this out.<br>
<br>
Arsen Chaloyan wrote:
<blockquote cite="mid:103875.14803.qm@web52706.mail.re2.yahoo.com"
 type="cite">
  <style type="text/css"><!-- DIV {margin:0px;} --></style>
  <div
 style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
  <div
 style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hi
Kamil,<br>
  <br>
Yes, it's possible for OpenMRCP client stack to stay out of media
processing.<br>
You should explicitly specify audio channel and set mode to
MRCP_AUDIO_CHANNEL_NONE not to use internal media processing stack for
this channel. See the sample below<br>
  <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; mrcp_audio_channel_mode_t mode =
MRCP_AUDIO_CHANNEL_NONE;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; mrcp_media_audio_t *local_media= NULL;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; mrcp_audio_channel_t *audio_channel = NULL;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; mrcp_media_base_t *mrcp_media;<br>
  <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; local_media =
mrcp_audio_media_create(console_session-&gt;pool);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; mrcp_media = &amp;local_media-&gt;base;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; mrcp_media-&gt;state = MRCP_MEDIA_ENABLED;<br>
  <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; mrcp_media-&gt;port = 5678;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; mrcp_media-&gt;ip="192.168.0.1";<br>
  <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; local_media-&gt;ptime = 20;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; audio_channel =
mrcp_client_audio_channel_create(console-&gt;client_context,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
console_session-&gt;client_session,local_media,mode);<br>
  <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
mrcp_client_context_channel_add(console-&gt;client_context,console_session-&gt;client_session,channel,audio_channel);<br>
  <br>
I see at least two use cases for such kind of setup<br>
- external media processing stack is used with OpenMRCP client (as you
described)<br>
- OpenMCRP client is used as B2BUA and stay out of media path (direct
media between endpoints)<br>
  <br>
Hope this helps,<br>
Arsen.<br>
  <br>
  <div
 style="font-family: times new roman,new york,times,serif; font-size: 12pt;">-----
Original Message ----<br>
From: Kamil Shakirov <a class="moz-txt-link-rfc2396E" href="mailto:kamils80@gmail.com">&lt;kamils80@gmail.com&gt;</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:openmrcp-users@tron.freeswitch.org">openmrcp-users@tron.freeswitch.org</a><br>
Sent: Wednesday, March 26, 2008 1:46:25 PM<br>
Subject: [Openmrcp-users] Third party media processing<br>
  <br>
Hi,<br>
  <br>
We are considering to integrate OpenMrcp client (MRCPv2 only) into our <br>
existing IVR platform (up to 16E1) to enable TTS/ASR capabilities <br>
(Nuance). Our IVR platform heavily uses NMS's hardware MSPP (hardware <br>
media processing (encoding/decoding) and streaming) to release more <br>
resources for general CPU and utilize NMS's hardware as much as <br>
possible. Is that possible to use only the core of the OpenMrcp <br>
framework to communicate with MRCPv2 server (all SIP/SDP/MRCPv2 stuff) <br>
and handle all voice media processing outside the framework (in our
case <br>
using NMS's MSPP)?<br>
  <br>
Thanks a lot.<br>
  <br>
  <br>
_______________________________________________<br>
Openmrcp-users mailing list<br>
  <a moz-do-not-send="true"
 ymailto="mailto:Openmrcp-users@tron.freeswitch.org"
 href="mailto:Openmrcp-users@tron.freeswitch.org">Openmrcp-users@tron.freeswitch.org</a><br>
  <a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/listinfo/openmrcp-users"
 target="_blank">http://lists.freeswitch.org/mailman/listinfo/openmrcp-users</a><br>
  </div>
  <br>
  </div>
  </div>
</blockquote>
<br>
</body>
</html>