[Freeswitch-svn] [commit] r4093 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN anthm at freeswitch.org
Tue Jan 30 11:37:03 EST 2007


Author: anthm
Date: Tue Jan 30 11:37:03 2007
New Revision: 4093

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c

Log:
ummm.... yeah...

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	Tue Jan 30 11:37:03 2007
@@ -2310,6 +2310,7 @@
 					if (match && (map->rm_rate == imp->samples_per_second)) {
                         if (ptime && ptime * 1000 != imp->microseconds_per_frame) {
                             near_match = imp;
+                            match = 0;
                             continue;
                         }
                         mimp = imp;
@@ -2329,7 +2330,8 @@
                              near_match->iananame,
                              near_match->samples_per_second,
                              ptime);
-                    
+
+                    prefs[0] = tmp;
                     num = switch_loadable_module_get_codecs_sorted(search, 1, prefs, 1);
 
                     if (num) {



More information about the Freeswitch-svn mailing list