Am Montag, 28. Mai 2018, 15:10:16 CEST schrieb Stefan Rüetschli:
I have here Kamailio 5.1.2 with PDB Module.
I use the documented function from PDB-Module as follows:
pdb_query("$rU", "$avp(i:82)");
xlog("L_INFO","PDB result $rU: $avp(i:82)\n");
The problem is, that $avp(i:82) is always 0.
If I test the PDB-Server, with "pdbt -r localhost:5574 query
<phonenumber>" I get a valid response.
I use this already with Kamailio 4.3.6 and there it is working.
https://kamailio.org/docs/modules/5.1.x/modules/pdb.html
Hello Stefan,
strange. Can you post the debug logs (enable debug logging in cfg) of kamailio for one
not working query here? Maybe we can find something there, before we dig into the
module.
Best regards,
Henning