[SR-Users] Build version in custom server_header
Asgaroth
00asgaroth00 at gmail.com
Thu Oct 20 15:55:21 CEST 2011
Hi All,
Is it possible to have the build/git version added in a custom
server_header/useragent_header? For example, my kamailio version is:
version: kamailio 3.2.0 (i386/linux) 94d3b8
if I had the following config options:
server_header="Server: Proxy"
useragent_header="User-Agent: Proxy"
Is it possible to do something like:
server_header="Server: Proxy ($buildver)"
useragent_header="User-Agent: Proxy ($buildver)"
Where "$buildver" is the build/git release (94d3b8)? I'm looking at the
core cookbook but I dont see anything that jumps out at me, is there a
variable that can do this?
Thanks
More information about the sr-users
mailing list