[Freeswitch-users] Video Codec Sent In SDP Offer

Mike Burlingame mike.burlingame at me.com
Tue Sep 4 21:43:09 MSD 2012


Have you tried <param name="inbound-codec-negotiation" value="generous"/>

>From http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#inbound-codec-negotiation

inbound-codec-negotiation
set to 'greedy' if you want your codec list to take precedence
<param name="inbound-codec-negotiation" value="generous"/>
if 'greedy' doesn't work for you, try 'scrooge' which has been known to fix misreported ptime issues with DID providers such as CallCentric.
A rule of thumb is:
'generous' permits the remote codec list have precedence and 'win' the codec negotiation and selection process
'greedy' forces a win by the local FreeSWITCH preference list
'scrooge' takes 'greedy' a step further, so that the FreeSWITCH wins even when the far side lies about capabilities during the negotiation process
sip_codec_negotiation is a channel variable version of this setting
inbound-late-negotiation
Uncomment to let calls hit the dialplan *before* you decide if the codec is OK.
<param name="inbound-late-negotiation" value="true"/>

Sent from my iPad

On Sep 4, 2012, at 9:53 AM, Jerry Richards <jerry.richards at teotech.com> wrote:

> If a call is made from a phone that does not include a video codec (i.e. H.264), Freeswitch still offers H.264 as a codec in the INVITE to the callee.  I think this is because H.264 is included in the inbound-codec-prefs and outbound-codec-prefs of the sip_profile (which is needed to support video calls).
> 
> Is there an easy way to configure Freeswitch to exclude H.264 based on the caller's INVITE?  Because it never would make sense for it to offer H.264 in this scenario.
> 
> Best Regards,
> Jerry
> 
> 
> _________________________________________________________________________
> 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/20120904/d1cd9037/attachment.html 


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