I am working on a C++ project using pjsua2, I have a trunk with more than N DIDs configured, the code makes calls successfully, the problem is that I want to make calls but each call must use a different DID, this is my code
accountConfig.sipConfig.authCreds.push_back(AuthCredInfo("digest", ConfigCaller::realm, ConfigCaller::username, 0, ConfigCaller::password));
account->create(accountConfig);
...
call->makeCall(registrar, prm);
CallInfo callInfo = call->getInfo();
Do you know how to setup a caller id for each call?
I tried changing the accountConfig, changing the accountConfig.idUri but doesn't work