]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 12 Jan 2006 19:38:26 +0000 (19:38 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 12 Jan 2006 19:38:26 +0000 (19:38 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@327 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_iaxchan/mod_iaxchan.c

index 59fe2f70bb6c7bae0b29ec1b6b597eae15e2d138..2bb51c0074be855c860dca89981087868900cfcd 100644 (file)
@@ -309,12 +309,13 @@ static switch_status iax_set_codec(struct private_object *tech_pvt, struct iax_s
        channel = switch_core_session_get_channel(tech_pvt->session);
        assert(channel != NULL);
 
+
        if (*samprate) {
                unsigned short samples = iax_build_codec_rates();
                unsigned short mixed = (*samprate & samples);
 
                srate = 8000;
-
+               
                if (mixed & IAX_RATE_16KHZ) {
                        srate = 16000;
                }