[SR-Users] RTPEngine and dialog moving.

Igor Olhovskiy igorolhovskiy at gmail.com
Tue Jun 4 10:57:46 CEST 2019


Ok. There are a possibility to get instance was chosen by rtpengine_offer via rtp_inst_pvar.
But is there way to force answer/delete to this instance or need to get some uri_to_setid function?



Regards, Igor
On May 31, 2019, 17:04 +0300, Alex Balashov <abalashov at evaristesys.com>, wrote:
> You can’t be sure, if the command is issued from a different Kamailio instance. I’d suggest sticking the RTPEngine set ID into an RR parameter, simply because it’s both stateless and dialog-persistent.
>
>> Sent from mobile, with due apologies for brevity and errors.
>
> On May 31, 2019, at 10:01 AM, Igor Olhovskiy <igorolhovskiy at gmail.com> wrote:
>
> > Hi!
> >
> > Wanted to clarify some info about rtpengine working within HA-environment.
> >
> > Idea is we have multiple rtpengines under same setid.
> > So, when I'm calling rtpengine_offer() I really don't care which is selected. But than might happen situation, where this call(dialog) is moved to other Kamailio instance (via dlg_db_load_callid()) and from there called rtpengine_delete().
> >
> > So, my question is, how I can be sure, that delete request will go to same rtpengine instance that was selected in rtpengine_offer() on different server. And where this info is stored, within dialog or within TM module (which is not replicated in any way)
> >
> > Regards, Igor
> > _______________________________________________
> > 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/20190604/d5ecee8a/attachment.html>


More information about the sr-users mailing list