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

[reSIProcate] Eerlier, you wrote...


You wrote:

>Try using of setOverrideHostAndPort () method of Profile class (see
Profile.cxx/hxx).
It stores your Contact header in Master profile and uses it in all
appropriate cases.

//* Set Contact's fields
Uri ContactUri;

>ContactUri.scheme () = Symbols::DefaultSipScheme;
>ContactUri.host () = your address
>ContactUri.port () = your port
>ContactUri.user () = your user
and so on

>Profile->setOverrideHostAndPort (ContactUri);

>Don't forget to create an instance of MasterProfile that is inherited
from UserProfile and Profile classes.

Sasha.

Do I do this code to make sure the 180 Ring response has the
"Contact" in the header?

John