IPbxAdminApi::Create results in undefined reference error
When extending the sample project with following lines below to use the PbxAdminApi, I get a compilation/build error in Visual Studio "undefined reference to `IPbxAdminApi::Create(char const*, char const*)'". Code is according to SDK documentation.Why do I get this error and how to solve it?
//Set logging flags in the base AppInstance object logFlags |= LOG_APP; logFlags |= LOG_APP_WEBSOCKET; logFlags |= LOG_DATABASE;
RegisterJsonApi(this);
pbxAdminApi = IPbxAdminApi::Create("xqting.be", "inno13-pbx"); RegisterJsonApi(pbxAdminApi); Log("App instance constructed");