<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>I was experience that on Debian. This is very old "feature" that
      maybe was not reported. Nothing related to upgrade I think. During
      restarts sometimes cdp cannot gets his IP. Everything seems to run
      fine, but this AVP is missing from diameter communication later
      on. This was reported in logs during restart as far I remember.
      And this event is not very often... and happens randomly :)<br>
    </p>
    <p>Regards,</p>
    <p>Ivo<br>
    </p>
    <div class="moz-cite-prefix">On 3/13/19 6:41 PM, Pafel wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABuk_RyqMhtYAvZZkiTckmvmODL-xbtf0=CC6hYxKc2xt_isVw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hmm, strange. I've updated from 5.2.1 to 5.2.2 and
        now I got host-ip-address in capabilities exchange request.
        After several tests I've stopped pcscf and again host-ip-address
        is not present in request to hss. Then again I've started pcscf
        and host-ip-address was present. During the tests with 5.2.1
        pcscf was started.. but host-ip-address wasn't available in
        capabilities exchange. Anyway, now everything is ok. Thank you
        very much for your help. 
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Pavel Siderov</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">На ср, 13.03.2019 г. в 13:50
          ч. Mojtaba <<a href="mailto:mespio@gmail.com"
            moz-do-not-send="true">mespio@gmail.com</a>> написа:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">
            <div>The sound is strange, Actually the host-IP-Addres
              should not be missed in new version because it is
              mandatory option,</div>
            <div>I guess it would be nice to check it with latest
              version again.</div>
            <div>With Regards. Mojtaba<br>
            </div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Wed, Mar 13, 2019 at
              2:07 PM Pavel S <<a href="mailto:pafels@gmail.com"
                target="_blank" moz-do-not-send="true">pafels@gmail.com</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div dir="ltr">
                <div dir="ltr">
                  <div dir="ltr">
                    <pre style="white-space:pre-wrap;color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">Hello Mojtava,

> Did you use FHOSS or IMS_DIAMETER_SERVER module?
No, I am using our own hss server. 

>Anyway what mandatory parameters do you mean exactly?
According to RFC6733 section 5.3.1 - <a href="https://tools.ietf.org/html/rfc6733#section-5.3.1" target="_blank" moz-do-not-send="true">https://tools.ietf.org/html/rfc6733#section-5.3.1</a>

   The Capabilities-Exchange-Request (CER), indicated by the Command
   Code set to 257 and the Command Flags' 'R' bit set, is sent to
   exchange local capabilities.  Upon detection of a transport failure,
   this message MUST NOT be sent to an alternate peer.

   When Diameter is run over SCTP [RFC4960] or DTLS/SCTP [RFC6083],
   which allow for connections to span multiple interfaces and multiple
   IP addresses, the Capabilities-Exchange-Request message MUST contain
   one Host-IP-Address AVP for each potential IP address that MAY be
   locally used when transmitting Diameter messages.

      Message Format

         <CER> ::= < Diameter Header: 257, REQ >
                   { Origin-Host }
                   { Origin-Realm }
                1* { Host-IP-Address }
                   { Vendor-Id }
                   { Product-Name }
                   [ Origin-State-Id ]
                 * [ Supported-Vendor-Id ]
                 * [ Auth-Application-Id ]
                 * [ Inband-Security-Id ]
                 * [ Acct-Application-Id ]
                 * [ Vendor-Specific-Application-Id ]
                   [ Firmware-Revision ]
                 * [ AVP ]

Kamailio 5.1 with loaded cdp, cdr_avp, ims_icsf modules and default configuration described here <a href="https://github.com/kamailio/kamailio/tree/master/misc/examples/ims/icscf" target="_blank" moz-do-not-send="true">https://github.com/kamailio/kamailio/tree/master/misc/examples/ims/icscf</a> sends Host-IP-Address but Kamailio 5.2 with the same configuration doesn't.

Any idea how to fix it?
</pre>
                    <pre style="white-space:pre-wrap;color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">Regards,
</pre>
                    <pre style="white-space:pre-wrap;color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">Pavel Siderov
</pre>
                    <pre style="white-space:pre-wrap;color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">
>Hello,
>The CER/CEA messages are used just for connections between two peers
>diameter interface. Did you use FHOSS or IMS_DIAMETER_SERVER module? In
>both cases, you should not have any issue. Anyway what mandatory parameters
>do you mean exactly?
>WIth Best Regards. Mojtava
><<a href="https://www.kamailio.org/docs/modules/5.1.x/modules/ims_diameter_server.html" target="_blank" moz-do-not-send="true">https://www.kamailio.org/docs/modules/5.1.x/modules/ims_diameter_server.html</a>>

>On Tue, Mar 12, 2019 at 8:17 PM Pafel <<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">pafels at gmail.com</a>> wrote:
>
>><i> Hello,
</i>>><i>
</i>>><i> I am testing ims setup with kamailio 5.2 using the default configuration
</i>>><i> provided here:
</i>>><i> <a href="https://github.com/kamailio/kamailio/tree/master/misc/examples/ims/" target="_blank" moz-do-not-send="true">https://github.com/kamailio/kamailio/tree/master/misc/examples/ims/</a> .
</i>>><i> Тhere is an issue I am facing with cdp avp in request sent to hss. There
</i>>><i> are some missing mandatory parameters in capabilities exchange request like
</i>><i>> 257 host-ip-address for example. Any idea how to add it via icscf.xml or
</i>><i>> kamailio.cfg ? The same parameter is passed to hss with kamailio 5.1 using
</i>><i>> default ims configuration. I read cdp and cdp_avp documentation but
</i>><i>> couldn't understand if it is possible to add it.
</i>>><i>
</i>>><i> Regards,
</i>>><i> Pavel Siderov
</i>>><i> _______________________________________________
</i>>><i> Kamailio (SER) - Users Mailing List
</i>>><i> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">sr-users at lists.kamailio.org</a>
</i>><i>> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</i>>></pre>
                  </div>
                </div>
              </div>
              _______________________________________________<br>
              Kamailio (SER) - Users Mailing List<br>
              <a href="mailto:sr-users@lists.kamailio.org"
                target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
              <a
                href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
                rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
            </blockquote>
          </div>
          <br clear="all">
          <br>
          -- <br>
          <div dir="ltr"
            class="gmail-m_6475987584345772671gmail_signature">--Mojtaba
            Esfandiari.S</div>
          _______________________________________________<br>
          Kamailio (SER) - Users Mailing List<br>
          <a href="mailto:sr-users@lists.kamailio.org" target="_blank"
            moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
          <a
            href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
            rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
        </blockquote>
      </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>
  </body>
</html>