[SR-Users] Kamailio 5.1.2 and Module PDB: pdb_query returns always 0
Henning Westerholt
hw at kamailio.org
Mon May 28 21:00:30 CEST 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180528/8a800b78/attachment.html>
More information about the sr-users
mailing list