[SR-Users] cdp avps issues in kamailio 5.2
Pafel
pafels at gmail.com
Wed Mar 13 17:41:07 CET 2019
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 <mespio at gmail.com> написа:
> 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 <pafels at gmail.com> 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 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 <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/ <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 <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
>> *>>
>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
> --
> --Mojtaba Esfandiari.S
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190313/d805763b/attachment.html>
More information about the sr-users
mailing list