[SR-Users] Simulating kamailio config flows

Victor Seva linuxmaniac at torreviejawireless.org
Thu May 23 22:45:14 CEST 2013


2013/5/23 Daniel-Constantin Mierla <miconda at gmail.com>:
> First a general recommendation: try to avoid patching core that much for
> non-common use cases.

Sure. I was just trying to see how this could be done. I don't want to
mess with the core. :-)

[snip]

> At this moment, I think a good solution could be:
[snip]
> - update the interpreter to use pv cache instead of own spec per pv (I can
> do it, being in my list and hopefully is no big change)

I will try to do it myself just to get familliar with this area. Let's
see how it goes.

> - if this feature is enabled in debugger module, it will create a hash table
> where to index pv set functions by pointer and point to the cache item
> - this index has to be created in child_init with rank PROC_INIT to be sure
> all pvs were resolved to cache item

Sorry. But I don't get this. Can you, please, explain me the rationale
behind this hash table?.

Thank you for your help!

Cheers,
Victor



More information about the sr-users mailing list