[Freeswitch-users] Codec negotiation, again

Steven Ayre steveayre at gmail.com
Sun Feb 20 15:36:45 MSK 2011


In default behaviour, FS will negotiate the codec for the aleg, then do the dialplan, then do the bleg. As a result it can have already picked the 729 codec by the time it hits the dialplan. With transcoding that's fine but with 729 not.

The workaround is the late-negotiation profile parameter. It delays picking the aleg codec until the bleg picks one, then uses that if possible for the aleg.

Steve on iPhone


On 20 Feb 2011, at 01:33, Serge Yuriev <me at nevian.org> wrote:

> Hello,
> 
> A offers g729, g711a, g711u
> FS allows all of them
> B offers g711a, g711u
> 
> Call fails with INCOMPATIBLE DESTINATION.
> 
> Cant understand why FS offers only ONE codec (g729) to B - wiki says it should offer ordered LIST of..
> GIT few days old, default config
> 
> -- 
> wbr,
> Serge
> 
> _______________________________________________
> 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



More information about the FreeSWITCH-users mailing list