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

Re: [reSIProcate] Setting the contact?


On 9/13/05, Christian_Gavin@xxxxxxxxxxxx <Christian_Gavin@xxxxxxxxxxxx> wrote:
> Hi,
> 
> I figured out how to use my own socket for resiprocate. Now how do I set
> the Contact: field in all outgoing SIP messages to be my public IP and
> external port discovered with STUN, instead of internal IP and local port?
> 
> If I access the contact header field and change it before sending the
> REGISTER message, it works but only for the first message and not in
> subsequent retransmissions (eg. registration with auth credentials).

Are you using dum? Are you on the main branch or 0.9 release tarball? 

> 
> What is the proper way to do this?
> 

You should be able to do this in dum by setting it in the Profile.