diff --git a/utils/kamctl/db_berkeley/kamailio/uacreg b/utils/kamctl/db_berkeley/kamailio/uacreg index b6cc37f0df4..a5efcf61855 100644 --- a/utils/kamctl/db_berkeley/kamailio/uacreg +++ b/utils/kamctl/db_berkeley/kamailio/uacreg @@ -1,5 +1,5 @@ METADATA_COLUMNS -id(int) l_uuid(str) l_username(str) l_domain(str) r_username(str) r_domain(str) realm(str) auth_username(str) auth_password(str) auth_ha1(str) auth_proxy(str) expires(int) flags(int) reg_delay(int) socket(str) +id(int) l_uuid(str) l_username(str) l_domain(str) r_username(str) r_domain(str) realm(str) auth_username(str) auth_password(str) auth_ha1(str) auth_proxy(str) expires(int) flags(int) reg_delay(int) contact_addr(str) socket(str) METADATA_KEY METADATA_READONLY @@ -7,4 +7,4 @@ METADATA_READONLY METADATA_LOGFLAGS 0 METADATA_DEFAULTS -NIL|''|''|''|''|''|''|''|''|''|''|0|0|0|'' +NIL|''|''|''|''|''|''|''|''|''|''|0|0|0|''|'' diff --git a/utils/kamctl/db_redis/kamailio/uacreg b/utils/kamctl/db_redis/kamailio/uacreg index e0d3f240498..35e25cd3b09 100644 --- a/utils/kamctl/db_redis/kamailio/uacreg +++ b/utils/kamctl/db_redis/kamailio/uacreg @@ -1,2 +1,2 @@ -id/int,l_uuid/string,l_username/string,l_domain/string,r_username/string,r_domain/string,realm/string,auth_username/string,auth_password/string,auth_ha1/string,auth_proxy/string,expires/int,flags/int,reg_delay/int,socket/string, +id/int,l_uuid/string,l_username/string,l_domain/string,r_username/string,r_domain/string,realm/string,auth_username/string,auth_password/string,auth_ha1/string,auth_proxy/string,expires/int,flags/int,reg_delay/int,contact_addr/string,socket/string, 4 diff --git a/utils/kamctl/db_sqlite/uac-create.sql b/utils/kamctl/db_sqlite/uac-create.sql index 261b8c08e16..764e623e02d 100644 --- a/utils/kamctl/db_sqlite/uac-create.sql +++ b/utils/kamctl/db_sqlite/uac-create.sql @@ -13,6 +13,7 @@ CREATE TABLE uacreg ( expires INTEGER DEFAULT 0 NOT NULL, flags INTEGER DEFAULT 0 NOT NULL, reg_delay INTEGER DEFAULT 0 NOT NULL, + contact_addr VARCHAR(128) DEFAULT '' NOT NULL, socket VARCHAR(128) DEFAULT '' NOT NULL, CONSTRAINT uacreg_l_uuid_idx UNIQUE (l_uuid) ); diff --git a/utils/kamctl/dbtext/kamailio/uacreg b/utils/kamctl/dbtext/kamailio/uacreg index 52a0f92733b..952845c391c 100644 --- a/utils/kamctl/dbtext/kamailio/uacreg +++ b/utils/kamctl/dbtext/kamailio/uacreg @@ -1 +1 @@ -id(int,auto) l_uuid(string) l_username(string) l_domain(string) r_username(string) r_domain(string) realm(string) auth_username(string) auth_password(string) auth_ha1(string) auth_proxy(string) expires(int) flags(int) reg_delay(int) socket(string) +id(int,auto) l_uuid(string) l_username(string) l_domain(string) r_username(string) r_domain(string) realm(string) auth_username(string) auth_password(string) auth_ha1(string) auth_proxy(string) expires(int) flags(int) reg_delay(int) contact_addr(string) socket(string) diff --git a/utils/kamctl/mongodb/kamailio/uacreg.json b/utils/kamctl/mongodb/kamailio/uacreg.json index 6807a55ad5f..22df31d0277 100644 --- a/utils/kamctl/mongodb/kamailio/uacreg.json +++ b/utils/kamctl/mongodb/kamailio/uacreg.json @@ -72,6 +72,11 @@ "default": 0, "null": false }, + "contact_addr": { + "type": "string", + "default": "", + "null": false + }, "socket": { "type": "string", "default": "", diff --git a/utils/kamctl/mysql/uac-create.sql b/utils/kamctl/mysql/uac-create.sql index f7cac4ee606..b6c53f5dcfd 100644 --- a/utils/kamctl/mysql/uac-create.sql +++ b/utils/kamctl/mysql/uac-create.sql @@ -13,6 +13,7 @@ CREATE TABLE `uacreg` ( `expires` INT DEFAULT 0 NOT NULL, `flags` INT DEFAULT 0 NOT NULL, `reg_delay` INT DEFAULT 0 NOT NULL, + `contact_addr` VARCHAR(128) DEFAULT '' NOT NULL, `socket` VARCHAR(128) DEFAULT '' NOT NULL, CONSTRAINT l_uuid_idx UNIQUE (`l_uuid`) ); diff --git a/utils/kamctl/oracle/uac-create.sql b/utils/kamctl/oracle/uac-create.sql index 13ef3f70f54..fdad9316b10 100644 --- a/utils/kamctl/oracle/uac-create.sql +++ b/utils/kamctl/oracle/uac-create.sql @@ -13,6 +13,7 @@ CREATE TABLE uacreg ( expires NUMBER(10) DEFAULT 0 NOT NULL, flags NUMBER(10) DEFAULT 0 NOT NULL, reg_delay NUMBER(10) DEFAULT 0 NOT NULL, + contact_addr VARCHAR2(128) DEFAULT '', socket VARCHAR2(128) DEFAULT '', CONSTRAINT uacreg_l_uuid_idx UNIQUE (l_uuid) ); diff --git a/utils/kamctl/postgres/uac-create.sql b/utils/kamctl/postgres/uac-create.sql index 91c7244dda2..4fcce80f0e6 100644 --- a/utils/kamctl/postgres/uac-create.sql +++ b/utils/kamctl/postgres/uac-create.sql @@ -13,6 +13,7 @@ CREATE TABLE uacreg ( expires INTEGER DEFAULT 0 NOT NULL, flags INTEGER DEFAULT 0 NOT NULL, reg_delay INTEGER DEFAULT 0 NOT NULL, + contact_addr VARCHAR(128) DEFAULT '' NOT NULL, socket VARCHAR(128) DEFAULT '' NOT NULL, CONSTRAINT uacreg_l_uuid_idx UNIQUE (l_uuid) ); diff --git a/utils/kamctl/xhttp_pi/pi_framework.xml b/utils/kamctl/xhttp_pi/pi_framework.xml index b248176c52e..2b1314530c6 100644 --- a/utils/kamctl/xhttp_pi/pi_framework.xml +++ b/utils/kamctl/xhttp_pi/pi_framework.xml @@ -839,6 +839,7 @@ expiresDB1_INT flagsDB1_INT reg_delayDB1_INT + contact_addrDB1_STR socketDB1_STR @@ -4238,6 +4239,7 @@ expires flags reg_delay + contact_addr socket @@ -4258,6 +4260,7 @@ expires flags reg_delay + contact_addr socket @@ -4281,6 +4284,7 @@ expires flags reg_delay + contact_addr socket diff --git a/utils/kamctl/xhttp_pi/uac-mod b/utils/kamctl/xhttp_pi/uac-mod index 48520eb89e8..c1017f54022 100644 --- a/utils/kamctl/xhttp_pi/uac-mod +++ b/utils/kamctl/xhttp_pi/uac-mod @@ -18,6 +18,7 @@ expires flags reg_delay + contact_addr socket @@ -38,6 +39,7 @@ expires flags reg_delay + contact_addr socket @@ -61,6 +63,7 @@ expires flags reg_delay + contact_addr socket diff --git a/utils/kamctl/xhttp_pi/uac-table b/utils/kamctl/xhttp_pi/uac-table index 695a7671845..077ce4346cf 100644 --- a/utils/kamctl/xhttp_pi/uac-table +++ b/utils/kamctl/xhttp_pi/uac-table @@ -16,5 +16,6 @@ expiresDB1_INT flagsDB1_INT reg_delayDB1_INT + contact_addrDB1_STR socketDB1_STR