Hi All,
I am using onsip accounts, where we have a provision that user registration works without proxy server. Is there a way to provide empty proxy server address in liblinphone?
I tried passing an empty string to proxyServerDomain in following code snippet
shared_ptr<AccountParams> accountParams = storedCore->createAccountParams();
accountParams->setIdentityAddress(address);
string serverAddress = "sip:" + proxyServerDomain + ";transport=" + transport;
shared_ptr<Address> proxyServerAddress = factoryPtr->createAddress(serverAddress);
accountParams->setServerAddress(proxyServerAddress);
As the serverAddress created here will be "sip:;transport=udp", proxyServerAddress is not created hence user registration does not work.
Is there a way to handle this? Can we provide empty proxyServerDomain in serverAddress to liblinphone?
Thanks for spreading your time on this.
Thanks and regards,
Krunal Patil