Hello Răzvan,
Thanks for your explanation/update. Would be good if somehow you can keep us updated on this topic , ie if/when that limitation is solved. Kind regards, On Tue, Sep 26, 2017 at 6:24 PM, Răzvan Crainea <[email protected]> wrote: > Hi, Milan! > > The only SIP method that can refresh a SIP dialog is a re-INIVTE > (according to RFC 3621 [1]) or an UPDATE (according to RFC 3311 [2]). A > REGISTER message cannot change the Contact of an ongoing dialog. Therefore, > your application has to send a re-INVITE after it connects to a new network. > However, there is a small limitation in the dialog module that doesn't > allow you to update the remote-address (Contact), not even for re-INVITEs > or UPDATEs. But there are some guys that are working to fix it, luckily the > fix will be out soon. > > [1] https://tools.ietf.org/html/rfc3621 > [2] https://tools.ietf.org/html/rfc3311 > > Best regards, > > Răzvan Crainea > OpenSIPS Developerwww.opensips-solutions.com > > On 09/26/2017 01:32 PM, Milan Stanojevic wrote: > > Hello, > > > I'm running into next issue: > > My SIP clients register to Opensips server with Expires interval of 3600 > seconds and calling/initializing call to other SIP client or PSTN network > works fine but issue comes when my SIP client send re-register during > active call (it sends re-register 300 seconds after initial REGISTER > message or in case IP/network on which it is has changed since those are > mobile SIP clients) . So when calling SIP client re-register Contact field > for that AOR will be updated to new value ( It will change network socket , > IP:Port ) and if/when called party (either PSTN or other SIP client on my > network) wants to hangup that call BYE that comes from called party is not > send to new/updated Contact of caller , rather it is trying to send it to > "old" Contact which does not exist any more. > > > Do you have any idea how I could fix this so that BYE goes to new/update > Contact value ? > > > Regards, > > -- > > Milan Stanojević > > <https://www.facebook.com/LotusFlareGrowth/> > <https://twitter.com/Lotus_Flare> > <https://www.linkedin.com/company-beta/5270342/> > +381 60 70 28 592 > www.lotusflare.com > > > _______________________________________________ > Users mailing > [email protected]http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > -- Milan Stanojević <https://www.facebook.com/LotusFlareGrowth/> <https://twitter.com/Lotus_Flare> <https://www.linkedin.com/company-beta/5270342/> +381 60 70 28 592 www.lotusflare.com
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
