not going to happen.<div>you are asking for cake and eating it too.</div><div><br></div><div>Either you bypass media or you don&#39;t and you manipulate it.</div><div>As I already explained it goes against the SIP SOA model.</div>
<div><br></div><div>Maybe try kamailio ?</div><div><br></div><div><br><div class="gmail_quote">On Tue, Jul 27, 2010 at 11:04 AM, Sergey Okhapkin <span dir="ltr">&lt;<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Yup, it&#39;s pretty easy to build modified (shortened/reordered)<br>
absolute_codec_string variable from ep_codec_string, rather than mess with<br>
switch_r_sdp variable.<br>
<div class="im"><br>
On Tuesday 27 July 2010, Kristian Kielhofner wrote:<br>
&gt; Exactly.  What about these cases where you&#39;re removing a codec from<br>
&gt; the offer and/or changing the order?<br>
&gt;<br>
&gt; FreeSWITCH currently allows you to do this by mangling the SDP and so<br>
&gt; do others (OpenSIPS txtops, etc).<br>
&gt;<br>
&gt; On Tue, Jul 27, 2010 at 11:37 AM, Sergey Okhapkin<br>
&gt;<br>
&gt; &lt;<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a>&gt; wrote:<br>
&gt; &gt; In my application I need 2 kinds of SDP manipulation in bypass media mode<br>
&gt; &gt; and late negotiation turned on:<br>
&gt; &gt;<br>
&gt; &gt; 1) Do not send out no-sense for PSTN codecs on leg B like wideband<br>
&gt; &gt; codecs, ilbc or speex. I need to filter out all codecs except for PCMU,<br>
&gt; &gt; PCMA,G729 and GSM.<br>
&gt; &gt;<br>
&gt; &gt; 2) Change codec order on B-leg, some PSTN carriers (like icall) behave<br>
&gt; &gt; wildly if G729 is first codec, I need to change A-leg codec order &quot;18 0&quot;<br>
&gt; &gt; to &quot;0 18&quot;.<br>
&gt; &gt;<br>
&gt; &gt; On Tuesday 27 July 2010, Anthony Minessale wrote:<br>
&gt; &gt;&gt; You really never should be messing with the sdp because you can cause a<br>
&gt; &gt;&gt; violation in the SOA policy.<br>
&gt; &gt;&gt; The negotiation is between the 2 endpoints so if you modify A&#39;s sdp it<br>
&gt; &gt;&gt;  could confuse it when you reply back with B&#39;s sdp which was created<br>
&gt; &gt;&gt; under false pretenses.<br>
&gt;<br>
<br>
<br>
</div><div><div></div><div class="h5">_______________________________________________<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><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>