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'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"><<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Yup, it'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>
> Exactly. What about these cases where you're removing a codec from<br>
> the offer and/or changing the order?<br>
><br>
> FreeSWITCH currently allows you to do this by mangling the SDP and so<br>
> do others (OpenSIPS txtops, etc).<br>
><br>
> On Tue, Jul 27, 2010 at 11:37 AM, Sergey Okhapkin<br>
><br>
> <<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a>> wrote:<br>
> > In my application I need 2 kinds of SDP manipulation in bypass media mode<br>
> > and late negotiation turned on:<br>
> ><br>
> > 1) Do not send out no-sense for PSTN codecs on leg B like wideband<br>
> > codecs, ilbc or speex. I need to filter out all codecs except for PCMU,<br>
> > PCMA,G729 and GSM.<br>
> ><br>
> > 2) Change codec order on B-leg, some PSTN carriers (like icall) behave<br>
> > wildly if G729 is first codec, I need to change A-leg codec order "18 0"<br>
> > to "0 18".<br>
> ><br>
> > On Tuesday 27 July 2010, Anthony Minessale wrote:<br>
> >> You really never should be messing with the sdp because you can cause a<br>
> >> violation in the SOA policy.<br>
> >> The negotiation is between the 2 endpoints so if you modify A's sdp it<br>
> >> could confuse it when you reply back with B's sdp which was created<br>
> >> under false pretenses.<br>
><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>