]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
doh now they've got me doing it backwards
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 7 Jun 2007 21:58:50 +0000 (21:58 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 7 Jun 2007 21:58:50 +0000 (21:58 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5288 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_glue.c

index 296b7dd696fb6c105935b9e7aa71e9bb82e25bd1..898c1c886d9a5c64c6bc312889ef130f476efdc0 100644 (file)
@@ -1152,7 +1152,7 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, sdp_session_t *
                                        
                                        if (map->rm_pt == 9) {
                                                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Oh sure! You say 8000, but you mean 16000! This is, of course, stupid!\n");
-                                               codec_rate = 16000;
+                                               codec_rate = 8000;
                                        }
                                        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Audio Codec Compare [%s:%d:%u]/[%s:%d:%u]\n",
                                                                          rm_encoding, map->rm_pt, (int)map->rm_rate, imp->iananame, imp->ianacode, codec_rate);