]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5233 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 27 Mar 2013 16:46:12 +0000 (11:46 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 27 Mar 2013 16:46:12 +0000 (11:46 -0500)
src/mod/endpoints/mod_sofia/rtp.c

index b807cf962ba164d283cf06b37f8cd9a9534958f0..796908232aec323a048444aeb44c939cf6b2579d 100644 (file)
@@ -261,7 +261,7 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
     
     if (!(tech_pvt->rtp_session = switch_rtp_new(local_addr, local_port, remote_addr, remote_port, tech_pvt->agreed_pt,
                                            tech_pvt->read_codec.implementation->samples_per_packet, ptime * 1000,
-                                             flags, "soft", &err, switch_core_session_get_pool(*new_session)))) {
+                                             0, "soft", &err, switch_core_session_get_pool(*new_session)))) {
         switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Couldn't setup RTP session: [%s]\n", err);
         goto fail;
     }