[Freeswitch-users] Codec negotiation questions

Anthony Minessale anthony.minessale at gmail.com
Thu Feb 12 13:06:15 PST 2009


the entire sdp is available as a variable (route the call to the info app to
see the variables)
so if you have inbound-late-negotiation set to true on the sip profile
then you can use a regex or a script to set absolute_codec string before you
answer.


On Thu, Feb 12, 2009 at 8:06 AM, ivdreg ivdreg <ivdreg at gmail.com> wrote:

> Hi all,
>
> Can I ask 2 questions about codec negotiation:
>
> 1. Is it possible Freeswitch to work negotiate codecs between two phones as
> it is described below.
> INVITE from A with some codecs in SDP ---> Freeswitch rewrites codec
> preference according absolute_codec_string but exclude all codecs not
> offered by A ----> INVITE to B with rewrited SDP.
>
> example:
> from A SDP:PCMA,PCMU,SPEEX  ----> absolute_codec_string=G722,PCMU,PCMA,GSM
> ----> to B SDP: PCMU,PCMA
>
> 2. Can I get codec list in INVITE with mod_perl for example or via xml_curl
> without processing SDP variable (switch_r_sdp). It will be useful to be in
> format that absolute_codec_string variable takes.
>
> Thanks
>
> _______________________________________________
> 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/

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>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090212/4f0f84cf/attachment-0002.html 


More information about the FreeSWITCH-users mailing list