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 here https://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> 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
>>