From hw@kamailio.org Wed Jun 20 17:23:14 2018 From: Henning Westerholt To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] Kamailio 5.1.2 and Module PDB: pdb_query returns always 0 Date: Wed, 20 Jun 2018 17:23:02 +0200 Message-ID: <2564700.st92FH0W6O@linux-rdlu> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1175360820==" --===============1175360820== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Am Dienstag, 19. Juni 2018, 17:24:04 CEST schrieb Stefan R=C3=BCetschli: > [..] > I tried to use the pdb server from kamailio 4.x (because I was sure it > works) and I also used only the pdb-server on localhost where kamailio > 5.1.2 is running. > But the result is the same, asking with version 1, response with version > 0 and result=3D0. Hello Stefan, I today tried to reproduce this with current git master. It worked for me ok = in the simple test=20 case 0(12121) DEBUG: pdb [pdb.c:239]: pdb_query(): querying '495041748'... 0(12121) DEBUG: pdb [pdb.c:264]: pdb_query(): flushed 0 packets for 'localho= st:5574' 0(12121) DEBUG: pdb [pdb.c:162]: pdb_msg_dbg(): Kamailio pdb client sends: version =3D 1 type =3D 0 code =3D 0 id =3D 0 len =3D 16 payload =3D 34 39 35 30 34 31 37 34 38 00=20 0(12121) DEBUG: pdb [pdb.c:288]: pdb_query(): sending request to 'localhost:= 5574' 0(12121) DEBUG: pdb [pdb.c:162]: pdb_msg_dbg(): Kamailio pdb client receives: version =3D 1 type =3D 1 code =3D 1 id =3D 0 len =3D 18 payload =3D 34 39 35 30 34 31 37 34 38 00 00 0C=20 0(12121) INFO: pdb [pdb.c:386]: pdb_query(): got an answer in 0.316000 ms 0(12121) ERROR: