← Volver al índice de módulos

tsilo

This module provides transaction storage for the Kamailio SIP Server Platform. It stores in an internal table transactions for a Request-URI (R-URI) and adds branches to them later if new contacts for
🛠️ Utilidades y Varios Kamailio 6.1 4 parámetros 10 funciones

Descripción general

This module provides transaction storage for the Kamailio SIP Server Platform. It stores in an internal table transactions for a Request-URI (R-URI) and adds branches to them later if new contacts for the AOR are added. For each message, the module stores “Request-URI” (“R-URI”), URI and the internal transaction index and label. When a transaction is destroyed by the TM module, it is removed from the module's table too.

Documentación oficial: https://www.kamailio.org/docs/modules/stable/modules/tsilo.html
Código fuente: https://github.com/kamailio/kamailio/tree/master/src/modules/tsilo

Parámetros de configuración

ParámetroTipoDescripción
hash_size integer 3.2. use_domain (integer)
use_domain integer 3.1. hash_size (integer)
hash_size integer The size of the hash table internally used to keep the transaction. A larger table is much faster but consumes more memory. The hash size must be a power of two, otherwise it will be rounded down to t
use_domain integer Specify if the domain part of the URI should be also saved and used for storing and retrieving users' transactions. Useful in multi domain scenarios. Non 0 value means true.

Funciones exportadas

ts_store([uri])

4.2. ts_append(domain, ruri) 4.3. ts_append_by_contact(domain, ruri [, contact]) 4.4. ts_append_to(tindex, tlabel, domain, [uri]) 4.5. ts_append_branches(uri)

ts_append(domain, ruri)

4.3. ts_append_by_contact(domain, ruri [, contact]) 4.4. ts_append_to(tindex, tlabel, domain, [uri]) 4.5. ts_append_branches(uri)

ts_append_by_contact(domain, ruri [, contact])

4.4. ts_append_to(tindex, tlabel, domain, [uri]) 4.5. ts_append_branches(uri)

ts_append_to(tindex, tlabel, domain, [uri])

4.5. ts_append_branches(uri)

ts_append_branches(uri)

4.1. ts_store([uri])

ts_store([uri])

The method stores uri, tindex and tlabel of the current transaction. If the uri parameter is missing, then the value is taken from r-uri. The uri parameter can contain variables.

ts_append(domain, ruri)

The method add branches to all the stored transactions for the SIP ruri passed as parameter, performing a contact lookup on the table specified by the domain parameter. The method should be called when a REGISTER request is received.

ts_append_by_contact(domain, ruri [, contact])

Has almost the same intention as the ts_append(), but gives a possibility to append branches only for a specific location record (Contact URI). The contact's URI value can be either taken from the currently processed REGISTER or (optionally) given as

ts_append_to(tindex, tlabel, domain, [uri])

The method add branches to the transaction identified by tindex and tlabel, performing a contacts lookup on the table specified by the domain parameter. The method should be called when a REGISTER request is received.

ts_append_branches(uri)

Append the current internal branches to the transaction stored for the uri.

Autores y contribuidores

Federico Cabiddu <federico.cabiddu@gmail.com>Donat Zenichev <dzenichev@sipwise.com>

Copyright © 2015 Federico Cabiddu

Módulos relacionados

auth_web3 auth_xkeys avp avpops benchmark blst call_control call_obj