[SR-Users] in-dialog contact update before dialog being confirmed

Jayesh Nambiar jayesh1017 at gmail.com
Thu May 25 10:08:35 CEST 2017


Hello Alex,
I managed to send the UPDATE method from my endpoint but still the kamailio
is not updating the new contact. The UPDATE method is simply loose routed
from caller-callee when a network change is detected on the client. Though
the UPDATE is relayed and responded back correctly; the subsequent response
still goes to the initial contact address.
Also when the dialog is established; kamailio correctly updates the contact
on Re-Invite but it does not on an UPDATE method.

Anything particular to be done in this case. Thanks.

- Jayesh

On Wed, May 24, 2017 at 3:53 PM, Alex Balashov <abalashov at evaristesys.com>
wrote:

> Hi Jayesh,
>
> This is the exact purpose of UPDATE - to update the dialog remote target
> before the dialog is established.
>
> But of course, properly implementing and following it is up to the
> endpoints.
>
> -- Alex
>
> > On May 24, 2017, at 5:46 AM, Jayesh Nambiar <jayesh1017 at gmail.com>
> wrote:
> >
> > Hello,
> > In a user-user based calling on mobile apps, when the call is connected
> and the user moves from a Wifi to Mobile data (network change); the device
> sends a Re-Invite with new contact information and subsequent messages go
> to appropriate changed contact address.
> > But when the dialog is in say ringing state; and the caller moves from
> one network to another; what would be an appropriate SIP method to trigger
> the contact update. My problem is generating a Re-INVITE or an UPDATE
> before the call is connected is very difficult.
> > What I tried is sending an in-dialog INFO message with new contact
> address; which gets relayed to the called party and the response for INFO
> is also properly received on the new contact address. But the subsequent
> response of the INVITE like a 486 or 200 goes to the original contact only.
> > What would be the best way to update the contact address of a client if
> I'm maintaining all the dialogs in kamailio.
> >
> > Thanks,
> >
> > - Jayesh
> > _______________________________________________
> > Kamailio (SER) - Users Mailing List
> > sr-users at lists.kamailio.org
> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170525/fd914805/attachment.html>


More information about the sr-users mailing list