<param name="inbound-late-negotiation" value="false"/> and turn of inbound-bypass-media, then you can set the bypass_media in dialplan before you bridge. -djbinter On Tue, Jan 29, 2013 at 12:21 PM, Victor Chukalovskiy < victor.chukalovskiy@gmail.com> wrote:
Hello,
*Call scenario:* call comes in with undesired codec only in SDP. (e.g. PCMA)
In my sip profile I have: inbound-bypass-media="true" inbound-codec-negotiation="greedy" inbound-codec-prefs="PCMU,G729"
*What happens:* regardless of the codec in SDP, Freeswitch executes dialplan and sends the call to the B-leg.
It also happens regardless of wether I use "late" or "early" negotiation
*What I would like to see:* FS rejecting the call right away if SDP does not match inbound-codec-prefs. Should not even hit the dial-plan.
Any clue on how to achieve this?
Many thanks, -Victor
_________________________________________________________________________ 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