[sr-dev] git:master:f995edfb: pdb: new protocol between pdb_server and kama pdb module

Stefan Mititelu stefan.mititelu at 1and1.ro
Thu Jun 18 12:39:15 CEST 2015


Module: kamailio
Branch: master
Commit: f995edfb7fc9305dc72a6b04575e6112cd873473
URL: https://github.com/kamailio/kamailio/commit/f995edfb7fc9305dc72a6b04575e6112cd873473

Author: Stefan Mititelu <stefan.mititelu at 1and1.ro>
Committer: Stefan Mititelu <stefan.mititelu at 1and1.ro>
Date: 2015-06-18T13:28:16+03:00

pdb: new protocol between pdb_server and kama pdb module

Modified the communication protocol between the pdb clent <-> server such
that the server will give more feedback on scenarios like "pdb_id not found" or
"request number contains letters". New msg types or reply codes can be easily
added. Curent version of the protocol is 1 (0x01).
Also backwards compatibility is maintained when the first received byte is
different than the known versions (now, just 0x01).
Updated the http link for the get_carrier_germany script. Created a new perl
script to get german carrier id.
Updated doku (utils/pdbt/docs/network_protocol.txt).

added the perls script

---

Added: modules/pdb/common.h
Added: utils/pdbt/common.c
Added: utils/pdbt/scripts/get_carrier_names_germany.pl
Modified: modules/pdb/doc/pdb_admin.xml
Modified: modules/pdb/pdb.c
Modified: utils/pdbt/Makefile
Modified: utils/pdbt/common.h
Modified: utils/pdbt/docs/network_protocol.txt
Modified: utils/pdbt/log.c
Modified: utils/pdbt/log.h
Modified: utils/pdbt/pdb_server.c
Modified: utils/pdbt/pdbt.c
Modified: utils/pdbt/scripts/get_carrier_names_germany.sh

---

Diff:  https://github.com/kamailio/kamailio/commit/f995edfb7fc9305dc72a6b04575e6112cd873473.diff
Patch: https://github.com/kamailio/kamailio/commit/f995edfb7fc9305dc72a6b04575e6112cd873473.patch




More information about the sr-dev mailing list