[reSIProcate] how to write code to register multiple sip servers?
Allen Guan
allenguan at gmail.com
Tue Sep 17 18:37:04 CDT 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20130917/73d27abd/attachment.htm>
More information about the resiprocate-devel
mailing list