rod,<br><br>it looks more complicated now when PEER C comes to the picture. i think we&#39;ll have to wait for the availability of  g729 on FS, as per Anthony&#39;s post.<br><br>/nandy<br>
<br><br><div class="gmail_quote">On Fri, Sep 4, 2009 at 1:54 PM, rod <span dir="ltr">&lt;<a href="mailto:kawarod@laposte.net">kawarod@laposte.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Nandy,<br>
<br>
yes already tried this, but if I use proxy_media=true, FS makes no<br>
control on the content of the RTP stream. But the pbm is that I need to<br>
use this:<br>
<a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_start_dtmf_generate" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_start_dtmf_generate</a><br>
This function enables transcoding of SIP_INFO or RFC2833 to Inband DTMF<br>
in G711<br>
<br>
But this feature doesn&#39;t work if I&#39;m using proxy_media=true.<br>
<br>
In fact my setup is the following:<br>
<br>
CPE using G711A, G729 and SIP INFO for DTMF<br>
PEER_A using G729 only and RFC_2833<br>
PEER_B using G711 and SIP INFO<br>
<br>
I have been able to make this works, with proxy_media=true for PEER_B<br>
cause I don&#39;t need transcoding of DTMF (SIP INFO to SIP INFO).<br>
For PEER_A, proxy_media is set to false (default) cause  I need<br>
transcoding SIP INFO to RFC2833. I&#39;m able to use G729 using<br>
codec_negotiation=greedy and setting G729 with highest priority on my<br>
internal profile.<br>
<br>
But the pbm is that I need to add PEER_C.<br>
PEER_C needs G711 with transcoding DTMF from SIP_INFO to Inband.<br>
<br>
And this is where I&#39;m stuck, cause using &quot;greedy settings and G729 with<br>
priority 1 in my codec list and proxy_media=false&quot; force FS to negotiate<br>
G729 on leg A. But Leg B is willing to use G711 and FS is unable to<br>
transcode G729 &lt;---&gt; G711.<br>
<br>
I was wondering if there is a way for FS to force the codec order on Leg<br>
A with some knowledge of the preferred codec on Leg B, ie I know that<br>
Leg B will always use G711 so that I want to biase the SDP answer on Leg<br>
A based on this fact.<br>
<br>
regards,<br>
rod<br>
<br>
Nandy Dagondon a écrit :<br>
<div class="im">&gt; rod,<br>
&gt;<br>
&gt; have you tried this?<br>
&gt; <a href="http://lists.freeswitch.org/pipermail/freeswitch-users/2008-March/002199.html" target="_blank">http://lists.freeswitch.org/pipermail/freeswitch-users/2008-March/002199.html</a><br>
&gt;<br>
&gt; /nandy<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Sep 3, 2009 at 2:50 PM, rod &lt;<a href="mailto:kawarod@laposte.net">kawarod@laposte.net</a><br>
</div><div><div></div><div class="h5">&gt; &lt;mailto:<a href="mailto:kawarod@laposte.net">kawarod@laposte.net</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Hi Michael,<br>
&gt;<br>
&gt;     I did some tests but I haven&#39;t been successful, so there is what I&#39;m<br>
&gt;     trying to achieve:<br>
&gt;<br>
&gt;     On A leg, my phone is using: PCMA and G729 (in this priority order)<br>
&gt;<br>
&gt;     With PEER A, I want to use only G729 (thats is the only codec that<br>
&gt;     this<br>
&gt;     PEER support), so that the RTP flow will be:<br>
&gt;        Phone-----G729----FS-----G729-----PEER_A<br>
&gt;<br>
&gt;     With PEER B, I want to use only G711, so:<br>
&gt;        Phone-----G711----FS-----G711-----PEER_B<br>
&gt;<br>
&gt;     In fact, I&#39;d like to force FS announcing the codec list priority based<br>
&gt;     on the priority of the codec announced by the PEER, cause FS is unable<br>
&gt;     to transcode G729 &lt;--&gt; G711.<br>
&gt;<br>
&gt;     Tried a lot of things (greedy for codec-negociation, late_codec,<br>
&gt;     disable_transcoding, codec-prefs) without success.<br>
&gt;<br>
&gt;     If you have some clue.<br>
&gt;<br>
&gt;     regards,<br>
&gt;     rod<br>
&gt;<br>
&gt;     Michael Collins a écrit :<br>
&gt;     &gt; Check out this page:<br>
&gt;     &gt; <a href="http://wiki.freeswitch.org/wiki/Codec_negotiation" target="_blank">http://wiki.freeswitch.org/wiki/Codec_negotiation</a><br>
&gt;     &gt;<br>
&gt;     &gt; Late negotiation will probably let you handle all the cases you<br>
&gt;     need.<br>
&gt;     &gt; -MC<br>
&gt;     &gt;<br>
&gt;     &gt; On Mon, Aug 31, 2009 at 8:00 AM, rod &lt;<a href="mailto:kawarod@laposte.net">kawarod@laposte.net</a><br>
&gt;     &lt;mailto:<a href="mailto:kawarod@laposte.net">kawarod@laposte.net</a>&gt;<br>
</div></div><div><div></div><div class="h5">&gt;     &gt; &lt;mailto:<a href="mailto:kawarod@laposte.net">kawarod@laposte.net</a> &lt;mailto:<a href="mailto:kawarod@laposte.net">kawarod@laposte.net</a>&gt;&gt;&gt; wrote:<br>

