There is no current way to do this because it will attempt to do the best with what it has to work with. Currently its considered a preference not a requirement which one to use. It probably is possible to invent a way but it's not there now. On Fri, Aug 20, 2010 at 4:38 PM, Kristian Kielhofner <kris@kriskinc.com> wrote:
Hello everyone,
Does FreeSWITCH support the ability to accept/reject/filter/modify codec by sample rate?
I've defined SILK@8000h as the only supported codec in my profile yet clients calling in that prefer SILK@12000h over SILK@8000h are allowed to bring up the call at SILK@12000h. It seems that SILK at any sample rate is allowed as long as SILK at any sample rate is defined in the profile.
My profile is set to scrooge and I've tried various combinations of late-negotiation, absolute_codec_string, etc to no avail.
Should I be able to accept/reject specific sample rates? If not I'm willing to create a bounty for it...
Thanks!
-- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900