[Users] #DEFINE equivalent?
Kanakatti Mahesh Subramanya
mahesh at aptela.com
Sat Aug 27 21:04:51 CEST 2005
Actually, thats exactly what I'm using right now.
Its just the difference 'tween m4'ing everything, vs. having some
limited de-referencing capability built into the config file.
Then again, now that I think about it, most everything that you can that
requires hard_coding values can also be done using AVPs in some form or
e.g. prefix(), strip(), etc. can be done through avpops.
The only one that I can't think of an easy work around is
So, short of some *very* fancy AVP logic, I guess that *that* would be
the only place where one woudl need to actively hardcode stuff and/or
I could live with that...
p.s. anybody thinking of AVPing record_route_preset()
Elena Ramona Modroiu wrote:
>you could try m4 macro processor http://www.gnu.org/software/m4/ .
>Kanakatti Mahesh Subramanya wrote:
>>It would be useful if we could DEFINE parameters in the .cfg file
>>and somewhere later in the file
>>Speaking as someone who has to manage openser.cfg instances across
>>multiple servers (not to mention test environments!), it would
>>certainly make my life a heck of a lot easier....
>>Users mailing list
>>Users at openser.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 332 bytes
Desc: not available
More information about the sr-users