[reSIProcate] Handling REFERS with Replaces
Hi
I have a very simple scenario.
I want to send a REFER with the Replaces header. This is really simple using
the refer() method.
In the UAC receiving the INVITE that is a result of this refer I want to
handle the INVITE in a normal manner.
Do I have to terminate the dialog that is replaced, or is this handled
automatically?
If I have to do it myself, where can I get a hold of the Replaces header, or
at least the original INVITE message from the InviteSession?
When a dialog is connected I want to check if the original request contained
a Replaces header, use the findInviteSession and finally end the replaced
dialog. I would not want to keep the Replaces information saved somewhere
during the dialog setup, to be used in a later stage when the dialog is
connected.
Best Regards
Anumeet