From 4f09b0b8eeb3f190941a6de98e4aae6ac6a7ca8b Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 18 Nov 2008 23:40:49 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10448 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/mod_sofia.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 5395929ef4..abcfd634ae 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -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); }