Ok, thanks! I thought about it too. This will likely work. But I prefer to keep inbound-bypass-media=true in SIP profile. Any way to do it this way? This is for simplicity and to avoid the need to set inbound-bypass-media in the dialplan. Thank you, -Victor On 13-01-29 04:00 PM, DJB International wrote:
<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 <mailto: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 <mailto: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 <mailto: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
_________________________________________________________________________ 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