diff --git a/src/Network/fgcom.cxx b/src/Network/fgcom.cxx index ac369fa..3c39001 100644 --- a/src/Network/fgcom.cxx +++ b/src/Network/fgcom.cxx @@ -221,7 +221,9 @@ void FGCom::init() _username = _username_node->getStringValue(); _password = _password_node->getStringValue(); - _currentCommFrequency = 0.0; + _connected = false; + + _currentCommFrequency = 0.0; _maxRange = MAX_RANGE; _minRange = MIN_RANGE; @@ -258,7 +260,9 @@ void FGCom::postinit() std::string app = "FGFS-"; app += _version_node->getStringValue(); - iaxc_set_callerid( _callsign_node->getStringValue().c_str(), app.c_str() ); + //iaxc_set_callerid( _callsign_node->getStringValue().c_str(), app.c_str() ); + + iaxc_set_callerid("guest","FGCOM"); //iaxc_set_formats (IAXC_FORMAT_SPEEX, IAXC_FORMAT_ULAW|IAXC_FORMAT_SPEEX);