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