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:

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@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@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