[SR-Users] Kamailio 5.1.2 and Module PDB: pdb_query returns always 0

Stefan Rüetschli stefan at solnet.ch
Mon May 28 15:10:16 CEST 2018


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.


Any ideas?

Thanks & regards

More information about the sr-users mailing list