Module: kamailio
Branch: master
Commit: 4ae04d52d0bd33ee44222f5b7efeca18f52d6413
URL:
https://github.com/kamailio/kamailio/commit/4ae04d52d0bd33ee44222f5b7efeca1…
Author: ovoshlook <ovoshlook(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-09-09T13:15:27+02:00
lib/srdb1: added contact_addr column to uacreg table
---
Modified: src/lib/srdb1/schema/entities.xml
Modified: src/lib/srdb1/schema/uacreg.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/4ae04d52d0bd33ee44222f5b7efeca1…
Patch:
https://github.com/kamailio/kamailio/commit/4ae04d52d0bd33ee44222f5b7efeca1…
---
diff --git a/src/lib/srdb1/schema/entities.xml b/src/lib/srdb1/schema/entities.xml
index acd7028967..024851ec00 100644
--- a/src/lib/srdb1/schema/entities.xml
+++ b/src/lib/srdb1/schema/entities.xml
@@ -1,5 +1,6 @@
<!ENTITY user_len "64">
<!ENTITY domain_len "64">
+<!ENTITY contact_addr_len "128">
<!ENTITY socket_len "128">
<!ENTITY from_tag_len "128">
<!ENTITY to_tag_len "128">
diff --git a/src/lib/srdb1/schema/uacreg.xml b/src/lib/srdb1/schema/uacreg.xml
index bf967f2655..1da4d46f60 100644
--- a/src/lib/srdb1/schema/uacreg.xml
+++ b/src/lib/srdb1/schema/uacreg.xml
@@ -135,6 +135,14 @@
<description>Initial registration delay</description>
</column>
+ <column id="contact_addr">
+ <name>contact_addr</name>
+ <type>string</type>
+ <size>&contact_addr_len;</size>
+ <default/>
+ <description>Used contact_addr in contact header for sending out
requests,if not passed reg_contact_addr will be used instead</description>
+ </column>
+
<column id="socket">
<name>socket</name>
<type>string</type>