<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>is the contact expired and not updated, or is about attributes
      set for a REGISTER request that should be deleted with the next
      REGISTER updating the expires for same contact?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 29.07.19 08:44, Pintu Lohar wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAB=mOZSGbZf5pvTByKjKZckqN+DP1yH6U4aiQ+qKM0XD4fNQTw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica
          Neue";color:rgb(69,69,69)">Hi All, </p>
        <p class="gmail-p2"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica
          Neue";color:rgb(69,69,69);min-height:14px"><br>
        </p>
        <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica
          Neue";color:rgb(69,69,69)">Regarding modparam("tm|usrloc",
          "xavp_contact", "ulattrs") </p>
        <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica
          Neue";color:rgb(69,69,69)"><br>
          <span class="gmail-s1" style="color:rgb(228,175,10)">#ref : <a
href="https://www.kamailio.org/docs/modules/devel/modules/usrloc.html#usrloc.p.xavp_contact"
              moz-do-not-send="true">https://www.kamailio.org/docs/modules/devel/modules/usrloc.html#usrloc.p.xavp_contact</a></span>
          . <br>
          <br>
          There is some requirement where we need to save some extra
          location attributes to <a
href="https://kamailio.org/docs/db-tables/kamailio-db-4.3.x.html#gen-db-location-attrs"
            moz-do-not-send="true"><span class="gmail-s1"
              style="color:rgb(228,175,10)">location_attrs</span></a> tables <br>
          $xavp(ulattrs=>deviceIdentify)= "Some str values"<span
            class="gmail-Apple-converted-space">  </span>and calling
          save(“location”) , It works well and saved<span
            class="gmail-Apple-converted-space">  </span>location
          attribute table but<span class="gmail-Apple-converted-space"> 
          </span>But when contact expired callback is received,
          udomain_contact_expired_db() does not it delete the extra
          location attribute from database but deleting the record from
          location table only ?<span class="gmail-Apple-converted-space"> </span></p>
        <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica
          Neue";color:rgb(69,69,69)"><span
            class="gmail-Apple-converted-space"></span>If not, is there
          any recommended approach to delete the extra location
          attributes from the database?<span
            class="gmail-Apple-converted-space"> or am I missing
            something to set?</span></p>
        <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica
          Neue";color:rgb(69,69,69)"><br>
          Alternate I was thinking could be running timer from Kamailio
          config and check last_modified time and delete those(based on
          our UAC expiry setting), is it the right approach.<br>
          <br>
          Kamailio Version: 5.2.0.<br>
          <br>
          Thanks for your valuable suggestion in advance.<br>
          <br>
          Regards<span class="gmail-Apple-converted-space"> </span></p>
        <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica
          Neue";color:rgb(69,69,69)">Pintu Lohar<br>
        </p>
        <span
style="background-color:rgb(252,255,252);color:rgb(0,0,0);font-size:15px"><br>
          <br>
          <br>
          <br>
        </span></div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a></pre>
  </body>
</html>