Hello,

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 :)

Regards,

Ivo

On 3/13/19 6:41 PM, Pafel wrote:
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.

Regards,
Pavel Siderov

На ср, 13.03.2019 г. в 13:50 ч. Mojtaba <[email protected] <mailto:[email protected]>> написа:

    The sound is strange, Actually the host-IP-Addres should not be
    missed in new version because it is mandatory option,
    I guess it would be nice to check it with latest version again.
    With Regards. Mojtaba

    On Wed, Mar 13, 2019 at 2:07 PM Pavel S <[email protected]
    <mailto:[email protected]>> wrote:

        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 
-https://tools.ietf.org/html/rfc6733#section-5.3.1

            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 
herehttps://github.com/kamailio/kamailio/tree/master/misc/examples/ims/icscf  
sends Host-IP-Address but Kamailio 5.2 with the same configuration doesn't.

        Any idea how to fix it?

        Regards,

        Pavel Siderov

        >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
        
><https://www.kamailio.org/docs/modules/5.1.x/modules/ims_diameter_server.html>

        >On Tue, Mar 12, 2019 at 8:17 PM Pafel <pafels at gmail.com  
<https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>> wrote:
        >
        >>/Hello, />>//>>/I am testing ims setup with kamailio 5.2 using the 
default
        configuration />>/provided here: 
/>>/https://github.com/kamailio/kamailio/tree/master/misc/examples/ims/
        . />>/Тhere is an issue I am facing with cdp avp in request sent to
        hss. There />>/are some missing mandatory parameters in capabilities
        exchange request like />/> 257 host-ip-address for example. Any idea 
how to add it via
        icscf.xml or />/> kamailio.cfg ? The same parameter is passed to hss 
with
        kamailio 5.1 using />/> default ims configuration. I read cdp and 
cdp_avp
        documentation but />/> couldn't understand if it is possible to add it. />>//>>/Regards, 
/>>/Pavel Siderov />>/_______________________________________________ />>/Kamailio (SER) - Users 
Mailing List />>/sr-users at lists.kamailio.org
        <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users> />/> 
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users />>

        _______________________________________________
        Kamailio (SER) - Users Mailing List
        [email protected] <mailto:[email protected]>
        https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



-- --Mojtaba Esfandiari.S
    _______________________________________________
    Kamailio (SER) - Users Mailing List
    [email protected] <mailto:[email protected]>
    https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to