Conroy, Lawrence (SMTP) wrote:
Hi Yves, folks,
If you register at a SIP proxy, you pass a contact SIP address to be bound to that Address of Record.
When you register with a new dynamic address, you are adding another (different) SIP contact address to
the one(s) you have already.
What you CAN do is to remove all registrations (Pass the special contact address * with an Expires header of 0)
The contact address * means "all of the bindings" and the expires header of 0 means "they all expire now".
Thus you de-register all bindings and then Register with the new dynamic address, so this new contact will be
the only Registration that survives.
The above will work. You can also do it in a les heavy-handed way if you know both the old and new addresses, and can do it in a single request.
Just send a REGISTER with two contacts: one identical to the old contact, but with an expires=0 parameter, and another for your new replacement contact.
Paul
all the best, Lawrence
On 12 Oct 2004, at 07:57, Willems Yves wrote:
Hi all,
Is there a way by means of a header or header parm to force a registrar to replace an existing registration with a new one? Problem I have is that the contact address used for registration is dynamic (dhcp or ppp assigned). If the address changes, I want to replace the old registration with a new one holding the new address.
On most registars (e..g SER) the new registration results in an extra entry for the same URI.
Thanks in advance
Yves Willems
_______________________________________________ Sip-implementors mailing list [EMAIL PROTECTED] http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
_______________________________________________ Sip-implementors mailing list [EMAIL PROTECTED] http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
