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 - 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_<div>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" expression="^(X1\.Y1\.V1\.Z1|X2\.Y2\.V1\.Z1)$" break="on-false"/><br> <condition field="destination_number" 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 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> 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 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><font color="#888888">Mac</font></div>