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

Author: Flavio Grossi <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2026-07-01T08:26:41+02:00

lib/srdb1: added contact_user column to uacreg table

related to GH #4653

---

Modified: src/lib/srdb1/schema/entities.xml
Modified: src/lib/srdb1/schema/uacreg.xml

---

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

---

diff --git a/src/lib/srdb1/schema/entities.xml 
b/src/lib/srdb1/schema/entities.xml
index 8021e8e7389..37c149b5c2b 100644
--- a/src/lib/srdb1/schema/entities.xml
+++ b/src/lib/srdb1/schema/entities.xml
@@ -1,6 +1,7 @@
 <!ENTITY user_len "64">
 <!ENTITY domain_len "64">
 <!ENTITY contact_addr_len "255">
+<!ENTITY contact_user_len "255">
 <!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 59945fffaf3..0a30978df97 100644
--- a/src/lib/srdb1/schema/uacreg.xml
+++ b/src/lib/srdb1/schema/uacreg.xml
@@ -9,7 +9,7 @@
 
 <table id="uacreg" xmlns:db="http://docbook.org/ns/docbook";>
     <name>uacreg</name>
-    <version>5</version>
+    <version>6</version>
     <type db="db_mysql">&MYSQL_TABLE_TYPE;</type>
     <description>
                <db:para>
@@ -143,6 +143,14 @@
         <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="contact_user">
+        <name>contact_user</name>
+        <type>string</type>
+        <size>&contact_user_len;</size>
+        <default/>
+        <description>Contact user sent in the contact header for sending out 
requests, if not passed, it will use the l_uuid field</description>
+    </column>
+
     <column id="socket">
         <name>socket</name>
         <type>string</type>

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to