<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Giovanni,<br>
<br>
We just discussed this feature and we decided that makes more
sense to implement it via an external script (python?) that
fetches via MI all the mid-registrations and fire the REGISTER
requests using the t_uac_dlg MI function.<br>
<br>
Liviu already made an extension to the ul_dump MI function in oder
to also expose the context (the key-values set) use by
mid-registrar. See:<br>
<a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/commit/1d0d28874ea1b27962c0b619dcd77746062a8a3e">https://github.com/OpenSIPS/opensips/commit/1d0d28874ea1b27962c0b619dcd77746062a8a3e</a><br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Summit 2018
<a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam">http://www.opensips.org/events/Summit-2018Amsterdam</a>
</pre>
<div class="moz-cite-prefix">On 03/15/2018 03:48 AM, Giovanni
Maruzzelli wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALXCt0ru-RX-bpmznq8iL_mjnda4Vyc0gGyCKY0AWESjb3xXKA@mail.gmail.com">
<div dir="ltr">
<div>
<div>Hello!<br>
<br>
</div>
</div>
I believe could be useful an MI command to resend all
registrations to backend. <br>
<br>
Eg: mid-registar is working, demultiplying the registrations,
passing them back to a FreeSWITCH (or another OpenSIPS).<br>
<br>
They have no common database (eg: mid-registrar has its own DB,
FS has itw own separate DB). FS crashes, its own DB is deleted,
FS restarts. <br>
<br>
There is a need for something to force mid-registrar to resend
all registrations to FS...<br clear="all">
<div>
<div>
<div><br>
-- <br>
<div class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div><span><span><br>
Sincerely,<br>
</span><span><font color="#888888"><br>
Giovanni Maruzzelli<br>
OpenTelecom.IT</font></span><br>
<span>cell: +39 347 266 56 18<span><font
color="#888888"><br>
</font></span></span></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>