[Freeswitch-users] Rejecting undesired codecs in bypass media mode
Victor Chukalovskiy
victor.chukalovskiy at gmail.com
Tue Jan 29 23:21:44 MSK 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130129/b857f449/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list