Hi, 

You can find it in sofia.conf.xml 

For ngrep, you need to have ngrep installed in your system 

try "yum install ngrep" if you are using CentOS/RedHat and "apt-get install ngrep" if Ubuntu

Yes, you need to make a call, as you want to know which codecs are being carried from leg A to FS and FS to Log B

Regards,
Zohair Raza




On Thu, Dec 22, 2011 at 3:02 PM, Sherif Omran <sherifomran2000@yahoo.com> wrote:
Hi Zohair,

In which file should i put this parameter
<param name="inbound-late-negotiation" value="true"/>
How does this command work

ngrep -q -Wbyline '' port 5060 and host x.x.x.x

Should i make a call and during the call type it?

kind regards,
Sherif


--- On Thu, 12/22/11, Zohair Raza <engineerzuhairraza@gmail.com> wrote:

From: Zohair Raza <engineerzuhairraza@gmail.com>
Subject: Re: [Freeswitch-users] how is codec selected
To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org>
Date: Thursday, December 22, 2011, 9:00 AM


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


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


<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



-----Inline Attachment Follows-----


_________________________________________________________________________
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