diff --git a/src/Network/fgcom.cxx b/src/Network/fgcom.cxx index c84894f..c079ce4 100644 --- a/src/Network/fgcom.cxx +++ b/src/Network/fgcom.cxx @@ -246,10 +246,18 @@ void FGCom::postinit() app += _version_node->getStringValue(); iaxc_set_callerid( _callsign_node->getStringValue().c_str(), app.c_str() ); - iaxc_set_formats (IAXC_FORMAT_SPEEX, IAXC_FORMAT_ULAW|IAXC_FORMAT_SPEEX); - iaxc_set_speex_settings(1, 5, 0, 1, 0, 3); - iaxc_set_filters(IAXC_FILTER_AGC | IAXC_FILTER_DENOISE); - iaxc_set_silence_threshold(_silenceThd_node->getFloatValue()); + //iaxc_set_formats (IAXC_FORMAT_SPEEX, IAXC_FORMAT_ULAW|IAXC_FORMAT_SPEEX); + + iaxc_set_formats (IAXC_FORMAT_GSM, IAXC_FORMAT_ULAW|IAXC_FORMAT_GSM); + + + + + //iaxc_set_speex_settings(1, 5, 0, 1, 0, 3); + + //iaxc_set_filters(IAXC_FILTER_AGC | IAXC_FILTER_DENOISE); + //iaxc_set_silence_threshold(_silenceThd_node->getFloatValue()); + iaxc_start_processing_thread (); // Now IAXClient is initialized