]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 18 Nov 2008 23:40:49 +0000 (23:40 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 18 Nov 2008 23:40:49 +0000 (23:40 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10448 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/mod_sofia.c

index 5395929ef413ca612c638ebf2acea3bba6620069..abcfd634ae638fe73acfb607056e9970eb8b8e16 100644 (file)
@@ -758,8 +758,9 @@ static switch_status_t sofia_read_frame(switch_core_session_t *session, switch_f
                                                                        }
                                                                        
                                                                        if (switch_rtp_change_interval(tech_pvt->rtp_session, 
-                                                                                                                                  tech_pvt->read_codec.implementation->samples_per_packet,
-                                                                                                                                  tech_pvt->codec_ms * 1000) != SWITCH_STATUS_SUCCESS) {
+                                                                                                                                  tech_pvt->codec_ms * 1000,
+                                                                                                                                  tech_pvt->read_codec.implementation->samples_per_packet
+                                                                                                                                  ) != SWITCH_STATUS_SUCCESS) {
                                                                                switch_channel_hangup(tech_pvt->channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER);
                                                                                
                                                                        }