[Freeswitch-users] Rejecting undesired codecs in bypass media mode

Victor Chukalovskiy victor.chukalovskiy at gmail.com
Wed Jan 30 00:09:11 MSK 2013


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 at gmail.com <mailto: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 <mailto: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
>     <mailto: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
>
>
>
>
> _________________________________________________________________________
> 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/a561e441/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list