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><action application="set" data="proxy_media=<b>false</b>"/><br><action application="set" data="bypass_media=<b>false</b>"/><br><br>Since it's the default those lines are *not* required (leave them out completely) unless you've set either of those modes on your SIP profile in which case it would override the profile's parameter.<br>
<br>Steve<br><br><br><br><div class="gmail_quote">On 23 February 2011 00:16, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></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 <<a href="mailto:validator77@gmail.com">validator77@gmail.com</a>> wrote:<br>
> Dear ALL,<br>
><br>
> Thats my first post here. I am struggling for some time with DTMF issue.<br>
> Let me introduce you my configuration.<br>
><br>
> The main task is to configure RTP Proxy with full topology hiding -<br>
> OPERATOR_1 ------- Freeswitch ------- OPERATOR_2<br>
> Here is a prt of my config:<br>
> - sip profile.<br>
> I have one new sip profile with two gateways (OPERATOR_1 and OPERATOR_2)<br>
> <include><br>
> <gateway name="OP1"><br>
> <param name="username" value="X1.Y1.V1.Z1"/><br>
> <param name="password" value="09321234"/><br>
> <param name="proxy" value="X1.Y1.V1.Z1"/><br>
> <param name="from-domain" value="<a href="http://test.com" target="_blank">test.com</a>"/><br>
> <param name="register" value="false"/><br>
> <param name="caller-id-in-from" value="true"/><br>
> <param name="extension" value="test"/><br>
> <param name="extension-in-contact" value="true"/><br>
> <param name="outbound-codec-prefs" value="$${outbound_codec_<br>
> prefs}"/><br>
> <param name="disable-transcoding" value="true"/><br>
> <param name="inbound-late-negotiation" value="true"/><br>
> </gateway><br>
> </include><br>
><br>
> - dialplan<br>
> <include><br>
> <context name="public"><br>
> <extension name="term"><br>
> <condition field="network_addr"<br>
> expression="^(X1\.Y1\.V1\.Z1|X2\.Y2\.V1\.Z1)$" break="on-false"/><br>
> <condition field="destination_number"<br>
> expression="^46(\d{9})$"><br>
> <action application="set" data="proxy_media=true"/><br>
> <action application="set" data="bypass_media=false"/><br>
> <action application="start_dtmf"/><br>
> <action application="bridge" data="sofia/gateway/OP1/$0"/><br>
> </condition><br>
> </extension><br>
> </context><br>
> </include><br>
><br>
> Everything is fine, but i have problem with DTMF conversion from RFC2833 to<br>
> inband.<br>
> 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>
> 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>
> necessary things.<br>
><br>
> vars.xml<br>
> <X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMA,G.729,PCMU,GSM"/><br>
> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA,G.729,PCMU,GSM"/><br>
><br>
> The after-effect is following output:<br>
> [ERR] switch_core_io.c:1055 Codec PROXY PASS-THROUGH encoder error!<br>
><br>
> Placing <param name="dtmf-type" value="none"/> does not help anyway.<br>
><br>
> Could sb point me where the problem is located?<br>
><br>
> Thanks in advance,<br>
> Mac<br>
</div></div><div class="im">> _______________________________________________<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>
><br>
><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>