]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4132 try this
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 19 Apr 2012 14:17:57 +0000 (09:17 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 19 Apr 2012 14:17:57 +0000 (09:17 -0500)
src/mod/endpoints/mod_sofia/sofia_glue.c

index 871c433090afece2143e24c5f24c7085686f1b7d..eb201b3824b4368299d19aef6042bb6600dfac59 100644 (file)
@@ -4880,12 +4880,12 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, const char *r_s
                                map_bit_rate = switch_known_bitrate((switch_payload_t)map->rm_pt);
                                
                                if (!ptime && !strcasecmp(map->rm_encoding, "g723")) {
-                                       ptime = codec_ms = 30;
+                                       codec_ms = 30;
                                }
                                
                                if (zstr(map->rm_fmtp)) {
                                        if (!strcasecmp(map->rm_encoding, "ilbc")) {
-                                               ptime = codec_ms = 30;
+                                               codec_ms = 30;
                                                map_bit_rate = 13330;
                                        }
                                } else {