Hi, You can set codec for a phone from dialplan using absolute_codec_string parameter as stated in codec negotiation link. Trans-coding issues in case of G729 or G723 can be handled as: http://wiki.freeswitch.org/wiki/Sofia#sip_renegotiate_codec_on_reinvite See http://wiki.freeswitch.org/wiki/Channel_Variables#Codec_Related for codec related variables. Also, there is a configuration in internal and external profiles to define a list of codec in each profile which can be set in global configuration http://wiki.freeswitch.org/wiki/Config_external.xml <param name="codec-prefs" value="$${outbound_codec_prefs}"/> you can see SIP dialogues on each phone IP to verify which codec are being offered ngrep -q -Wbyline '' port 5060 and host x.x.x.x Regards, Zohair Raza On Thu, Dec 22, 2011 at 2:54 AM, Nandy Dagondon <gcd@i.ph> wrote:
it's found here: http://wiki.freeswitch.org/wiki/Codec_negotiation
hope this answers your question.
On Thu, Dec 22, 2011 at 5:25 AM, Sherif Omran <sherifomran2000@yahoo.com>wrote:
hello ,
does anybody know how to set up the codec selection negotiation list in freeswitch? How can you know which codec has been selected for such a call and which codecs are offered from telephone A and B.
I am using log 7
thank you in advance
k.regards Sherif
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org