rod,<br><br>it looks more complicated now when PEER C comes to the picture. i think we'll have to wait for the availability of g729 on FS, as per Anthony'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"><<a href="mailto:kawarod@laposte.net">kawarod@laposte.net</a>></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't work if I'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'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'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'm stuck, cause using "greedy settings and G729 with<br>
priority 1 in my codec list and proxy_media=false" 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 <---> 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">> rod,<br>
><br>
> have you tried this?<br>
> <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>
><br>
> /nandy<br>
><br>
><br>
> On Thu, Sep 3, 2009 at 2:50 PM, rod <<a href="mailto:kawarod@laposte.net">kawarod@laposte.net</a><br>
</div><div><div></div><div class="h5">> <mailto:<a href="mailto:kawarod@laposte.net">kawarod@laposte.net</a>>> wrote:<br>
><br>
> Hi Michael,<br>
><br>
> I did some tests but I haven't been successful, so there is what I'm<br>
> trying to achieve:<br>
><br>
> On A leg, my phone is using: PCMA and G729 (in this priority order)<br>
><br>
> With PEER A, I want to use only G729 (thats is the only codec that<br>
> this<br>
> PEER support), so that the RTP flow will be:<br>
> Phone-----G729----FS-----G729-----PEER_A<br>
><br>
> With PEER B, I want to use only G711, so:<br>
> Phone-----G711----FS-----G711-----PEER_B<br>
><br>
> In fact, I'd like to force FS announcing the codec list priority based<br>
> on the priority of the codec announced by the PEER, cause FS is unable<br>
> to transcode G729 <--> G711.<br>
><br>
> Tried a lot of things (greedy for codec-negociation, late_codec,<br>
> disable_transcoding, codec-prefs) without success.<br>
><br>
> If you have some clue.<br>
><br>
> regards,<br>
> rod<br>
><br>
> Michael Collins a écrit :<br>
> > Check out this page:<br>
> > <a href="http://wiki.freeswitch.org/wiki/Codec_negotiation" target="_blank">http://wiki.freeswitch.org/wiki/Codec_negotiation</a><br>
> ><br>
> > Late negotiation will probably let you handle all the cases you<br>
> need.<br>
> > -MC<br>
> ><br>
> > On Mon, Aug 31, 2009 at 8:00 AM, rod <<a href="mailto:kawarod@laposte.net">kawarod@laposte.net</a><br>
> <mailto:<a href="mailto:kawarod@laposte.net">kawarod@laposte.net</a>><br>
</div></div><div><div></div><div class="h5">> > <mailto:<a href="mailto:kawarod@laposte.net">kawarod@laposte.net</a> <mailto:<a href="mailto:kawarod@laposte.net">kawarod@laposte.net</a>>>> wrote:<br>
> ><br>
> > Hi all,<br>
> ><br>
> > I'm wondering if I can do something like this:<br>
> > - in my internal profile, I have this because of some PEER<br>
> > using G729:<br>
> > - <param name="disable-transcoding" value="true"/><br>
> ><br>
> > But for a specific PEER, I'd like to activate transcoding:<br>
> > - for this PEER, only G711 is used<br>
> > - I'd like to transcode DTMF SIP INFO or RFC2833 to<br>
> INBAND<br>
> ><br>
> > So in my dialplan, I tried before bridging:<br>
> ><br>
> > - <action application="set"<br>
> data="disable-transcoding=false"/><br>
> > - <action application="start_dtmf_generate" data="true"/><br>
> ><br>
> > But I still see RFC2833 events between my FS and PEER and<br>
> the DTMF are<br>
> > not working.<br>
> ><br>
> > So 2 questions:<br>
> > - does application "start_dtmf_generate" requires transcoding<br>
> > - if yes, can I set the variable disable-transcoding in<br>
> my dialplan<br>
> ><br>
> > regards,<br>
> > rod<br>
> ><br>
> > _______________________________________________<br>
> > FreeSWITCH-users mailing list<br>
> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>><br>
> > <mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <mailto:<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>
> ><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>
> > _______________________________________________<br>
> > FreeSWITCH-users mailing list<br>
> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <mailto:<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>
> ><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>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <mailto:<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>
> 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>
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>