<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,</p>
    <p>is it header parameter or uri parameter in Contact?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 01/08/16 07:33, Nahum Nir wrote:<br>
    </div>
    <blockquote
cite="mid:CAJAEVs+ZG39cZRC1asCxMLmFATr=T7Vc+yt097bOAmiHbjP0vQ@mail.gmail.com"
      type="cite">
      <p dir="ltr">Hi Daniel,</p>
      <p dir="ltr">I added the device token, or ID to the contact header
        so the script will be able to the the push.</p>
      <p dir="ltr">Thanks,<br>
        Nahum</p>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 1 Aug 2016 8:28 a.m.,
          "Daniel-Constantin Mierla" <<a moz-do-not-send="true"
            href="mailto:miconda@gmail.com">miconda@gmail.com</a>>
          wrote:<br type="attribution">
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
            <br>
            <br>
            On 25/07/16 12:21, Nahum Nir wrote:<br>
            > Hello,<br>
            ><br>
            > I am quite a newbe in Kamailio scripts and further to
            my effort to<br>
            > implement push notification, I am adding to the contact
            header device ID.<br>
            ><br>
            > I have two problems:<br>
            > 1. When the register of the callee expires Kamailio
            frees the record<br>
            > so the information on the calle is not available.<br>
            > 2. Even when the callee is registered I do not how to
            access the<br>
            > contact field. Tried reg_fetch_contacts(...,"callee")
            and there is a<br>
            > lot of info but not the contact header.<br>
            ><br>
            ><br>
            what do you mean by contact header device ID?<br>
            <br>
            The address in Contact header of REGISTER is in addr
            attribute.<br>
            <br>
            Cheers,<br>
            Daniel<br>
            <br>
            --<br>
            Daniel-Constantin Mierla<br>
            <a moz-do-not-send="true" href="http://www.asipto.com"
              rel="noreferrer" target="_blank">http://www.asipto.com</a>
            - <a moz-do-not-send="true" href="http://www.kamailio.org"
              rel="noreferrer" target="_blank">http://www.kamailio.org</a><br>
            <a moz-do-not-send="true"
              href="http://twitter.com/#%21/miconda" rel="noreferrer"
              target="_blank">http://twitter.com/#!/miconda</a> - <a
              moz-do-not-send="true"
              href="http://www.linkedin.com/in/miconda" rel="noreferrer"
              target="_blank">http://www.linkedin.com/in/miconda</a><br>
            <br>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> - <a class="moz-txt-link-freetext" href="http://www.kamailio.org">http://www.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>