Am Montag, 18. Juni 2018, 07:51:24 CEST schrieb Stefan Rüetschli:
Thanks for coming back to this.
I didn't solve it until now, I don't know
where to search.
Does somebody also use PDB with 5.1.2 on Ubuntu
16.04.4?
Hello Stefan,
I digged further into this issue and looked to the protocol format in
utils/pdbt/docs/network_protocol.txt.
One strange thing I noticed:
> > [pdb.c:157]: pdb_msg_dbg(): Kamailio
pdb client sends:#012version =
> > 1#012type = 0#012code = 0#012id =
256#012len = 17#012payload =
30 31 32
> > 33 33 33 34 34 35 35 00
Kamailio sends a request in version 1 out, this is the default since
2015 or so.
> > [pdb.c:157]: pdb_msg_dbg(): Kamailio
pdb client
receives:#012version =
> > 0#012type = 0#012code = 0#012id =
256#012len = 17#012payload =
30 31 32
> > 33 33 33 34 34 35 35 00
Kamailio recieves a reply in version 0, it should be version 1 as well.
> > I use this already with Kamailio 4.3.6
and there it is working.
Do you query with the Kamailio 5.1.x to the pdbt server in version
4.x? If yes then I suspect this is the problem.
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=0.
How can I check the version of pdb_server to make sure it's up to date
and should work with kamailio 5.1.2?
The version change in pdbt was done after the release
of the 4.3 branch.
Best regards
Henning
--
If you like my work in the Kamailio project, it would be great if you
could consider supporting me on Patreon:
https://www.patreon.com/henningw