Exactly,<br><br>Mac - I already answered this and pointed out this was your problem in your previous thread.<br><br>There are three media modes:<br>  Standard - Media flows through FS, full processing options (the default)<br>

  Proxy - Media flows through FS *no* processing options, just passed straight through<br>  Bypass - Media flows around FS<br><br>If you want to do anything that requires making a change to the media you have to use Standard.<br>

<br>This is equivalent to:<br>&lt;action application=&quot;set&quot; data=&quot;proxy_media=<b>false</b>&quot;/&gt;<br>&lt;action application=&quot;set&quot; data=&quot;bypass_media=<b>false</b>&quot;/&gt;<br><br>Since it&#39;s the default those lines are *not* required (leave them out completely) unless you&#39;ve set either of those modes on your SIP profile in which case it would override the profile&#39;s parameter.<br>

<br>Steve<br><br><br><br><div class="gmail_quote">On 23 February 2011 00:16, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

just because you want to make a proxy and there is a mode with the<br>
name proxy in it, you do not have to use it.<br>
proxy_media mode is not going to work with inband detection because<br>
then you are looking at the media and not really proxying it.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
On Sun, Feb 20, 2011 at 11:46 AM, Mac &lt;<a href="mailto:validator77@gmail.com">validator77@gmail.com</a>&gt; wrote:<br>
&gt; Dear ALL,<br>
&gt;<br>
&gt; Thats my first post here. I am struggling for some time with DTMF issue.<br>
&gt; Let me introduce you my configuration.<br>
&gt;<br>
&gt; The main task is to configure RTP Proxy with full topology hiding -<br>
&gt; OPERATOR_1 ------- Freeswitch ------- OPERATOR_2<br>
&gt; Here is a prt of my config:<br>
&gt; - sip profile.<br>
&gt; I have one new sip profile with two gateways (OPERATOR_1 and OPERATOR_2)<br>
&gt; &lt;include&gt;<br>
&gt;   &lt;gateway name=&quot;OP1&quot;&gt;<br>
&gt;     &lt;param name=&quot;username&quot; value=&quot;X1.Y1.V1.Z1&quot;/&gt;<br>
&gt;     &lt;param name=&quot;password&quot; value=&quot;09321234&quot;/&gt;<br>
&gt;     &lt;param name=&quot;proxy&quot; value=&quot;X1.Y1.V1.Z1&quot;/&gt;<br>
&gt;     &lt;param name=&quot;from-domain&quot; value=&quot;<a href="http://test.com" target="_blank">test.com</a>&quot;/&gt;<br>
&gt;     &lt;param name=&quot;register&quot; value=&quot;false&quot;/&gt;<br>
&gt;     &lt;param name=&quot;caller-id-in-from&quot; value=&quot;true&quot;/&gt;<br>
&gt;     &lt;param name=&quot;extension&quot; value=&quot;test&quot;/&gt;<br>
&gt;     &lt;param name=&quot;extension-in-contact&quot; value=&quot;true&quot;/&gt;<br>
&gt;     &lt;param name=&quot;outbound-codec-prefs&quot; value=&quot;$${outbound_codec_<br>
&gt; prefs}&quot;/&gt;<br>
&gt;     &lt;param name=&quot;disable-transcoding&quot; value=&quot;true&quot;/&gt;<br>
&gt;     &lt;param name=&quot;inbound-late-negotiation&quot; value=&quot;true&quot;/&gt;<br>
&gt;   &lt;/gateway&gt;<br>
&gt; &lt;/include&gt;<br>
&gt;<br>
&gt; - dialplan<br>
&gt; &lt;include&gt;<br>
&gt;   &lt;context name=&quot;public&quot;&gt;<br>
&gt;         &lt;extension name=&quot;term&quot;&gt;<br>
&gt;                 &lt;condition field=&quot;network_addr&quot;<br>
&gt; expression=&quot;^(X1\.Y1\.V1\.Z1|X2\.Y2\.V1\.Z1)$&quot; break=&quot;on-false&quot;/&gt;<br>
&gt;                 &lt;condition field=&quot;destination_number&quot;<br>
&gt; expression=&quot;^46(\d{9})$&quot;&gt;<br>
&gt;                 &lt;action application=&quot;set&quot; data=&quot;proxy_media=true&quot;/&gt;<br>
&gt;                 &lt;action application=&quot;set&quot; data=&quot;bypass_media=false&quot;/&gt;<br>
&gt;                 &lt;action application=&quot;start_dtmf&quot;/&gt;<br>
&gt;                 &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/OP1/$0&quot;/&gt;<br>
&gt;                 &lt;/condition&gt;<br>
&gt;         &lt;/extension&gt;<br>
&gt;   &lt;/context&gt;<br>
&gt; &lt;/include&gt;<br>
&gt;<br>
&gt; Everything is fine, but i have problem with DTMF conversion from RFC2833 to<br>
&gt; inband.<br>
&gt; Refering to <a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_start_dtmf" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_start_dtmf</a><br>
&gt; and <a href="http://wiki.freeswitch.org/wiki/Proxy_Media" target="_blank">http://wiki.freeswitch.org/wiki/Proxy_Media</a> i have done all the<br>
&gt; necessary things.<br>
&gt;<br>
&gt; vars.xml<br>
&gt;   &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;global_codec_prefs=PCMA,G.729,PCMU,GSM&quot;/&gt;<br>
&gt;   &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;outbound_codec_prefs=PCMA,G.729,PCMU,GSM&quot;/&gt;<br>
&gt;<br>
&gt; The after-effect is following output:<br>
&gt; [ERR] switch_core_io.c:1055 Codec PROXY PASS-THROUGH encoder error!<br>
&gt;<br>
&gt; Placing  &lt;param name=&quot;dtmf-type&quot; value=&quot;none&quot;/&gt; does not help anyway.<br>
&gt;<br>
&gt; Could sb point me where the problem is located?<br>
&gt;<br>
&gt; Thanks in advance,<br>
&gt; Mac<br>
</div></div><div class="im">&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div>--<br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">

</div>