<div>Thanks, that seems to have been the problem with the codec negotiation. I can now get the correct codec with default and bypass-after-bridge. But I&#39;m back to square one on getting G729 in passthrough mode working. </div>

<div><br></div><div>It seems like all of the wiki entries saying to proxy media when doing that are partially incomplete, since proxy media prevents setting the absolute codec. I could use it with bypass-after-bridge, but my endpoints are most definitely behind NATs, so I&#39;d rather keep the flow going through my box. Is there any way to achieve a &quot;proxy-after-bridge&quot;? </div>

<div><br></div><div>Thanks,</div><div>Nick</div><div><br></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">---------- Forwarded message ----------</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">From: Kristian Kielhofner &lt;<a href="mailto:kris@kriskinc.com">kris@kriskinc.com</a>&gt;</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Cc: </span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Date: Fri, 5 Oct 2012 09:28:32 -0400</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Subject: Re: [Freeswitch-users] Absolute Codec String</span></div><div><br></div><span style="font-size:13px;color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">&gt; Don&#39;t use proxy_media.  See my rant here:</span><br style="font-size:13px;color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">

&gt; <br style="font-size:13px;color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">&gt; <a href="http://wiki.freeswitch.org/wiki/Proxy_Media#Common_misconceptions_.28READ_THIS.29" target="_blank" style="font-size:13px;color:rgb(17,85,204);font-family:arial,sans-serif;background-color:rgb(255,255,255)">http://wiki.freeswitch.org/wiki/Proxy_Media#Common_misconceptions_.28READ_THIS.29</a><div>

<br><br><div class="gmail_quote">On Thu, Oct 4, 2012 at 1:47 PM, Nick Vines <span dir="ltr">&lt;<a href="mailto:jnvines@gmail.com" target="_blank">jnvines@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I am trying to set the codec when I bridge. I have late negotiation set to true, and since I am trying to use G729, I set proxy_media=true as well. I am using this in my dialplan (I have tried with and without &quot;nolocal:&quot; with no change):<div>


<div><br><div>&lt;action application=&quot;bridge&quot; data=&quot;{absolute_codec_string=G729}sofia/gateway/gateway/${dialed_number}&quot;/&gt;</div></div><div><br></div><div>But in the invite to the gateway, I am seeing the codecs offered by the device:</div>


<div><br></div><div><div>   m=audio 24960 RTP/AVP 18 0 2 8 9 96 97 98 101</div><div>   a=rtpmap:18 G729/8000</div><div>   a=rtpmap:0 PCMU/8000</div><div>   a=rtpmap:2 G726-32/8000</div><div>   a=rtpmap:8 PCMA/8000</div><div>


   a=rtpmap:9 G722/8000</div><div>   a=rtpmap:96 G726-40/8000</div><div>   a=rtpmap:97 G726-24/8000</div><div>   a=rtpmap:98 G726-16/8000</div><div>   a=rtpmap:101 telephone-event/8000</div></div><div><br></div><div>I am troubleshooting right now, so I am able to specify on the phone &quot;Use Only Preferred&quot;, in which case I see only to following offered:</div>


<div> </div><div>  a=rtpmap:18 G729/8000</div><div><br></div><div>Thanks,</div><div>Nick </div></div>
</blockquote></div><br></div>