hi, good afternoon.
I'm testing Kamailio 6.0 on Debian 13 and I need to hide the network topology for a specific provider and keeping the contact header simple (topos.so style).
My topos.so config
loadmodule "topos_redis.so" loadmodule "topos.so" loadmodule "ndb_redis.so"
modparam("topos", "storage", "redis") modparam("ndb_redis", "server", "name=srv1;addr=127.0.0.1;port=6379;db=0") modparam("topos_redis", "serverid", "srv1") modparam("topos", "sanity_checks", 1) modparam("topos", "branch_expire", 3600) modparam("topos", "dialog_expire", 14400)
with this config in kamailio.log appears this issue (it's a migrated config from 5.4 version):
Dec 26 22:42:54 kamailio-sbc /usr/local/sbin/kamailio[61635]: ERROR: topos [tps_storage.c:663]: tps_storage_record(): failed to store (dlg: 0 dir: 0 metid: 512) Dec 26 22:42:54 kamailio-sbc /usr/local/sbin/kamailio[61636]: ERROR: topos_redis [topos_redis_storage.c:934]: tps_redis_load_branch(): not enough space for a_contact Dec 26 22:42:54 kamailio-sbc /usr/local/sbin/kamailio[61634]: ERROR: topos_redis [topos_redis_storage.c:934]: tps_redis_load_branch(): not enough space for a_contact Dec 26 22:42:54 kamailio-sbc /usr/local/sbin/kamailio[61633]: ERROR: topos_redis [topos_redis_storage.c:934]: tps_redis_load_branch(): not enough space for a_contact
I'm reading the documentation, but I don't see how to increase these values to avoid these errors.
Thank you and happy holidays
--------------------------------------- Ángel Elena Medina _o) craem@craem.net / \ http://diablo.craem.net _(___V @craem_ www.linkedin.com/in/angel-elena-medina --------------------------------------- Kopano Webapp.
Just FYI, there is now a TOPOS_HTABLE module that can sync between nodes using DMQ, removing the dependency on redis:
https://kamailio.org/docs/modules/stable/modules/topos_htable.html
I can't say if that will fix your problem or just produce different errors.
On Fri, Dec 26, 2025 at 2:34 PM Angel Elena via sr-users sr-users@lists.kamailio.org wrote:
hi, good afternoon.
I'm testing Kamailio 6.0 on Debian 13 and I need to hide the network topology for a specific provider and keeping the contact header simple (topos.so style).
My topos.so config
loadmodule "topos_redis.so" loadmodule "topos.so" loadmodule "ndb_redis.so"
modparam("topos", "storage", "redis") modparam("ndb_redis", "server", "name=srv1;addr=127.0.0.1;port=6379;db=0") modparam("topos_redis", "serverid", "srv1") modparam("topos", "sanity_checks", 1) modparam("topos", "branch_expire", 3600) modparam("topos", "dialog_expire", 14400)
with this config in kamailio.log appears this issue (it's a migrated config from 5.4 version):
Dec 26 22:42:54 kamailio-sbc /usr/local/sbin/kamailio[61635]: ERROR: topos [tps_storage.c:663]: tps_storage_record(): failed to store (dlg: 0 dir: 0 metid: 512) Dec 26 22:42:54 kamailio-sbc /usr/local/sbin/kamailio[61636]: ERROR: topos_redis [topos_redis_storage.c:934]: tps_redis_load_branch(): not enough space for a_contact Dec 26 22:42:54 kamailio-sbc /usr/local/sbin/kamailio[61634]: ERROR: topos_redis [topos_redis_storage.c:934]: tps_redis_load_branch(): not enough space for a_contact Dec 26 22:42:54 kamailio-sbc /usr/local/sbin/kamailio[61633]: ERROR: topos_redis [topos_redis_storage.c:934]: tps_redis_load_branch(): not enough space for a_contact
I'm reading the documentation, but I don't see how to increase these values to avoid these errors.
Thank you and happy holidays
Ángel Elena Medina _o) craem@craem.net / \ http://diablo.craem.net _(___V @craem_ www.linkedin.com/in/angel-elena-medina
Kopano Webapp. __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
oh!! thanks !
--------------------------------------- Ángel Elena Medina _o) craem@craem.net / \ http://diablo.craem.net _(___V @craem_ www.linkedin.com/in/angel-elena-medina --------------------------------------- Kopano Webapp.
-----Original message-----
From: Calvin E. calvine@gmail.com Sent: Sunday 28th December 2025 18:15 To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Cc: Angel Elena craem@craem.net Subject: Re: [SR-Users] topos-redis kamailio 6.x
Just FYI, there is now a TOPOS_HTABLE module that can sync between nodes using DMQ, removing the dependency on redis:
https://kamailio.org/docs/modules/stable/modules/topos_htable.html
I can't say if that will fix your problem or just produce different errors.
On Fri, Dec 26, 2025 at 2:34 PM Angel Elena via sr-users sr-users@lists.kamailio.org wrote:
hi, good afternoon.
I'm testing Kamailio 6.0 on Debian 13 and I need to hide the network topology
for a specific provider and keeping the contact header simple (topos.so style).
My topos.so config
loadmodule "topos_redis.so" loadmodule "topos.so" loadmodule "ndb_redis.so"
modparam("topos", "storage", "redis") modparam("ndb_redis", "server", "name=srv1;addr=127.0.0.1;port=6379;db=0") modparam("topos_redis", "serverid", "srv1") modparam("topos", "sanity_checks", 1) modparam("topos", "branch_expire", 3600) modparam("topos", "dialog_expire", 14400)
with this config in kamailio.log appears this issue (it's a migrated config
from 5.4 version):
Dec 26 22:42:54 kamailio-sbc /usr/local/sbin/kamailio[61635]: ERROR: topos
[tps_storage.c:663]: tps_storage_record(): failed to store (dlg: 0 dir: 0 metid: 512)
Dec 26 22:42:54 kamailio-sbc /usr/local/sbin/kamailio[61636]: ERROR: topos_redis
[topos_redis_storage.c:934]: tps_redis_load_branch(): not enough space for a_contact
Dec 26 22:42:54 kamailio-sbc /usr/local/sbin/kamailio[61634]: ERROR: topos_redis
[topos_redis_storage.c:934]: tps_redis_load_branch(): not enough space for a_contact
Dec 26 22:42:54 kamailio-sbc /usr/local/sbin/kamailio[61633]: ERROR: topos_redis
[topos_redis_storage.c:934]: tps_redis_load_branch(): not enough space for a_contact
I'm reading the documentation, but I don't see how to increase these values
to avoid these errors.
Thank you and happy holidays
Ángel Elena Medina _o) craem@craem.net / \ http://diablo.craem.net _(___V @craem_ www.linkedin.com/in/angel-elena-medina
Kopano Webapp. __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to
the sender!
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Hello,
do you have the SIP messages with a lot of/large routing headers (e.g., record-/route, via, ...)?
Cheers, Daniel
On 26.12.25 22:49, Angel Elena via sr-users wrote:
hi, good afternoon.
I'm testing Kamailio 6.0 on Debian 13 and I need to hide the network topology for a specific provider and keeping the contact header simple (topos.so style).
My topos.so config
loadmodule "topos_redis.so" loadmodule "topos.so" loadmodule "ndb_redis.so"
modparam("topos", "storage", "redis") modparam("ndb_redis", "server", "name=srv1;addr=127.0.0.1;port=6379;db=0") modparam("topos_redis", "serverid", "srv1") modparam("topos", "sanity_checks", 1) modparam("topos", "branch_expire", 3600) modparam("topos", "dialog_expire", 14400)
with this config in kamailio.log appears this issue (it's a migrated config from 5.4 version):
Dec 26 22:42:54 kamailio-sbc /usr/local/sbin/kamailio[61635]: ERROR: topos [tps_storage.c:663]: tps_storage_record(): failed to store (dlg: 0 dir: 0 metid: 512) Dec 26 22:42:54 kamailio-sbc /usr/local/sbin/kamailio[61636]: ERROR: topos_redis [topos_redis_storage.c:934]: tps_redis_load_branch(): not enough space for a_contact Dec 26 22:42:54 kamailio-sbc /usr/local/sbin/kamailio[61634]: ERROR: topos_redis [topos_redis_storage.c:934]: tps_redis_load_branch(): not enough space for a_contact Dec 26 22:42:54 kamailio-sbc /usr/local/sbin/kamailio[61633]: ERROR: topos_redis [topos_redis_storage.c:934]: tps_redis_load_branch(): not enough space for a_contact
I'm reading the documentation, but I don't see how to increase these values to avoid these errors.
Thank you and happy holidays
Ángel Elena Medina _o) craem@craem.net / \ http://diablo.craem.net _(___V @craem_ www.linkedin.com/in/angel-elena-medina
Kopano Webapp. __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!