[Freeswitch-users] absolute_codec_string and bypass_media

Anthony Minessale anthony.minessale at gmail.com
Tue Jul 27 09:15:24 PDT 2010


not going to happen.
you are asking for cake and eating it too.

Either you bypass media or you don't and you manipulate it.
As I already explained it goes against the SIP SOA model.

Maybe try kamailio ?


On Tue, Jul 27, 2010 at 11:04 AM, Sergey Okhapkin
<sos at sokhapkin.dyndns.org>wrote:

> Yup, it's pretty easy to build modified (shortened/reordered)
> absolute_codec_string variable from ep_codec_string, rather than mess with
> switch_r_sdp variable.
>
> On Tuesday 27 July 2010, Kristian Kielhofner wrote:
> > Exactly.  What about these cases where you're removing a codec from
> > the offer and/or changing the order?
> >
> > FreeSWITCH currently allows you to do this by mangling the SDP and so
> > do others (OpenSIPS txtops, etc).
> >
> > On Tue, Jul 27, 2010 at 11:37 AM, Sergey Okhapkin
> >
> > <sos at sokhapkin.dyndns.org> wrote:
> > > In my application I need 2 kinds of SDP manipulation in bypass media
> mode
> > > and late negotiation turned on:
> > >
> > > 1) Do not send out no-sense for PSTN codecs on leg B like wideband
> > > codecs, ilbc or speex. I need to filter out all codecs except for PCMU,
> > > PCMA,G729 and GSM.
> > >
> > > 2) Change codec order on B-leg, some PSTN carriers (like icall) behave
> > > wildly if G729 is first codec, I need to change A-leg codec order "18
> 0"
> > > to "0 18".
> > >
> > > On Tuesday 27 July 2010, Anthony Minessale wrote:
> > >> You really never should be messing with the sdp because you can cause
> a
> > >> violation in the SOA policy.
> > >> The negotiation is between the 2 endpoints so if you modify A's sdp it
> > >>  could confuse it when you reply back with B's sdp which was created
> > >> under false pretenses.
> >
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100727/f9bffab5/attachment.html 


More information about the FreeSWITCH-users mailing list