[sr-dev] TSILO or TMSILO or TM_SILO

Daniel-Constantin Mierla miconda at gmail.com
Wed Sep 17 13:09:29 CEST 2014


On 17/09/14 13:01, Olle E. Johansson wrote:
> On 17 Sep 2014, at 12:54, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
>
>> Hello,
>>
>> historically 'tm' stays for 'transaction management' -- the the x for the other module was for eXtensions.
>>
>> The new module doesn't really do any management of transaction, but store structures that include the id of transactions with custom info (at this moment an AoR). It has a completely different hash table in memory (so nothing new in tm structure). Internally it binds to tm to get some callbacks executed, but also to registrar module for getting access to new branches.
>>
>> Being in relation only with Transaction, storing some extra info for it, not sure the 'm' makes sense to add.
> The whole idea seems to be to manipulate a transaction - add a branch to an existing transaction, so the "m" certainly makes sense to me... ;-)
Well, somehow around that but not exactly :-) -- because the function 
doing that is in tm, added by commit: 
468a2c645f5fcb66376b81b06e69eb8f5377bb02

The tsilo module just calls it internally via tm api. The module is 
managing an internal hash table, acting on some callbacks from tm and 
calling functions from registrar and tm. There are many other modules 
calling functions from tm (e.g., dialog, msilo, ...).

But maybe the functions of the module should be renamed to use the 
prefix ts_ instead of t_.

Cheers,
Daniel

>
> Cheers,
> /O
>> Cheers,
>> Daniel
>>
>> On 17/09/14 12:36, Olle E. Johansson wrote:
>>> Hi!
>>>
>>> In the list of modules, I would like if TSILO appears after TM and TMX - which is why I would suggest
>>> we rename it to TM_SILO.
>>>
>>> http://kamailio.org/docs/modules/devel/
>>>
>>> /O
>>> _______________________________________________
>>> sr-dev mailing list
>>> sr-dev at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>> -- 
>> Daniel-Constantin Mierla
>> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>> Next Kamailio Advanced Trainings 2014 - http://www.asipto.com
>> Sep 22-25, Berlin, Germany
>>
>>
>> _______________________________________________
>> sr-dev mailing list
>> sr-dev at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 - http://www.asipto.com
Sep 22-25, Berlin, Germany




More information about the sr-dev mailing list