[sr-dev] [kamailio/kamailio] CDP / IMS Diameter Server Module- diameter_request() function fails to send/forward request (#2035)

Stranger-inton notifications at github.com
Fri Jan 29 18:48:11 CET 2021


Hi,

I`am trying to use this module and got the same issue.

I made a quick look into code.
The problem lied in ims_diameter_server.c in function diameter_request wich start at line 263
In this function in line 311 made call to function addAVPsfromJSON with empty parameter s_message
To resolve this, we need fill s_message with data by calling get_str_fparam

I made a quick patch.
[kamailio_ims_diameter_server.txt](https://github.com/kamailio/kamailio/files/5895410/kamailio_ims_diameter_server.txt)



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2035#issuecomment-769951576
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210129/085bcc48/attachment.htm>


More information about the sr-dev mailing list