<p dir="ltr">I added costume field to the contact header</p>
<div class="gmail_extra"><br><div class="gmail_quote">On 1 Aug 2016 8:36 a.m., "Daniel-Constantin Mierla" <<a 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">
  
    
  
  <div 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>On 01/08/16 07:33, Nahum Nir wrote:<br>
    </div>
    <blockquote 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 href="mailto:miconda@gmail.com" target="_blank">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 href="http://www.asipto.com" rel="noreferrer" target="_blank">http://www.asipto.com</a>
            - <a href="http://www.kamailio.org" rel="noreferrer" target="_blank">http://www.kamailio.org</a><br>
            <a href="http://twitter.com/#%21/miconda" rel="noreferrer" target="_blank">http://twitter.com/#!/miconda</a> - <a 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 cols="72">-- 
Daniel-Constantin Mierla
<a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a> - <a href="http://www.kamailio.org" target="_blank">http://www.kamailio.org</a>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
  </div>

</blockquote></div></div>