<div dir="ltr"><div><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.<br><br></div>-djbinter<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 29, 2013 at 12:21 PM, Victor Chukalovskiy <span dir="ltr"><<a href="mailto:victor.chukalovskiy@gmail.com" target="_blank">victor.chukalovskiy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
<u>Call scenario:</u> call comes in with undesired codec only in
SDP. (e.g. PCMA)<br>
<br>
In my sip profile I have:<br>
inbound-bypass-media="true"<br>
inbound-codec-negotiation="greedy"<br>
inbound-codec-prefs="PCMU,G729"<br>
<br>
<u>What happens:</u> regardless of the codec in SDP, Freeswitch
executes dialplan and sends the call to the B-leg.<br>
<br>
It also happens regardless of wether I use "late" or "early"
negotiation<br>
<br>
<u>What I would like to see:</u><br>
FS rejecting the call right away if SDP does not match
inbound-codec-prefs. Should not even hit the dial-plan.<br>
<br>
Any clue on how to achieve this?<br>
<br>
Many thanks,<br>
-Victor
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>