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

Nick notifications at github.com
Sat Jan 30 13:26:19 CET 2021


Hi @Stranger-inton ,
I took your patch and put it into this branch with some increased debugging / logging,
[Kamailio - Diameter_Fix](https://github.com/nickvsnetworking/kamailio/tree/Diameter_Fix)

Unfortunately I when I tried the patch it seems the get_str_fparam call hasn't fixed it,

Turning up the logging I can see that when get_str_fparam is called and the message converted to a string, but addAVPsfromJSON() is able to parse all the AVPs but as it's the root of the JSON key it fails.
[addAVPsfromJSON / ims_diameter_server](https://github.com/nickvsnetworking/kamailio/blob/60ec67edf24f465b64540546984f186760b048c4/src/modules/ims_diameter_server/avp_helper.c#L406)

Being able to do Diameter routing in Kamailio would make my life easier, so I'm happy to pay you for your time if you think you can fix it, ping me an email at _nick at nickvsnetworking.com_ if you're interested,

-- 
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-770204518
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210130/2150f77f/attachment.htm>


More information about the sr-dev mailing list