Table version needs to be updated updated in uac-create.sql, to match uac_reg.h version 5. Version 5 reflects the addition of the contact_addr column. You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2735
-- Commit Summary --
* Update uac-create.sql to reflect UACREG_TABLE_VERSION in uac_reg.h
-- File Changes --
M utils/kamctl/db_sqlite/uac-create.sql (2) M utils/kamctl/mysql/uac-create.sql (2) M utils/kamctl/oracle/uac-create.sql (2) M utils/kamctl/postgres/uac-create.sql (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2735.patch https://github.com/kamailio/kamailio/pull/2735.diff
Thanks for report and PR!
The database definition rules are kept in xml files inside `src/lib/srdb1/schema`, after changes there, `make dbschema` has to be run to generate the sql and the other db files for kamctl. It requires the xml toolkit to be installed. For uacreg I pushed the changes accordingly with commits: 8da9b7936c1be8b5c4df80d716344dfa4461b494 and 58d5f06aacce6ba7bb26f7be928b9bf71d39f9c3.
Also, for the future, be sure you format the commit message according to the guidelines in:
* https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md#com...
Closed #2735.