Re: topos-redis kamailio 6.x

"Calvin E. via sr-users" <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <CAC_jndoAUbJTbAHRqbVcAsL-0hcpNBWURAAvt48gkneOOfoStw@mail.gmail.com>
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
<[email protected]> 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)
> [email protected]            / \\
> http://diablo.craem.net  _(___V
> @craem_
> www.linkedin.com/in/angel-elena-medina
> ---------------------------------------
> Kopano Webapp.
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions -- [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!
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.