]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
avoiding racing cpu (part 3)
authorAnthony Minessale <anthony.minessale@gmail.com>
Sat, 23 Jun 2007 03:51:57 +0000 (03:51 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Sat, 23 Jun 2007 03:51:57 +0000 (03:51 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5447 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_dingaling/mod_dingaling.c

index e543e19ec63f48f141e489f0c07c2417399cea12..05e5562f250ed4769f839ae3a7b28c5ce3692845 100644 (file)
@@ -859,7 +859,7 @@ static int activate_rtp(struct private_object *tech_pvt)
        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "SETUP RTP %s:%d -> %s:%d\n", tech_pvt->profile->ip,
                                          tech_pvt->local_port, tech_pvt->remote_ip, tech_pvt->remote_port);
        
-       flags = SWITCH_RTP_FLAG_GOOGLEHACK | SWITCH_RTP_FLAG_AUTOADJ | SWITCH_RTP_FLAG_RAW_WRITE | SWITCH_RTP_FLAG_AUTO_CNG;
+       flags = SWITCH_RTP_FLAG_DATAWAIT | SWITCH_RTP_FLAG_GOOGLEHACK | SWITCH_RTP_FLAG_AUTOADJ | SWITCH_RTP_FLAG_RAW_WRITE | SWITCH_RTP_FLAG_AUTO_CNG;
 
        if (switch_test_flag(tech_pvt->profile, TFLAG_TIMER)) {
                flags |= SWITCH_RTP_FLAG_USE_TIMER;