<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>the pcap doesn't include the PUBLISH, only the reply. Can you
      grab a pcap with both the PUBLISH request and the reply?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 03.10.17 18:42, Subba Krishna MG
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFv-GCt4c_rxFVSdqZXG6j7zi-7DmXwXQj2T5pJXYmSYb-Hdzg@mail.gmail.com">
      <div dir="ltr">Attached is the pcap sent by Kamailio.
        <div><br>
        </div>
        <div>My SIP client / Presence client requires 200 OK to be
          mandatory so its discarding the message.</div>
        <div><br>
        </div>
        <div>Can you help me Kamailio send Expires header for 200 OK
          messge?</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>MGSK</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Oct 3, 2017 at 9:59 PM, Subba
          Krishna MG <span dir="ltr"><<a
              href="mailto:meetmgsk@gmail.com" target="_blank"
              moz-do-not-send="true">meetmgsk@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Hello Daniel,
              <div><br>
              </div>
              <div>I am refering to Expires : 50  header. of 200 OK
                message.</div>
              <div><br>
              </div>
              <div><br>
              </div>
              <div>Example:</div>
              <div><br>
              </div>
              <div>
                <div>UDP message sent (372 bytes):</div>
                <div><br>
                </div>
                <div>SIP/2.0 200 OK</div>
                <div>Via: SIP/2.0/UDP 0.0.0.0:5060;transport=udp:<wbr>5060;branch=z9hG4bK*002e-<wbr>0000009f-0dc8</div>
                <div>From: <<a
                    href="mailto:sip%3A123456789900001@172.12.126.2"
                    target="_blank" moz-do-not-send="true">sip:123456789900001@172.12.<wbr>126.2</a>>;tag=<wbr>b72e12bnbsN2759d33bc8-34dfbc00</div>
                <div>To: <a
                    href="mailto:sip%3A123456789900001@172.12.126.2"
                    target="_blank" moz-do-not-send="true">sip:123456789900001@172.12.<wbr>126.2</a>;tag=<wbr>3c61150540a3516dc9f900da252e80<wbr>1c.bed1</div>
                <div>Call-ID: <a
                    href="mailto:123456789900001_1_0_873524566_0@presencea.iprc.nlt.in"
                    target="_blank" moz-do-not-send="true">123456789900001_1_0_873524566_<wbr>0@presencea.iprc.nlt.in</a></div>
                <div>Cseq: 1 Publish</div>
                <div><span style="background-color:rgb(241,194,50)">Expires:
                    60</span></div>
                <div>Content-Length: 0</div>
              </div>
              <div><br>
              </div>
              <div>My Kamailio is not sending this IE.</div>
              <div><br>
              </div>
              <div>Thanks and regards,</div>
              <div>MGSK</div>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">On Tue, Oct 3, 2017 at 9:09
                    PM, Daniel-Constantin Mierla <span dir="ltr"><<a
                        href="mailto:miconda@gmail.com" target="_blank"
                        moz-do-not-send="true">miconda@gmail.com</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div text="#000000" bgcolor="#FFFFFF">
                        <p>Hello,</p>
                        <p>what exactly you refer to by EXPIRES IE?
                          Expires header?</p>
                        <p>Cheers,<br>
                          Daniel<br>
                        </p>
                        <div>
                          <div class="m_3641900811429004758h5"> <br>
                            <div
                              class="m_3641900811429004758m_-8657090669552073946moz-cite-prefix">On
                              03.10.17 04:18, Subba Krishna MG wrote:<br>
                            </div>
                          </div>
                        </div>
                        <blockquote type="cite">
                          <div>
                            <div class="m_3641900811429004758h5">
                              <div dir="ltr">Hello,
                                <div><br>
                                </div>
                                <div>This might be very simple question
                                  for you folks, </div>
                                <div><br>
                                </div>
                                <div>I am using Kamailio as SIP -
                                  Presence server, and For every user
                                  Kamailio is sending 200 OK, but the
                                  EXPIRES IE is missing.</div>
                                <div><br>
                                </div>
                                <div>Can u help me include this IE or
                                  any other IE for 200 OK message?</div>
                                <div><br>
                                </div>
                                <div>How to modify the configuration
                                  files to get this done?</div>
                                <div><br>
                                </div>
                                <div>Thanks a lot,</div>
                                <div>MGSK</div>
                              </div>
                              <br>
                              <fieldset
                                class="m_3641900811429004758m_-8657090669552073946mimeAttachmentHeader"></fieldset>
                              <br>
                            </div>
                          </div>
                          <pre>______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a class="m_3641900811429004758m_-8657090669552073946moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="m_3641900811429004758m_-8657090669552073946moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><span class="m_3641900811429004758HOEnZb"><font color="#888888">
</font></span></pre>
                          <span class="m_3641900811429004758HOEnZb"><font
                              color="#888888"> </font></span></blockquote>
                        <span class="m_3641900811429004758HOEnZb"><font
                            color="#888888"> <br>
                            <pre class="m_3641900811429004758m_-8657090669552073946moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="m_3641900811429004758m_-8657090669552073946moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="m_3641900811429004758m_-8657090669552073946moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="m_3641900811429004758m_-8657090669552073946moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank" moz-do-not-send="true">www.asipto.com</a>
Kamailio World Conference - <a class="m_3641900811429004758m_-8657090669552073946moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank" moz-do-not-send="true">www.kamailioworld.com</a></pre>
                          </font></span></div>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<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>
Kamailio Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>