[Freeswitch-users] Rejecting undesired codecs in bypass media mode
DJB International
djbinter at gmail.com
Wed Jan 30 00:00:33 MSK 2013
<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 at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130129/ab3792a6/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list