<html><head></head><body bgcolor="#FFFFFF"><div>Have you tried&nbsp;&lt;param name="inbound-codec-negotiation" value="generous"/&gt;</div><div><br></div><div>From&nbsp;<a href="http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#inbound-codec-negotiation">http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#inbound-codec-negotiation</a></div><div><br></div><div><h5 style="background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; font-weight: bold; margin-top: 0px; margin-right: 0px; margin-bottom: 0.3em; margin-left: 0px; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom-width: initial; border-bottom-style: none; border-bottom-color: initial; "><span class="mw-headline" style="font-size: 17px;">inbound-codec-negotiation</span></h5><p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; ">set to 'greedy' if you want your codec list to take precedence</p><pre style="padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(47, 111, 171); border-right-color: rgb(47, 111, 171); border-bottom-color: rgb(47, 111, 171); border-left-color: rgb(47, 111, 171); background-color: rgb(249, 249, 249); "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;"> &lt;param name="inbound-codec-negotiation" value="generous"/&gt;
</span></font></pre><p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; ">if 'greedy' doesn't work for you, try 'scrooge' which has been known to fix misreported ptime issues with DID providers such as CallCentric.</p><p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; ">A rule of thumb is:</p><ul style="list-style-type: square; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0px; margin-left: 1.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><li style="margin-bottom: 0.1em; ">'generous' permits the remote codec list have precedence and 'win' the codec negotiation and selection process</li><li style="margin-bottom: 0.1em; ">'greedy' forces a win by the local FreeSWITCH preference list</li><li style="margin-bottom: 0.1em; ">'scrooge' takes 'greedy' a step further, so that the FreeSWITCH wins even when the far side lies about capabilities during the negotiation process</li></ul><p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; "><font class="Apple-style-span" color="#000000"><a href="http://wiki.freeswitch.org/wiki/Variable_sip_codec_negotiation" title="Variable sip codec negotiation" style="text-decoration: none; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; ">sip_codec_negotiation</a>&nbsp;is a channel variable version of this setting</font></p><span class="Apple-style-span" style="background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; "><a name="inbound-late-negotiation" id="inbound-late-negotiation" style="text-decoration: none; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; "></a></span><h5 style="background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; font-weight: bold; margin-top: 0px; margin-right: 0px; margin-bottom: 0.3em; margin-left: 0px; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom-width: initial; border-bottom-style: none; border-bottom-color: initial; "><span class="mw-headline" style="font-size: 17px;">inbound-late-negotiation</span></h5><p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; ">Uncomment to let calls hit the dialplan *before* you decide if the codec is OK.</p><pre style="padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(47, 111, 171); border-right-color: rgb(47, 111, 171); border-bottom-color: rgb(47, 111, 171); border-left-color: rgb(47, 111, 171); background-color: rgb(249, 249, 249); "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;"> &lt;param name="inbound-late-negotiation" value="true"/&gt;</span></font><span class="Apple-style-span" style="color: black; font-family: sans-serif; font-size: 13px; line-height: 1.1em; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">
</span></pre><font class="Apple-style-span" face="sans-serif" size="2"><span class="Apple-style-span" style="line-height: 19px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial;"><a name="bitpacking" id="bitpacking" style="text-decoration: none; color: rgb(0, 43, 184); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; "></a></span></font><br>Sent from my iPad</div><div><br>On Sep 4, 2012, at 9:53 AM, Jerry Richards &lt;<a href="mailto:jerry.richards@teotech.com">jerry.richards@teotech.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div><span>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. &nbsp;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).</span><br><span></span><br><span>Is there an easy way to configure Freeswitch to exclude H.264 based on the caller's INVITE? &nbsp;Because it never would make sense for it to offer H.264 in this scenario.</span><br><span></span><br><span>Best Regards,</span><br><span>Jerry</span><br><span></span><br><span></span><br><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span><br><span><a href="http://www.cudatel.com">http://www.cudatel.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>