[reSIProcate] how to write code to register multiple sip servers?
Hi, all,
I want to write a program which can register to multiple sip servers, the sample code basicRegister.cxx has the following code:
---------
clientDum.getMasterProfile()->setDefaultRegistrationTime(70);
clientDum.getMasterProfile()->setDefaultFrom(userAor);
profile->setDigestCredential(userAor.uri().host(),
userAor.uri().user(),
passwd);
SharedPtr<SipMessage> regMessage = clientDum.makeRegistration(userAor);
-----------
looks like clientDum can only accept one crediential for registration, what's the proper way to archive my purpose? Any suggestions are welcome. Thanks a lot in advance.
-Allen