[Freeswitch-users] Codec negotiation to avoid transcoding as much as possible

Francis sms at icefire.qza.net.au
Thu Feb 20 21:31:05 MSK 2014


 

Try removing inherit_codec and see what happens. Assuming that both
clients offer the codecs in the order that you listed them, it should
work. 

Is this call being made within the same profile? 

On 2014-02-21 04:53, Biswas, Dipak wrote: 

> Just want to add that I have the config <action application="set" data="inherit_codec=true"/> before bridging in dialplan. And, also have the inbound-late-negotiation=true. 
> 
> But, I'm not getting the desired result. 
> 
> Thanks, 
> Dipak 
> 
> On Thu, Feb 20, 2014 at 11:24 AM, Biswas, Dipak <dipak.biswas at mezocliq.com> wrote:
> 
>> Hi All, 
>> 
>> Is there a way to configure Freeswitch codec negotiation to be neither of 'generous', 'greedy' or 'scrooge', but keep the possibilities of needing transcoding open. 
>> 
>> This is what I'm seeing with 'generous' codec negotiation (greedy and scrooge is no different): 
>> 
>> inbound leg offer (opus, pcmu, g729) --> FS --> outbound leg offer (opus, pcmu)
>> 
>> inbound leg answer (opus) <-- FS (transcoding engaged) <-- outbound leg answer (pcmu) 
>> 
>> But, I want FS to not to do transcoding here as there is a way out as both caller and called party has pcmu in common. 
>> 
>> If FS can follow this, there is no transcoding needed on FS's part: 
>> 
>> inbound leg offer (opus, pcmu, g729) --> FS --> outbound leg offer (opus, pcmu)
>> 
>> inbound leg answer (pcmu) <-- FS <-- outbound leg answer (pcmu) 
>> 
>> Question is how can I configure FS to be 'accomodat'-ing (yes, i wish this codec negotiation option is available). 
>> 
>> Please share your insights. 
>> -- 
>> 
>> Thanks, 
>> Dipak
> 
> -- 
> 
> Thanks, 
> Dipak 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com [1]
> 
> 
>  [2]
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org [3]
> http://wiki.freeswitch.org [4]
> http://www.cluecon.com [5]
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users [6]
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users [7]
> http://www.freeswitch.org [3]
 

Links:
------
[1] http://www.freeswitchsolutions.com
[2] 
[3] http://www.freeswitch.org
[4] http://wiki.freeswitch.org
[5] http://www.cluecon.com
[6] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
[7] http://lists.freeswitch.org/mailman/options/freeswitch-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140221/456fe324/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list