&gt;     &gt;<br>
&gt;     &gt;     Hi all,<br>
&gt;     &gt;<br>
&gt;     &gt;     I&#39;m wondering if I can do something like this:<br>
&gt;     &gt;        - in my internal profile, I have this because of some PEER<br>
&gt;     &gt;     using G729:<br>
&gt;     &gt;              - &lt;param name=&quot;disable-transcoding&quot; value=&quot;true&quot;/&gt;<br>
&gt;     &gt;<br>
&gt;     &gt;     But for a specific PEER, I&#39;d like to activate transcoding:<br>
&gt;     &gt;              - for this PEER, only G711 is used<br>
&gt;     &gt;              - I&#39;d like to transcode DTMF SIP INFO or RFC2833 to<br>
&gt;     INBAND<br>
&gt;     &gt;<br>
&gt;     &gt;     So in my dialplan, I tried before bridging:<br>
&gt;     &gt;<br>
&gt;     &gt;        - &lt;action application=&quot;set&quot;<br>
&gt;     data=&quot;disable-transcoding=false&quot;/&gt;<br>
&gt;     &gt;        - &lt;action application=&quot;start_dtmf_generate&quot; data=&quot;true&quot;/&gt;<br>
&gt;     &gt;<br>
&gt;     &gt;     But I still see RFC2833 events between my FS and PEER and<br>
&gt;     the DTMF are<br>
&gt;     &gt;     not working.<br>
&gt;     &gt;<br>
&gt;     &gt;     So 2 questions:<br>
&gt;     &gt;        - does application &quot;start_dtmf_generate&quot; requires transcoding<br>
&gt;     &gt;        - if yes, can I set the variable disable-transcoding in<br>
&gt;     my dialplan<br>
&gt;     &gt;<br>
&gt;     &gt;     regards,<br>
&gt;     &gt;     rod<br>
&gt;     &gt;<br>
&gt;     &gt;     _______________________________________________<br>
&gt;     &gt;     FreeSWITCH-users mailing list<br>
&gt;     &gt;     <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;     &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
&gt;     &gt;     &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;     &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;&gt;<br>
&gt;     &gt;     <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;     &gt;<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;     &gt;     <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     ------------------------------------------------------------------------<br>
&gt;     &gt;<br>
&gt;     &gt; _______________________________________________<br>
&gt;     &gt; FreeSWITCH-users mailing list<br>
&gt;     &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;     &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
&gt;     &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;     &gt;<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;     &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;     &gt;<br>
&gt;<br>
&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;     &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<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>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&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>
<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>