<p></p>
<p>Hi,</p>
<p>I`am trying to use this module and got the same issue.</p>
<p>I made a quick look into code.<br>
The problem lied in ims_diameter_server.c in function diameter_request wich start at line 263<br>
In this function in line 311 made call to function addAVPsfromJSON with empty parameter s_message<br>
To resolve this, we need fill s_message with data by calling get_str_fparam</p>
<p>I made a quick patch.<br>
<a href="https://github.com/kamailio/kamailio/files/5895410/kamailio_ims_diameter_server.txt">kamailio_ims_diameter_server.txt</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2035#issuecomment-769951576">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMVP67XD6WT6M4KVS3S4LYFXANCNFSM4IMNUHLA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZJBVG6V2XK5WMGADMTS4LYFXA5CNFSM4IMNUHLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFXSIOWA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2035#issuecomment-769951576",
"url": "https://github.com/kamailio/kamailio/issues/2035#issuecomment-769951576",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>