<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>You can enable "late-negotiation", then set inherit_codec=true then it will delay the negotiation till it gets the answer from the B-Leg before the A-Leg's codec is thus accomplishing the same thing.</div><div><br></div><div>/b</div><div><br></div><div><br><div><div>On Jun 2, 2010, at 2:40 PM, Kristian Kielhofner wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello everyone,<br><br>&nbsp;Either I am misunderstanding absolute_codec_string or there is<br>something going on with it in trunk. &nbsp;I had a git checkout from a<br>month ago that exhibited this same behavior so I updated about an hour<br>ago. &nbsp;It's still there (or I'm still confused).<br><br>&nbsp;In short, I have a call that comes in from a remote endpoint that<br>will advertise PCMU and G729 (in that order). &nbsp;When I bridge the call<br>I want to remove G729 capability from the outbound leg in some cases<br>so FS doesn't have to transcode. &nbsp;In other cases (controlled from the<br>dialplan), I want to place G729 as the first codec (again so FS<br>doesn't have to transcode) but I can force G729. &nbsp;I've tried regex on<br>ep_codec_string and I've tried regex on the SDP. &nbsp;Both seemed to work<br>well but what didn't work was setting absolute_codec_string from<br>either of these.<br><br>&nbsp;Even when I try to set it manually without any fancy conditions it<br>doesn't appear to work. &nbsp;The codec prefs from the SIP profile are<br>presented to the remote endpoint. &nbsp;Full debug here:<br><br><a href="http://pastebin.freeswitch.org/13088">http://pastebin.freeswitch.org/13088</a><br><br>&nbsp;Any ideas?<br><br>--<span class="Apple-converted-space">&nbsp;</span><br>Kristian Kielhofner<br><a href="http://www.astlinux.org/">http://www.astlinux.org</a><br><a href="http://blog.krisk.org/">http://blog.krisk.org</a><br><a href="http://www.star2star.com/">http://www.star2star.com</a><br><a href="http://www.submityoursip.com/">http://www.submityoursip.com</a><br><a href="http://www.voalte.com/">http://www.voalte.com</a></blockquote></div><br></div></body></html>