[Freeswitch-users] how is codec selected

Zohair Raza engineerzuhairraza at gmail.com
Thu Dec 22 10:00:20 MSK 2011


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 at 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 at 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 at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> 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
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111222/d9369fbe/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list