< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] makeRegistration question


Take a look at basicCall.cxx or basicRegister.cxx samples in main/resip/dum/test. You should be able to trace the code from there. They don't use multiple NameAddr contacts but you have a chance after the message is created, and before it is sent, to add more Contact headers. Or you could wait to get the ClientRegistrationHandle and just use the addBinding() method to add more contacts.

Good luck,
Steve

-----Original Message-----
From: Yong, Chee Yeew
Sent: 01/12/2005 8:30 AM

Hi,

Hope I am posting to the right forum. My previous posting could be too
open-ended, that's probably why there were no replies. Anyhow, hope this is
easier to answer/advise.

The makeRegistration function takes only 1 NameAddr, which I take to be the
SIP URI of the registrar. Is this correct? If it is correct, then how is Contact field in the REGISTER request
populated?
How about the To and From fields?

At the moment, my Request-URI, To, and From fields contain the numeric IP
address (due to the numeric IP address that I supplied as 'target') of the
registrar, which I think is incorrect behaviour. My Contact field is empty.
Please advise.

Regards,
Chee
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel