From 646b34a2a2b673e179e609b9be1038df8683a8c5 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 9 May 2013 10:10:02 -0500 Subject: [PATCH] FS-5398 --- src/mod/endpoints/mod_sofia/sofia_glue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 3904488f04..8ea0af0d50 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -4638,7 +4638,7 @@ switch_status_t sofia_glue_get_offered_pt(private_object_t *tech_pvt, const swit for (i = 0; i < tech_pvt->num_codecs; i++) { const switch_codec_implementation_t *imp = tech_pvt->codecs[i]; - if (!strcasecmp(imp->iananame, mimp->iananame)) { + if (!strcasecmp(imp->iananame, mimp->iananame) && imp->actual_samples_per_second == mimp->actual_samples_per_second) { *pt = tech_pvt->ianacodes[i]; return SWITCH_STATUS_SUCCESS; -- 2.47.2