Re: [reSIProcate-users] Does resiprocate reregister when network IP changes?
You should be able to leave it as is.
Scott
On Wed, Mar 7, 2012 at 2:15 PM, Nauman Sulaiman
<nauman762-home@xxxxxxxxxxx> wrote:
Thanks Scott
Just one other thing if the network goes away (no interfaces at all), does one need to destroy the stack and recreate
it when the network is back up or can it be safely left as it is then reregister when a network interface is available again.
If you bind the resip transports to INADDR_ANY (ie. 0.0.0.0) then resip will let the OS decide which interface to use when routing a particular request. The selected interface ip address get's added to the Via and Contact headers by the stack. That being said, if the interface used during registration goes away, then the application will need to unregister the old Contact Address and re-Register (the stack will now use the new interface). Unless you are setting the OverrideHostAndPort profile settings you should be fine in just re-using
the same Profile object.