[sr-dev] [kamailio/kamailio] CDP / IMS Diameter Server Module- event_route[diameter:response] fails to receive/forward response (Issue #2900)

w415384914 notifications at github.com
Mon Oct 25 05:15:56 CEST 2021


I config ims_diameter_server as below:
```
#!ifdef WITH_DIAMETER_SERVER
# IMS_DIAMETER_SERVER
event_route[diameter:request]{
      xlog("L_INFO","ims Got diameter message");
#      diameter_request("hss.ims.mnc001.mcc001.3gppnetwork.org", $diameter_application, $diameter_command, $diameter_request);
      diameter_request_async("hss.ims.mnc001.mcc001.3gppnetwork.org", $diameter_application, $diameter_command, $diameter_request);
      xlog("L_INFO","ims Forwarded Diameter Request");
}
event_route[diameter:response] {
        xlog("L_INFO","ims Reply to Diameter request is $diameter_response\n");
}
#!endif
```
And got a response from hss:
![image](https://user-images.githubusercontent.com/10116705/138629415-dd7f6266-7801-4ed3-8922-a0b9cba4089a.png)
but got <null> response in log:

> 90(124) INFO: <script>: ims Got diameter message90(124) DEBUG: ims_diameter_server [avp_helper.c:59]: avp2json(): AVP((nil) < 0x7f44c2ad16f0 >0x7f44c2ad0c08);code=263,flags=40;
> 89(123) INFO: <script>: ims Reply to Diameter request is <null>

$diameter_response is <null>, why, how to fix it?



-- 
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/2900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211024/6d740c05/attachment.htm>


More information about the sr-dev mailing list