Module: kamailio
Branch: master
Commit: b38fe1b5b6061c07a050b329bacd55377bdd45ef
URL: https://github.com/kamailio/kamailio/commit/b38fe1b5b6061c07a050b329bacd553…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-08-25T13:20:17+02:00
core: remove STATS #define, depends on non-existing module, does not compile
- remove STATS #define, depends on non-existing snmp module, does not compile
- could be used to print e.g. number of packets on SIGUSR1
- these numbers were reported through SNMP
- replaced by Kamailio statistics support
- remove stats.c and stats.h files
---
Modified: src/Makefile.defs
Modified: src/core/cfg.y
Modified: src/core/forward.c
Modified: src/core/forward.h
Modified: src/core/receive.c
Modified: src/core/ver_defs.h
Modified: src/main.c
Removed: src/core/stats.c
Removed: src/core/stats.h
---
Diff: https://github.com/kamailio/kamailio/commit/b38fe1b5b6061c07a050b329bacd553…
Patch: https://github.com/kamailio/kamailio/commit/b38fe1b5b6061c07a050b329bacd553…
Hello,
I used from kamailio with MMTel features as AS in my IMS scenario and I
wanted to send UDR diameter request from AS to my HSS. According to my
study I should use "diameter_request" or "diameter_request_async" in
ims_diameter_server module . but some problem exists in diameter_request
function which caused "json" string as input of "diameter_request" ignored
and fault happened.
I added parse and checking "json" string in diameter_request function in
ims_diameter_server.c file :
if (message) {
if (get_str_fparam(&s_message, msg, (fparam_t*)message) <
0) {
LM_ERR("failed to get json string\n");
return -1;
}
LM_DBG("json %.*s\n", s_message.len, s_message.s);
}
also cdp_get_session function in cdp module has problem with "lock and
unlock session" and " AAASessionsLock(hash);
" doesn't work correctly. I comment " AAASessionsLock(hash);" and "
AAASessionsUnlock(hash);"
I recompiled ims_diameter_server and cdp modules again
called below part in request_route of my configuration :
if(is_method("REGISTER"))
{
diameter_request("hss domain address", "16777217", "306", "{
'avpCode':263 , ....}");
}
this worked correctly and UDR request sent to hss .
### Description
I have a Kamailio with several Gateways configured. It's Probing is done using Dispatcher module and setting the GW state with value "8". If more than 15 Gw's are set as "8" with a probing frequency of 1min, only 15 GW will be probed each minute.
I can't find a configuration for this and have already posted this issue in the sr-users mailing list
I'm using Kamailio 5.2.0.
Best Regards
--
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/2041