[OpenSER-Devel] cfgutils hashing file

Ramona Modroiu ramona at rosdev.ro
Mon Feb 4 09:27:29 UTC 2008


Hi,

I would like to add some new PV and cfgutils seems the right place in 
order to avoid overloading the core. Hope that is ok for you.

While reading the docs, I have seen the new function to hash the config 
file. I do not know if it is a general purpose function to hash a file, 
or it specifically targets openser config file. If second, you can get 
the path from cfg_file variable. There is an issue when the config file 
is not given with absolute path (via -f parameter). OpenSER changes the 
working dir to / if no other value is given and then the cfg_file is 
lost -- probable the core should save initial working directory path to 
solve this.

Best regards,
Ramona





More information about the Devel mailing list