<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
I run the same config on multiple boxes. Need to tell apart which
box CDR is coming from without setting it manually per-box.<br>
<br>
Is there a way to set a global variable to the output of linux
'hostname -s' command?<br>
<br>
E.g. instead of:<br>
<strike><X-PRE-PROCESS cmd="set" data="sbc_hostname=sbc1"/></strike><strike><br>
</strike><strike><X-PRE-PROCESS cmd="set"
data="sbc_hostname=sbc2"/></strike><strike><br>
</strike><strike>.....</strike><strike><br>
</strike><strike><X-PRE-PROCESS cmd="set"
data="sbc_hostname=sbcN"/></strike><strike><br>
</strike><br>
I need something like:<br>
<X-PRE-PROCESS cmd="set" data="'hostname -s'"/>\<br>
<br>
Thank you,<br>
-Victor<br>
</body>
</html>