[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openser-users
Subject:    Re: [SR-Users] Unload UAC remote registry
From:       "E. Schmidbauer" <eschmidbauer () gmail ! com>
Date:       2020-12-23 14:26:18
Message-ID: CAJwe+CCYv2JHB9jR=-gSwnVV83rsJY5dP+VpkE+Gnk7XaCC77g () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/related)]

[Attachment #4 (multipart/alternative)]


You could use RPC.
I built a wrapper service for RPC which exposes REST endpoints. Take a look
here:
 https://github.com/voipxswitch/kamailio-jsonrpc-client

On Tue, Dec 22, 2020, 8:34 AM Javier Valencia <jv@voiper.es> wrote:

> Hello,
>
> I'm on Kamailio 4.4.7 and I'm trying to do uac.reg_refresh over a row non
> existing on DB to try to unload, but data still persist on Kamailio.
>
> How to unload only one registry from UACs remote registrations when delet=
e
> a record from DB without do a uac.reg_reload?
>
> UAC remote registrations is above 2k rows, I don't know if it's much or
> not.
>
> Regards, JV
>
>
> --
> [image: Logo] <http://www.voiper.es/>
> Javier Valencia | CTO
> Centro de Negocios Mart=C3=ADn Buend=C3=ADa
> Camino de las Ca=C3=B1adas, n=C2=BA 1C, Portal 1, 2=C2=BAG
> 29649 Mijas (M=C3=A1laga)
> [image: #] 951562080 (T) <951562080> | 687486759 (M) <687486759>
> [image: #] www.voiper.es
> ------------------------------
>
> AVISO LEGAL
> -----------
>
> Este mensaje contiene informaci=C3=B3n confidencial destinada para ser le=
=C3=ADda
> exclusivamente por el destinatario. Queda prohibida la reproducci=C3=B3n,
> publicaci=C3=B3n, divulgaci=C3=B3n, total o parcial del mensaje as=C3=AD =
como el uso no
> autorizados por el emisor. En caso de recibir el mensaje por error, se ru=
ega
> su comunicaci=C3=B3n al remitente lo antes posible. Por favor, indique
> inmediatamente si usted o su empresa no aceptan comunicaciones de este ti=
po
> por Internet.
>
> Las opiniones, conclusiones y dem=C3=A1s informaci=C3=B3n incluida en est=
e mensaje que
> no est=C3=A9 relacionada con asuntos profesionales de SMART RECARGAS, S.L=
, se
> entender=C3=A1 que nunca se ha dado, ni est=C3=A1 respaldado por el mismo=
.
>
> Responsable del Tratamiento de Datos
> ------------------------------------
> SMART RECARGAS , SL
> Camino de las Ca=C3=B1adas, 1C PORTAL 1 2=C2=BA G
> 29651 MIJAS COSTA (MALAGA)
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>

[Attachment #7 (text/html)]

<div dir="auto">You could use RPC.<div dir="auto">I built a wrapper service for RPC \
which exposes REST endpoints. Take a look here:</div><div dir="auto">  <a \
href="https://github.com/voipxswitch/kamailio-jsonrpc-client">https://github.com/voipxswitch/kamailio-jsonrpc-client</a></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 22, 2020, 8:34 AM \
Javier Valencia &lt;<a href="mailto:jv@voiper.es">jv@voiper.es</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">  

    
  
  <div>
    <p><font face="SF Pro Display">Hello,</font></p>
    <p><font face="SF Pro Display">I&#39;m on Kamailio 4.4.7 and I&#39;m trying
        to do uac.reg_refresh over a row non existing on DB to try to
        unload, but data still persist on Kamailio.<br>
      </font></p>
    <p><font face="SF Pro Display">How to unload only one registry from
        UACs remote registrations when delete a record from DB without
        do a uac.reg_reload?</font></p>
    <p><font face="SF Pro Display">UAC remote registrations is above 2k
        rows, I don&#39;t know if it&#39;s much or not.<br>
      </font></p>
    <p><font face="SF Pro Display">Regards, JV</font></p>
    <p><font face="SF Pro Display"></font><br>
    </p>
    <div>-- <br>
      
      <table style="background-color:#ffffff" width="100%" cellspacing="0" \
cellpadding="0" border="0">  <tbody>
          <tr>
            <td valign="top">
              <table width="100%" cellspacing="0" cellpadding="0" border="0" \
align="center">  <tbody>
                  <tr>
                    <td valign="top" align="center">
                      <table width="700" cellspacing="0" cellpadding="0" border="0" \
bgcolor="#ffffff" align="left">  <tbody>
                          <tr>
                            <td valign="top">
                              <table width="660" cellspacing="0" cellpadding="0" \
border="0" align="left">  <tbody>
                                  <tr>
                                    <td valign="middle">
                                      <table cellspacing="0" cellpadding="0" \
border="0" align="left">  <tbody>
                                          <tr>
                                            <td valign="top" align="left">
                                              <table cellspacing="0" cellpadding="0" \
border="0" align="left">  <tbody>
                                                  <tr>
                                                    <td width="auto" valign="top">
                                                      <table cellspacing="0" \
cellpadding="0" border="0" align="left">  <tbody>
                                                          <tr>
                                                          <td>
                                                          <table cellspacing="0" \
cellpadding="0" border="0" align="left">  <tbody>
                                                          <tr>
                                                          <td \
style="padding-top:1px;padding-right:5px" valign="middle" align="center"> <a \
href="http://www.voiper.es/" target="_blank" rel="noreferrer"> <img \
src="cid:part1.76CE2888.B8A3CDFF@voiper.es" style="max-width:250px" alt="Logo" \
width="250" vspace="0" hspace="0" border="0"> </a>  </td>
                                                          </tr>
                                                          </tbody>
                                                          </table>
                                                          </td>
                                                          </tr>
                                                        </tbody>
                                                      </table>
                                                    </td>
                                                  </tr>
                                                </tbody>
                                              </table>
                                            </td>
                                            <td valign="top" align="left">
                                              <table cellspacing="0" cellpadding="0" \
border="0" align="left">  <tbody>
                                                  <tr>
                                                    <td style="border-left:1px solid \
                #000000;padding-left:5px" width="auto" valign="top">
                                                      <table cellspacing="0" \
cellpadding="0" border="0" align="left">  <tbody>
                                                          <tr>
                                                          <td>
                                                          <table cellspacing="0" \
cellpadding="0" border="0" align="left">  <tbody>
                                                          <tr>
                                                          <td \
style="font-size:13px;line-height:15px;font-family:&#39;century gothic&#39;,Trebuchet \
MS,Comic Sans MS,cursive,Verdana,Tahoma,sans-serif;color:#000000;font-weight:300;text-align:left"> \
<span style="font-weight:700;font-size:14px;color:#000000;text-transform:uppercase">  \
Javier  Valencia </span>
                                                          | CTO <br>
                                                          Centro de
                                                          Negocios
                                                          Martín Buendía
                                                          <br>
                                                          Camino de las
                                                          Cañadas, n º
                                                          1C, Portal 1,
                                                          2 ºG <br>
                                                          29649 Mijas
                                                          (Málaga) </td>
                                                          </tr>
                                                          </tbody>
                                                          </table>
                                                          </td>
                                                          </tr>
                                                          <tr>
                                                          <td style="padding-top:5px" \
                width="auto" valign="top">
                                                          <table cellspacing="0" \
cellpadding="0" border="0" align="left">  <tbody>
                                                          <tr>
                                                          <td \
style="padding-right:4px" align="left">  <img \
src="cid:part3.18E8071F.C589744C@voiper.es" alt="#" \
style="display:block!important;max-width:14px" width="14" vspace="0" hspace="0" \
height="14" border="0"> </td>  <td style="font-size:13px;font-family:&#39;century \
gothic&#39;,Verdana,Tahoma,Lucida \
Grande,Helvetica,sans-serif;text-align:left;color:#000000;font-weight:300" \
width="auto" valign="left" align="left">  <a href="tel:951562080" \
style="text-decoration:none;color:#000000" target="_blank" rel="noreferrer">951562080 \
(T)</a> | <a href="tel:687486759" style="text-decoration:none;color:#000000" \
target="_blank" rel="noreferrer">687486759 (M)</a> </td>  </tr>
                                                          <tr>
                                                          <td \
style="padding-right:4px" align="left">  <img \
src="cid:part6.4EFED915.31A114D1@voiper.es" alt="#" \
style="display:block!important;max-width:14px" width="14" vspace="0" hspace="0" \
height="14" border="0"> </td>  <td style="font-size:13px;font-family:&#39;century \
gothic&#39;,Verdana,Tahoma,Lucida \
Grande,Helvetica,sans-serif;text-align:left;color:#000000;font-weight:300" \
width="auto" valign="left" align="left"> <a href="http://www.voiper.es/" \
style="text-decoration:none;color:#000000" target="_blank" rel="noreferrer"> \
www.voiper.es </a> </td>  </tr>
                                                          </tbody>
                                                          </table>
                                                          </td>
                                                          </tr>
                                                        </tbody>
                                                      </table>
                                                    </td>
                                                  </tr>
                                                </tbody>
                                              </table>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
        </tbody>
      </table>
      <hr style="color:#888" size="1" noshade>
      <pre>AVISO LEGAL
-----------

Este mensaje contiene información confidencial destinada para ser leída
exclusivamente por el destinatario. Queda prohibida la reproducción,
publicación, divulgación, total o parcial del mensaje así como el uso no
autorizados por el emisor. En caso de recibir el mensaje por error, se ruega
su comunicación al remitente lo antes posible. Por favor, indique
inmediatamente si usted o su empresa no aceptan comunicaciones de este tipo
por Internet.

Las opiniones, conclusiones y demás información incluida en este mensaje que
no esté relacionada con asuntos profesionales de SMART RECARGAS, S.L, se
entenderá que nunca se ha dado, ni está respaldado por el mismo.

Responsable del Tratamiento de Datos
------------------------------------
SMART RECARGAS , SL
Camino de las Cañadas, 1C PORTAL 1 2 º G
29651 MIJAS COSTA (MALAGA)
</pre>
    </div>
  </div>

_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" \
rel="noreferrer">sr-users@lists.kamailio.org</a><br> <a \
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer \
noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
 </blockquote></div>


["kbekhpmlkhceidnp.png" (image/png)]
["daijmglepokljpdj.png" (image/png)]
["ddfhgjokkgpndgkm.png" (image/png)]
["kbekhpmlkhceidnp.png" (image/png)]

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic